Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-07-21 01:42:14

0001 #ifndef L1GlobalTrigger_L1GtObject_h
0002 #define L1GlobalTrigger_L1GtObject_h
0003 
0004 /**
0005  * \class L1GtObject
0006  *
0007  *
0008  * Description: define an enumeration of L1 GT objects.
0009  *
0010  * Implementation:
0011  *    <TODO: enter implementation details>
0012  *
0013  * \author: Vasile Mihai Ghete - HEPHY Vienna
0014  *
0015  *
0016  */
0017 
0018 // system include files
0019 #include <string>
0020 
0021 // user include files
0022 //   base class
0023 
0024 // forward declarations
0025 
0026 /// L1 GT objects
0027 ///    ObjNull catch all errors
0028 enum L1GtObject : unsigned int {
0029   Mu,
0030   NoIsoEG,
0031   IsoEG,
0032   CenJet,
0033   ForJet,
0034   TauJet,
0035   ETM,
0036   ETT,
0037   HTT,
0038   HTM,
0039   JetCounts,
0040   HfBitCounts,
0041   HfRingEtSums,
0042   TechTrig,
0043   Castor,
0044   BPTX,
0045   GtExternal,
0046   ObjNull
0047 };
0048 
0049 /// the string to enum and enum to string conversions for L1GtObject
0050 
0051 struct L1GtObjectStringToEnum {
0052   const char* label;
0053   L1GtObject value;
0054 };
0055 
0056 L1GtObject l1GtObjectStringToEnum(const std::string&);
0057 std::string l1GtObjectEnumToString(const L1GtObject&);
0058 
0059 #endif /*L1GlobalTrigger_L1GtObject_h*/