CMS 3D CMS Logo

L1GtVhdlDefinitions.cc
Go to the documentation of this file.
1 
15 // this class header
19 
20 // system include files
21 #include <string>
22 
23 // user include files
24 
25 // static class members
26 
27 const std::string L1GtVhdlDefinitions::vhdlTemplateAlgoAndOr_("pre_algo_and_or.vhd");
37 
40 
56 
79 
80 // constructor
82  objType2Str_[Mu] = "muon";
83  objType2Str_[NoIsoEG] = "eg";
84  objType2Str_[IsoEG] = "ieg";
85  objType2Str_[ForJet] = "fwdjet";
86  objType2Str_[TauJet] = "tau";
87  objType2Str_[CenJet] = "jet";
88  objType2Str_[JetCounts] = "jet_cnts";
89  objType2Str_[HTT] = "htt";
90  objType2Str_[ETT] = "ett";
91  objType2Str_[ETM] = "etm";
92 
93  condType2Str_[Type1s] = "1_s";
94  condType2Str_[Type2s] = "2_s";
95  condType2Str_[Type2wsc] = "2_wsc";
96  condType2Str_[Type3s] = "3";
97  condType2Str_[Type4s] = "4";
98  condType2Str_[Type2cor] = "Type2cor";
99  condType2Str_[TypeETM] = "cond";
100  condType2Str_[TypeETT] = "cond";
101  condType2Str_[TypeHTT] = "cond";
102  condType2Str_[TypeJetCounts] = "jet_cnts";
103 
104  caloType2Int_[IsoEG] = "0";
105  caloType2Int_[NoIsoEG] = "1";
106  caloType2Int_[CenJet] = "2";
107  caloType2Int_[TauJet] = "3";
108  caloType2Int_[ForJet] = "4";
109  caloType2Int_[Mu] = "5";
110  caloType2Int_[ETM] = "6";
111 }
112 
113 // destructor
115  // empty
116 }
117 
118 const std::map<L1GtObject, std::string> L1GtVhdlDefinitions::getObj2StrMap() { return objType2Str_; }
119 
120 const std::map<L1GtConditionType, std::string> L1GtVhdlDefinitions::getCond2StrMap() { return condType2Str_; }
121 
122 const std::map<L1GtObject, std::string> L1GtVhdlDefinitions::getCalo2IntMap() { return caloType2Int_; }
123 
125 
L1GtVhdlDefinitions.h
L1GtVhdlDefinitions::substParamEsumsDefVals_
static const std::string substParamEsumsDefVals_
Definition: L1GtVhdlDefinitions.h:86
L1GtVhdlDefinitions::vhdlTemplateCaloSetup_
static const std::string vhdlTemplateCaloSetup_
Definition: L1GtVhdlDefinitions.h:58
L1GtVhdlDefinitions::stringConstantQualityDefVal_
static const std::string stringConstantQualityDefVal_
Definition: L1GtVhdlDefinitions.h:101
L1GtVhdlDefinitions::substParamDefValId_
static const std::string substParamDefValId_
Definition: L1GtVhdlDefinitions.h:79
TypeJetCounts
Definition: L1GtDefinitions.h:16
L1GtVhdlDefinitions::stringConstantCharge1s_
static const std::string stringConstantCharge1s_
Definition: L1GtVhdlDefinitions.h:104
L1GtVhdlDefinitions::substParamAlgos_
static const std::string substParamAlgos_
Definition: L1GtVhdlDefinitions.h:75
ETM
Definition: L1GtObject.h:35
TypeETM
Definition: L1GtDefinitions.h:12
L1GtVhdlDefinitions::stringConstantCharge2wsc_
static const std::string stringConstantCharge2wsc_
Definition: L1GtVhdlDefinitions.h:106
L1GtVhdlDefinitions::vhdlTemplateEtmSetup_
static const std::string vhdlTemplateEtmSetup_
Definition: L1GtVhdlDefinitions.h:56
L1GtVhdlDefinitions::stringConstantCharge3s_
static const std::string stringConstantCharge3s_
Definition: L1GtVhdlDefinitions.h:107
L1GtVhdlDefinitions::objType2Str_
std::map< L1GtObject, std::string > objType2Str_
converts L1GtConditionType to firmware string
Definition: L1GtVhdlDefinitions.h:120
L1GtVhdlDefinitions::vhdlTemplateDefValPkg_
static const std::string vhdlTemplateDefValPkg_
Definition: L1GtVhdlDefinitions.h:55
L1GtVhdlDefinitions::substParamCaloOrMuon_
static const std::string substParamCaloOrMuon_
Definition: L1GtVhdlDefinitions.h:80
NoIsoEG
Definition: L1GtObject.h:30
L1GtVhdlDefinitions::getCond2StrMap
const std::map< L1GtConditionType, std::string > getCond2StrMap()
Definition: L1GtVhdlDefinitions.cc:120
IsoEG
Definition: L1GtObject.h:31
L1GtVhdlDefinitions::caloType2Int_
std::map< L1GtObject, std::string > caloType2Int_
converts L1GtObject to string
Definition: L1GtVhdlDefinitions.h:126
L1GtVhdlDefinitions::stringConstantConstantNr_
static const std::string stringConstantConstantNr_
Definition: L1GtVhdlDefinitions.h:96
TypeETT
Definition: L1GtDefinitions.h:13
L1GtVhdlDefinitions::substParamParticle_
static const std::string substParamParticle_
Definition: L1GtVhdlDefinitions.h:76
L1GtVhdlDefinitions::~L1GtVhdlDefinitions
virtual ~L1GtVhdlDefinitions()
destructor
Definition: L1GtVhdlDefinitions.cc:114
L1GtVhdlDefinitions::stringConstantAlgo_
static const std::string stringConstantAlgo_
Definition: L1GtVhdlDefinitions.h:93
L1GtVhdlDefinitions::vhdlTemplateMuonSetup_
static const std::string vhdlTemplateMuonSetup_
Definition: L1GtVhdlDefinitions.h:57
L1GtVhdlDefinitions::substParamDefValType_
static const std::string substParamDefValType_
Definition: L1GtVhdlDefinitions.h:83
L1GtVhdlDefinitions::stringConstantEsumsHigh_
static const std::string stringConstantEsumsHigh_
Definition: L1GtVhdlDefinitions.h:113
HTT
Definition: L1GtObject.h:37
L1GtVhdlDefinitions::stringConstantCharge4s_
static const std::string stringConstantCharge4s_
Definition: L1GtVhdlDefinitions.h:108
L1GtVhdlDefinitions::outputSubDir1_
static const std::string outputSubDir1_
Definition: L1GtVhdlDefinitions.h:66
L1GtVhdlDefinitions::stringConstantQuality_
static const std::string stringConstantQuality_
Definition: L1GtVhdlDefinitions.h:114
CenJet
Definition: L1GtObject.h:32
L1GtVhdlDefinitions::quartusSetupFileChip1_
static const std::string quartusSetupFileChip1_
Definition: L1GtVhdlDefinitions.h:61
L1GtVhdlDefinitions::stringConstantCalo_
static const std::string stringConstantCalo_
Definition: L1GtVhdlDefinitions.h:103
L1GtVhdlDefinitions::getObj2StrMap
const std::map< L1GtObject, std::string > getObj2StrMap()
Definition: L1GtVhdlDefinitions.cc:118
L1GtVhdlDefinitions::L1GtVhdlDefinitions
L1GtVhdlDefinitions()
constructor
Definition: L1GtVhdlDefinitions.cc:81
L1GtVhdlDefinitions::outputSubDir2_
static const std::string outputSubDir2_
Definition: L1GtVhdlDefinitions.h:67
L1GtConditionType
L1GtConditionType
Definition: L1GtDefinitions.h:4
L1GtVhdlDefinitions::quartusSetupFileChip2_
static const std::string quartusSetupFileChip2_
Definition: L1GtVhdlDefinitions.h:62
L1GtVhdlDefinitions::vhdlTemplateCondChip_
static const std::string vhdlTemplateCondChip_
Definition: L1GtVhdlDefinitions.h:54
TauJet
Definition: L1GtObject.h:34
L1GtVhdlDefinitions::stringConstantEsumsLow_
static const std::string stringConstantEsumsLow_
Definition: L1GtVhdlDefinitions.h:112
Type2wsc
Definition: L1GtDefinitions.h:8
L1GtVhdlDefinitions::stringConstantPtLowDefVal_
static const std::string stringConstantPtLowDefVal_
Definition: L1GtVhdlDefinitions.h:99
L1GtVhdlDefinitions::vhdlTemplateCondChipPkg1_
static const std::string vhdlTemplateCondChipPkg1_
Definition: L1GtVhdlDefinitions.h:59
L1GtVhdlDefinitions::vhdlTemplateCondChipPkg2_
static const std::string vhdlTemplateCondChipPkg2_
Definition: L1GtVhdlDefinitions.h:60
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
L1GtVhdlDefinitions::substParamJetsDefVals_
static const std::string substParamJetsDefVals_
Definition: L1GtVhdlDefinitions.h:87
Type3s
Definition: L1GtDefinitions.h:10
L1GtVhdlDefinitions::obj2str
std::string obj2str(const L1GtObject &type)
converts object type to firmware string
Definition: L1GtVhdlDefinitions.cc:124
L1GtFwd.h
ETT
Definition: L1GtObject.h:36
L1GtVhdlDefinitions::stringConstantPtl_
static const std::string stringConstantPtl_
Definition: L1GtVhdlDefinitions.h:110
L1GtVhdlDefinitions::substParamOthers_
static const std::string substParamOthers_
Definition: L1GtVhdlDefinitions.h:82
L1GtVhdlDefinitions::substParamJetCntsCommon_
static const std::string substParamJetCntsCommon_
Definition: L1GtVhdlDefinitions.h:89
L1GtVhdlDefinitions::substParamCaloDefVals_
static const std::string substParamCaloDefVals_
Definition: L1GtVhdlDefinitions.h:85
L1GtVhdlDefinitions::stringConstantEsumsLowDefVal_
static const std::string stringConstantEsumsLowDefVal_
Definition: L1GtVhdlDefinitions.h:97
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Mu
Definition: L1GtObject.h:29
Type2cor
Definition: L1GtDefinitions.h:9
Type1s
Definition: L1GtDefinitions.h:6
L1GtVhdlDefinitions::vhdlTemplateAlgoAndOr_
static const std::string vhdlTemplateAlgoAndOr_
Definition: L1GtVhdlDefinitions.h:53
L1GtVhdlDefinitions::stringConstantEsumsLHighDefVal_
static const std::string stringConstantEsumsLHighDefVal_
Definition: L1GtVhdlDefinitions.h:98
L1GtVhdlDefinitions::stringConstantPth_
static const std::string stringConstantPth_
Definition: L1GtVhdlDefinitions.h:111
L1GtVhdlDefinitions::substParamMaxNr_
static const std::string substParamMaxNr_
Definition: L1GtVhdlDefinitions.h:78
Type2s
Definition: L1GtDefinitions.h:7
Type4s
Definition: L1GtDefinitions.h:11
ForJet
Definition: L1GtObject.h:33
JetCounts
Definition: L1GtObject.h:39
L1GtVhdlDefinitions::type2str
std::string type2str(const L1GtConditionType &type)
converts a condition type to firmware string
Definition: L1GtVhdlDefinitions.cc:126
L1GtVhdlDefinitions::substParamType_
static const std::string substParamType_
Definition: L1GtVhdlDefinitions.h:77
L1GtVhdlDefinitions::substParamCharge_
static const std::string substParamCharge_
Definition: L1GtVhdlDefinitions.h:88
L1GtVhdlDefinitions::getCalo2IntMap
const std::map< L1GtObject, std::string > getCalo2IntMap()
Definition: L1GtVhdlDefinitions.cc:122
L1GtVhdlDefinitions::substParamMuonDefVals_
static const std::string substParamMuonDefVals_
Definition: L1GtVhdlDefinitions.h:84
L1GtVhdlDefinitions::stringConstantDefValId_
static const std::string stringConstantDefValId_
Definition: L1GtVhdlDefinitions.h:94
L1GtTriggerMenuFwd.h
L1GtVhdlDefinitions::stringConstantPtHighDefVal_
static const std::string stringConstantPtHighDefVal_
Definition: L1GtVhdlDefinitions.h:100
L1GtVhdlDefinitions::stringConstantCommon_
static const std::string stringConstantCommon_
Definition: L1GtVhdlDefinitions.h:109
L1GtVhdlDefinitions::substParamContent_
static const std::string substParamContent_
Definition: L1GtVhdlDefinitions.h:81
L1GtVhdlDefinitions::condType2Str_
std::map< L1GtConditionType, std::string > condType2Str_
converts L1GtObject to calo_nr
Definition: L1GtVhdlDefinitions.h:123
L1GtVhdlDefinitions::stringConstantQuargeDefVal_
static const std::string stringConstantQuargeDefVal_
Definition: L1GtVhdlDefinitions.h:102
L1GtVhdlDefinitions::stringConstantJetCountsDefVal_
static const std::string stringConstantJetCountsDefVal_
Definition: L1GtVhdlDefinitions.h:95
L1GtObject
TypeHTT
Definition: L1GtDefinitions.h:14
L1GtVhdlDefinitions::stringConstantCharge2s_
static const std::string stringConstantCharge2s_
Definition: L1GtVhdlDefinitions.h:105