Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-12-08 23:57:45

0001 #ifndef DataFormats_L1TGlobal_GlobalObject_h
0002 #define DataFormats_L1TGlobal_GlobalObject_h
0003 
0004 // system include files
0005 #include <string>
0006 
0007 namespace l1t {
0008 
0009   // user include files
0010   //   base class
0011 
0012   // forward declarations
0013 
0014   /// L1 GT objects
0015   ///    ObjNull catch all errors
0016   enum GlobalObject {
0017     gtMu,
0018     gtMuShower,
0019     gtEG,
0020     gtJet,
0021     gtTau,
0022     gtETM,
0023     gtETT,
0024     gtHTT,
0025     gtHTM,
0026     gtETMHF,
0027     gtTowerCount,
0028     gtMinBiasHFP0,
0029     gtMinBiasHFM0,
0030     gtMinBiasHFP1,
0031     gtMinBiasHFM1,
0032     gtETTem,
0033     gtAsymmetryEt,
0034     gtAsymmetryHt,
0035     gtAsymmetryEtHF,
0036     gtAsymmetryHtHF,
0037     gtCentrality0,
0038     gtCentrality1,
0039     gtCentrality2,
0040     gtCentrality3,
0041     gtCentrality4,
0042     gtCentrality5,
0043     gtCentrality6,
0044     gtCentrality7,
0045     gtExternal,
0046     ObjNull
0047   };
0048 
0049   /// the string to enum and enum to string conversions for GlobalObject
0050 
0051   struct L1TGtObjectStringToEnum {
0052     const char* label;
0053     GlobalObject value;
0054   };
0055 
0056   l1t::GlobalObject l1TGtObjectStringToEnum(const std::string&);
0057   std::string l1TGtObjectEnumToString(const GlobalObject&);
0058 
0059 }  // namespace l1t
0060 
0061 #endif