CMS 3D CMS Logo

CMSSW_4_4_3_patch1/src/CondFormats/L1TObjects/interface/L1GtDefinitions.h

Go to the documentation of this file.
00001 #ifndef CondFormats_L1TObjects_L1GtDefinitions_h
00002 #define CondFormats_L1TObjects_L1GtDefinitions_h
00003 
00021 // system include files
00022 #include <string>
00023 
00024 // user include files
00025 
00026 
00028 enum L1GtBoardType {
00029     GTFE,
00030     FDL,
00031     PSB,
00032     GMT,
00033     TCS,
00034     TIM,
00035     BoardNull
00036 };
00037 
00038 struct L1GtBoardTypeStringToEnum {
00039     const char* label;
00040     L1GtBoardType value;
00041 };
00042 
00043 L1GtBoardType l1GtBoardTypeStringToEnum(const std::string&);
00044 std::string l1GtBoardTypeEnumToString(const L1GtBoardType&);
00045 
00047 enum L1GtPsbQuad {
00048     Free,
00049     TechTr,
00050     IsoEGQ,
00051     NoIsoEGQ,
00052     CenJetQ,
00053     ForJetQ,
00054     TauJetQ,
00055     ESumsQ,
00056     JetCountsQ,
00057     MQB1,
00058     MQB2,
00059     MQF3,
00060     MQF4,
00061     MQB5,
00062     MQB6,
00063     MQF7,
00064     MQF8,
00065     MQB9,
00066     MQB10,
00067     MQF11,
00068     MQF12,
00069     CastorQ,
00070     HfQ,
00071     BptxQ,
00072     GtExternalQ,
00073     PsbQuadNull
00074 };
00075 
00076 struct L1GtPsbQuadStringToEnum {
00077     const char* label;
00078     L1GtPsbQuad value;
00079 };
00080 
00081 L1GtPsbQuad l1GtPsbQuadStringToEnum(const std::string&);
00082 std::string l1GtPsbQuadEnumToString(const L1GtPsbQuad&);
00083 
00099 enum L1GtConditionType {
00100     TypeNull,
00101     Type1s,
00102     Type2s,
00103     Type2wsc,
00104     Type2cor,
00105     Type3s,
00106     Type4s,
00107     TypeETM,
00108     TypeETT,
00109     TypeHTT,
00110     TypeHTM,
00111     TypeJetCounts,
00112     TypeCastor,
00113     TypeHfBitCounts,
00114     TypeHfRingEtSums,
00115     TypeBptx,
00116     TypeExternal
00117 };
00118 
00119 struct L1GtConditionTypeStringToEnum {
00120     const char* label;
00121     L1GtConditionType value;
00122 };
00123 
00124 L1GtConditionType l1GtConditionTypeStringToEnum(const std::string&);
00125 std::string l1GtConditionTypeEnumToString(const L1GtConditionType&);
00126 
00128 enum L1GtConditionCategory {
00129     CondNull,
00130     CondMuon,
00131     CondCalo,
00132     CondEnergySum,
00133     CondJetCounts,
00134     CondCorrelation,
00135     CondCastor,
00136     CondHfBitCounts,
00137     CondHfRingEtSums,
00138     CondBptx,
00139     CondExternal
00140 };
00141 
00142 struct L1GtConditionCategoryStringToEnum {
00143     const char* label;
00144     L1GtConditionCategory value;
00145 };
00146 
00147 
00148 L1GtConditionCategory l1GtConditionCategoryStringToEnum(const std::string&);
00149 std::string l1GtConditionCategoryEnumToString(const L1GtConditionCategory&);
00150 
00151 #endif