SusyNtuple
|
00001 // -*- c++ -*- 00002 #ifndef SUSY_ELECTRONID_H 00003 #define SUSY_ELECTRONID_H 00004 00005 #include <string> 00006 00007 namespace Susy 00008 { 00009 00010 enum ElectronId { 00011 TightLH=0 00012 ,MediumLH 00013 ,LooseLH 00014 ,VeryLooseLH 00015 ,TightLH_nod0 00016 ,MediumLH_nod0 00017 ,LooseLH_nod0 00018 ,ElectronIdInvalid 00019 }; 00020 00022 std::string ElectronId2str(const ElectronId &e); 00023 00024 // static const ElectronId ElectronId_first() { return ElectronId::TightLH; } 00025 // static const ElectronId ElectronId_last() { return ElectronId::ElectronIdInvalid; } 00026 // /// assumes consecutive values without gaps 00027 // // static const size_t ElectronId_num_values = (1 + static_cast<size_t>(ElectronId_last()) - static_cast<size_t>(ElectronId_first())); 00028 00029 } // Susy 00030 #endif