CMS 3D CMS Logo

L1GtTriggerMenuConfigOnlineProd.h
Go to the documentation of this file.
1 #ifndef L1GtConfigProducers_L1GtTriggerMenuConfigOnlineProd_h
2 #define L1GtConfigProducers_L1GtTriggerMenuConfigOnlineProd_h
3 
18 // system include files
19 #include "boost/lexical_cast.hpp"
20 
21 #include <memory>
22 #include <string>
23 #include <vector>
24 #include <iomanip>
25 #include <iostream>
26 
27 // user include files
28 // base class
30 
33 
44 
45 // forward declarations
46 
47 // class declaration
48 class L1GtTriggerMenuConfigOnlineProd : public L1ConfigOnlineProdBase<L1GtTriggerMenuRcd, L1GtTriggerMenu> {
49 public:
52 
55 
57  std::unique_ptr<L1GtTriggerMenu> newObject(const std::string& objectKey) override;
58 
60  void init(const int numberConditionChips);
61 
62 private:
64 
70  };
71 
72  struct TableMenuAlgo {
73  short bitNumberSh;
77  };
78 
80  short bitNumberSh;
81  float condIndexF;
83  };
84 
85  struct TableMenuCond {
91  bool condGEq;
92  short countIndex;
94 
95  // Oracle / Coral pretends that chargeCorrelation is bool in OMDS
96  // can not be - it has three values...
97  // but it reads/writes correctly the numerical value from OMDS (1, 2...)
105  };
106 
111  bool enableMip;
112  bool enableIso;
115  float etThreshold;
118  short phiHigh;
119  short phiLow;
121  bool charge;
122  };
123 
125  short bitNumberSh;
127  };
128 
130 
132  bool tableMenuGeneralFromDB(const std::string& gtSchema, const std::string& objKey);
133 
135  bool tableMenuAlgoFromDB(const std::string& gtSchema, const std::string& objKey);
136 
138  bool tableMenuAlgoCondFromDB(const std::string& gtSchema, const std::string& objKey);
139 
141  bool tableMenuCondFromDB(const std::string& gtSchema, const std::string& objKey);
142 
144  bool tableMenuObjectParametersFromDB(const std::string& gtSchema, const std::string& objKey);
145 
147  bool tableMenuTechTrigFromDB(const std::string& gtSchema, const std::string& objKey);
148 
149 private:
152  const std::map<int, std::string> condIndexNameMap(const short bitNr) const;
153 
155  std::string convertLogicalExpression(const std::string&, const std::map<int, std::string>&) const;
156 
158  int chipNumber(short) const;
159 
161  void buildAlgorithmMap();
162 
165 
168 
171 
173  L1GtObject strToEnumL1GtObject(const std::string& strObject);
174 
176  void splitHexStringInTwo64bitWords(const std::string& hexStr, std::string& hex0WordStr, std::string& hex1WordStr);
177 
179  std::list<int> listChipNumber(const std::string&);
180 
182  void addMuonCondition(const TableMenuCond&);
183 
185  void addCaloCondition(const TableMenuCond&);
186 
187  void fillEnergySumObjectParameter(const std::string& opFK,
189  const L1GtObject&);
191 
195  void addCastorCondition(const TableMenuCond&);
196  void addBptxCondition(const TableMenuCond&);
197  void addExternalCondition(const TableMenuCond&);
199 
201  void addConditions();
202 
203 private:
204  template <typename Result, typename Source>
205  Result lexical_cast_from_hex(Source& value) const;
206 
207 private:
209 
211  std::vector<TableMenuAlgo> m_tableMenuAlgo;
212  std::vector<TableMenuAlgoCond> m_tableMenuAlgoCond;
213  std::vector<TableMenuCond> m_tableMenuCond;
214  std::vector<TableMenuObjectParameters> m_tableMenuObjectParameters;
215  std::vector<TableMenuTechTrig> m_tableMenuTechTrig;
216 
217 private:
219 
224 
227 
230  std::vector<std::vector<L1GtMuonTemplate> > m_vecMuonTemplate;
231  std::vector<std::vector<L1GtCaloTemplate> > m_vecCaloTemplate;
232  std::vector<std::vector<L1GtEnergySumTemplate> > m_vecEnergySumTemplate;
233  std::vector<std::vector<L1GtJetCountsTemplate> > m_vecJetCountsTemplate;
234  std::vector<std::vector<L1GtCastorTemplate> > m_vecCastorTemplate;
235  std::vector<std::vector<L1GtHfBitCountsTemplate> > m_vecHfBitCountsTemplate;
236  std::vector<std::vector<L1GtHfRingEtSumsTemplate> > m_vecHfRingEtSumsTemplate;
237  std::vector<std::vector<L1GtBptxTemplate> > m_vecBptxTemplate;
238  std::vector<std::vector<L1GtExternalTemplate> > m_vecExternalTemplate;
239 
240  std::vector<std::vector<L1GtCorrelationTemplate> > m_vecCorrelationTemplate;
241  std::vector<std::vector<L1GtMuonTemplate> > m_corMuonTemplate;
242  std::vector<std::vector<L1GtCaloTemplate> > m_corCaloTemplate;
243  std::vector<std::vector<L1GtEnergySumTemplate> > m_corEnergySumTemplate;
244 
247 
250 
253 
254 private:
256 };
257 
258 template <typename Result, typename Source>
260  std::stringstream convertor;
261  convertor << value;
262 
263  Result result;
264  if (!(convertor >> std::hex >> result) || !convertor.eof()) {
265  throw boost::bad_lexical_cast();
266  }
267 
268  return result;
269 }
270 
271 #endif
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::ptHighThreshold
short ptHighThreshold
Definition: L1GtTriggerMenuConfigOnlineProd.h:109
L1GtTriggerMenuConfigOnlineProd::m_tableMenuTechTrig
std::vector< TableMenuTechTrig > m_tableMenuTechTrig
Definition: L1GtTriggerMenuConfigOnlineProd.h:215
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter2FK
std::string objectParameter2FK
Definition: L1GtTriggerMenuConfigOnlineProd.h:100
L1GtTriggerMenuConfigOnlineProd::addBptxCondition
void addBptxCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1366
L1GtTriggerMenuConfigOnlineProd::init
void init(const int numberConditionChips)
initialize the class (mainly reserve/resize)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:53
L1GtTriggerMenu.h
L1GtTriggerMenuConfigOnlineProd::condIndexNameMap
const std::map< int, std::string > condIndexNameMap(const short bitNr) const
Definition: L1GtTriggerMenuConfigOnlineProd.cc:664
L1GtTriggerMenuConfigOnlineProd::fillCaloObjectParameter
void fillCaloObjectParameter(const std::string &opFK, L1GtCaloTemplate::ObjectParameter &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1039
L1GtTriggerMenuConfigOnlineProd::addExternalCondition
void addExternalCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1406
L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoCondFromDB
bool tableMenuAlgoCondFromDB(const std::string &gtSchema, const std::string &objKey)
retrieve table with conditions associated to physics algorithms from DB
Definition: L1GtTriggerMenuConfigOnlineProd.cc:308
L1GtTriggerMenuConfigOnlineProd::strToEnumCondType
L1GtConditionType strToEnumCondType(const std::string &strType)
string to enum L1GtConditionType conversion
Definition: L1GtTriggerMenuConfigOnlineProd.cc:807
L1GtTriggerMenuConfigOnlineProd::listChipNumber
std::list< int > listChipNumber(const std::string &)
get a list of chip numbers from the m_tableMenuAlgoCond table for a condition
Definition: L1GtTriggerMenuConfigOnlineProd.cc:928
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::opId
std::string opId
Definition: L1GtTriggerMenuConfigOnlineProd.h:108
L1GtTriggerMenuConfigOnlineProd::m_algorithmAliasMap
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
Definition: L1GtTriggerMenuConfigOnlineProd.h:249
L1GtTriggerMenuConfigOnlineProd::lexical_cast_from_hex
Result lexical_cast_from_hex(Source &value) const
Definition: L1GtTriggerMenuConfigOnlineProd.h:259
L1GtTriggerMenuConfigOnlineProd::m_vecHfBitCountsTemplate
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:235
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::ptLowThreshold
short ptLowThreshold
Definition: L1GtTriggerMenuConfigOnlineProd.h:110
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond
Definition: L1GtTriggerMenuConfigOnlineProd.h:79
L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral
define simple structures to get the tables from DB
Definition: L1GtTriggerMenuConfigOnlineProd.h:65
L1GtTriggerMenuConfigOnlineProd::m_vecBptxTemplate
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:237
L1GtTriggerMenuConfigOnlineProd
Definition: L1GtTriggerMenuConfigOnlineProd.h:48
L1GtCaloTemplate.h
L1GtTriggerMenuConfigOnlineProd::m_vecCorrelationTemplate
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:240
L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::scalesKey
std::string scalesKey
Definition: L1GtTriggerMenuConfigOnlineProd.h:69
L1GtMuonTemplate::ObjectParameter
Definition: L1GtMuonTemplate.h:56
L1GtTriggerMenuConfigOnlineProd::strToEnumL1GtObject
L1GtObject strToEnumL1GtObject(const std::string &strObject)
string to enum L1GtObject conversion
Definition: L1GtTriggerMenuConfigOnlineProd.cc:851
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo
Definition: L1GtTriggerMenuConfigOnlineProd.h:72
L1GtTriggerMenuRcd.h
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::qualityRange
std::string qualityRange
Definition: L1GtTriggerMenuConfigOnlineProd.h:120
L1GtTriggerMenuConfigOnlineProd::newObject
std::unique_ptr< L1GtTriggerMenu > newObject(const std::string &objectKey) override
public methods
Definition: L1GtTriggerMenuConfigOnlineProd.cc:73
L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::algoImplTag
std::string algoImplTag
Definition: L1GtTriggerMenuConfigOnlineProd.h:68
L1GtTriggerMenuConfigOnlineProd::strToEnumCondCategory
L1GtConditionCategory strToEnumCondCategory(const std::string &strCategory)
string to enum L1GtConditionCategory conversion
Definition: L1GtTriggerMenuConfigOnlineProd.cc:773
L1GtTriggerMenuConfigOnlineProd::tableMenuObjectParametersFromDB
bool tableMenuObjectParametersFromDB(const std::string &gtSchema, const std::string &objKey)
retrieve table with object parameters from DB
Definition: L1GtTriggerMenuConfigOnlineProd.cc:492
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::condFK
std::string condFK
Definition: L1GtTriggerMenuConfigOnlineProd.h:82
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject1
std::string gtObject1
Definition: L1GtTriggerMenuConfigOnlineProd.h:89
L1GtCaloTemplate::ObjectParameter
typedef for a single object template
Definition: L1GtCaloTemplate.h:56
L1GtTriggerMenuConfigOnlineProd::m_tableMenuAlgo
std::vector< TableMenuAlgo > m_tableMenuAlgo
Definition: L1GtTriggerMenuConfigOnlineProd.h:211
L1GtTriggerMenuConfigOnlineProd::m_vecJetCountsTemplate
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:233
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::etaRange
std::string etaRange
Definition: L1GtTriggerMenuConfigOnlineProd.h:116
L1GtTriggerMenuConfigOnlineProd::m_corMuonTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:241
L1GtConditionType
L1GtConditionType
Definition: L1GtDefinitions.h:91
L1GtTriggerMenuConfigOnlineProd::L1GtTriggerMenuConfigOnlineProd
L1GtTriggerMenuConfigOnlineProd(const edm::ParameterSet &)
constructor
Definition: L1GtTriggerMenuConfigOnlineProd.cc:40
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters
Definition: L1GtTriggerMenuConfigOnlineProd.h:107
L1ConfigOnlineProdBase
Definition: L1ConfigOnlineProdBase.h:52
L1GtTriggerMenuConfigOnlineProd::addHfBitCountsCondition
void addHfBitCountsCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1238
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::requestIso
bool requestIso
Definition: L1GtTriggerMenuConfigOnlineProd.h:113
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countIndex
short countIndex
Definition: L1GtTriggerMenuConfigOnlineProd.h:92
L1GtTriggerMenuConfigOnlineProd::addJetCountsCondition
void addJetCountsCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1193
L1GtTriggerMenuConfigOnlineProd::fillEnergySumObjectParameter
void fillEnergySumObjectParameter(const std::string &opFK, L1GtEnergySumTemplate::ObjectParameter &, const L1GtObject &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1122
L1GtTriggerMenuConfigOnlineProd::m_isDebugEnabled
bool m_isDebugEnabled
Definition: L1GtTriggerMenuConfigOnlineProd.h:255
L1GtCorrelationTemplate.h
L1GtTriggerMenuConfigOnlineProd::TableMenuTechTrig::bitNumberSh
short bitNumberSh
Definition: L1GtTriggerMenuConfigOnlineProd.h:125
L1GtTriggerMenuConfigOnlineProd::addHfRingEtSumsCondition
void addHfRingEtSumsCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1282
L1GtTriggerMenuConfigOnlineProd::tableMenuGeneralFromDB
bool tableMenuGeneralFromDB(const std::string &gtSchema, const std::string &objKey)
methods to retrieve the tables from DB
Definition: L1GtTriggerMenuConfigOnlineProd.cc:177
L1GtTriggerMenuConfigOnlineProd::m_triggerMenuName
std::string m_triggerMenuName
Definition: L1GtTriggerMenuConfigOnlineProd.h:222
L1GtTriggerMenuConfigOnlineProd::TableMenuTechTrig
Definition: L1GtTriggerMenuConfigOnlineProd.h:124
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::bitNumberSh
short bitNumberSh
Definition: L1GtTriggerMenuConfigOnlineProd.h:73
L1GtTriggerMenuConfigOnlineProd::addCorrelationCondition
void addCorrelationCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1446
L1GtTriggerMenuConfigOnlineProd::TableMenuTechTrig::techName
std::string techName
Definition: L1GtTriggerMenuConfigOnlineProd.h:126
AlgorithmMap
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
Definition: L1GtTriggerMenuFwd.h:31
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::bitNumberSh
short bitNumberSh
Definition: L1GtTriggerMenuConfigOnlineProd.h:80
L1GtCastorTemplate.h
L1GtConditionCategory
L1GtConditionCategory
condition categories
Definition: L1GtDefinitions.h:121
L1GtJetCountsTemplate.h
L1GtTriggerMenuConfigOnlineProd::m_triggerMenuInterface
std::string m_triggerMenuInterface
menu representation
Definition: L1GtTriggerMenuConfigOnlineProd.h:221
L1GtTriggerMenuConfigOnlineProd::m_vecHfRingEtSumsTemplate
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:236
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
L1GtTriggerMenuConfigOnlineProd::fillMuonObjectParameter
void fillMuonObjectParameter(const std::string &opFK, L1GtMuonTemplate::ObjectParameter &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:944
L1GtEnergySumTemplate::ObjectParameter
typedef for a single object template
Definition: L1GtEnergySumTemplate.h:56
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiLow
short phiLow
Definition: L1GtTriggerMenuConfigOnlineProd.h:119
L1GtTriggerMenuConfigOnlineProd::splitHexStringInTwo64bitWords
void splitHexStringInTwo64bitWords(const std::string &hexStr, std::string &hex0WordStr, std::string &hex1WordStr)
split a hex string in two 64-bit words returned as hex strings
Definition: L1GtTriggerMenuConfigOnlineProd.cc:897
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condCategory
std::string condCategory
Definition: L1GtTriggerMenuConfigOnlineProd.h:87
L1GtTriggerMenuConfigOnlineProd::m_triggerMenuImplementation
std::string m_triggerMenuImplementation
Definition: L1GtTriggerMenuConfigOnlineProd.h:223
edm::ParameterSet
Definition: ParameterSet.h:36
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::enableMip
bool enableMip
Definition: L1GtTriggerMenuConfigOnlineProd.h:111
L1GtTriggerMenuConfigOnlineProd::tableMenuTechTrigFromDB
bool tableMenuTechTrigFromDB(const std::string &gtSchema, const std::string &objKey)
retrieve table with technical triggers from DB
Definition: L1GtTriggerMenuConfigOnlineProd.cc:598
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter1FK
std::string objectParameter1FK
Definition: L1GtTriggerMenuConfigOnlineProd.h:99
L1GtTriggerMenuConfigOnlineProd::m_technicalTriggerMap
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
Definition: L1GtTriggerMenuConfigOnlineProd.h:252
L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuInterface
std::string menuInterface
Definition: L1GtTriggerMenuConfigOnlineProd.h:66
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaEtaRange
std::string deltaEtaRange
Definition: L1GtTriggerMenuConfigOnlineProd.h:103
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter4FK
std::string objectParameter4FK
Definition: L1GtTriggerMenuConfigOnlineProd.h:102
L1GtMuonTemplate.h
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::algName
std::string algName
Definition: L1GtTriggerMenuConfigOnlineProd.h:74
L1GtTriggerMenuConfigOnlineProd::m_vecEnergySumTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:232
L1GtTriggerMenuConfigOnlineProd::m_tableMenuCond
std::vector< TableMenuCond > m_tableMenuCond
Definition: L1GtTriggerMenuConfigOnlineProd.h:213
value
Definition: value.py:1
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::energyOverflow
bool energyOverflow
Definition: L1GtTriggerMenuConfigOnlineProd.h:114
L1GtTriggerMenuConfigOnlineProd::tableMenuCondFromDB
bool tableMenuCondFromDB(const std::string &gtSchema, const std::string &objKey)
retrieve table with list of conditions in the menu
Definition: L1GtTriggerMenuConfigOnlineProd.cc:380
L1GtTriggerMenuConfigOnlineProd::m_tableMenuObjectParameters
std::vector< TableMenuObjectParameters > m_tableMenuObjectParameters
Definition: L1GtTriggerMenuConfigOnlineProd.h:214
L1GtTriggerMenuConfigOnlineProd::m_algorithmMap
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
Definition: L1GtTriggerMenuConfigOnlineProd.h:246
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::etThreshold
float etThreshold
Definition: L1GtTriggerMenuConfigOnlineProd.h:115
L1GtTriggerMenuConfigOnlineProd::chipNumber
int chipNumber(short) const
return the chip number for an algorithm with index bitNumberSh
Definition: L1GtTriggerMenuConfigOnlineProd.cc:701
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgoCond::condIndexF
float condIndexF
Definition: L1GtTriggerMenuConfigOnlineProd.h:81
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condGEq
bool condGEq
Definition: L1GtTriggerMenuConfigOnlineProd.h:91
L1GtExternalTemplate.h
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiHigh
short phiHigh
Definition: L1GtTriggerMenuConfigOnlineProd.h:118
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::cond
std::string cond
Definition: L1GtTriggerMenuConfigOnlineProd.h:86
L1GtTriggerMenuConfigOnlineProd::m_scaleDbKey
std::string m_scaleDbKey
menu associated scale key
Definition: L1GtTriggerMenuConfigOnlineProd.h:226
L1GtHfRingEtSumsTemplate.h
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::charge
bool charge
Definition: L1GtTriggerMenuConfigOnlineProd.h:121
L1GtBptxTemplate.h
L1GtTriggerMenuConfigOnlineProd::m_vecMuonTemplate
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:230
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::phiRange
std::string phiRange
Definition: L1GtTriggerMenuConfigOnlineProd.h:117
L1GtTriggerMenuConfigOnlineProd::addEnergySumCondition
void addEnergySumCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1151
relativeConstraints.value
value
Definition: relativeConstraints.py:53
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::logExpression
std::string logExpression
Definition: L1GtTriggerMenuConfigOnlineProd.h:76
L1GtTriggerMenuConfigOnlineProd::TableMenuGeneral::menuImplementation
std::string menuImplementation
Definition: L1GtTriggerMenuConfigOnlineProd.h:67
L1GtTriggerMenuConfigOnlineProd::addConditions
void addConditions()
add the conditions from a menu to the corresponding list
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1695
L1GtTriggerMenuConfigOnlineProd::m_vecExternalTemplate
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:238
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::gtObject2
std::string gtObject2
Definition: L1GtTriggerMenuConfigOnlineProd.h:90
L1GtEnergySumTemplate.h
L1GtTriggerMenuConfigOnlineProd::m_tableMenuGeneral
TableMenuGeneral m_tableMenuGeneral
member to keep various tables retrieved from DB
Definition: L1GtTriggerMenuConfigOnlineProd.h:210
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::deltaPhiRange
std::string deltaPhiRange
Definition: L1GtTriggerMenuConfigOnlineProd.h:104
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::chargeCorrelation
bool chargeCorrelation
Definition: L1GtTriggerMenuConfigOnlineProd.h:98
L1GtHfBitCountsTemplate.h
L1GtTriggerMenuConfigOnlineProd::TableMenuAlgo::algAlias
std::string algAlias
Definition: L1GtTriggerMenuConfigOnlineProd.h:75
L1GtTriggerMenuConfigOnlineProd::m_vecCaloTemplate
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:231
L1GtTriggerMenuConfigOnlineProd::addCaloCondition
void addCaloCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1056
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::objectParameter3FK
std::string objectParameter3FK
Definition: L1GtTriggerMenuConfigOnlineProd.h:101
L1GtTriggerMenuConfigOnlineProd::m_vecCastorTemplate
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:234
mps_fire.result
result
Definition: mps_fire.py:303
L1GtTriggerMenuConfigOnlineProd::TableMenuCond
Definition: L1GtTriggerMenuConfigOnlineProd.h:85
L1GtTriggerMenuConfigOnlineProd::buildAlgorithmMap
void buildAlgorithmMap()
build the algorithm map in the menu
Definition: L1GtTriggerMenuConfigOnlineProd.cc:721
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::condType
std::string condType
Definition: L1GtTriggerMenuConfigOnlineProd.h:88
L1GtTriggerMenuConfigOnlineProd::convertLogicalExpression
std::string convertLogicalExpression(const std::string &, const std::map< int, std::string > &) const
convert a logical expression with indices to a logical expression with names
Definition: L1GtTriggerMenuConfigOnlineProd.cc:689
L1GtTriggerMenuConfigOnlineProd::m_corCaloTemplate
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:242
L1GtTriggerMenuConfigOnlineProd::addCastorCondition
void addCastorCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:1326
L1GtTriggerMenuConfigOnlineProd::buildTechnicalTriggerMap
void buildTechnicalTriggerMap()
build the technical trigger map in the menu
Definition: L1GtTriggerMenuConfigOnlineProd.cc:749
L1GtTriggerMenuConfigOnlineProd::~L1GtTriggerMenuConfigOnlineProd
~L1GtTriggerMenuConfigOnlineProd() override
destructor
Definition: L1GtTriggerMenuConfigOnlineProd.cc:46
L1GtTriggerMenuConfigOnlineProd::m_tableMenuAlgoCond
std::vector< TableMenuAlgoCond > m_tableMenuAlgoCond
Definition: L1GtTriggerMenuConfigOnlineProd.h:212
L1GtTriggerMenuConfigOnlineProd::addMuonCondition
void addMuonCondition(const TableMenuCond &)
Definition: L1GtTriggerMenuConfigOnlineProd.cc:968
L1ConfigOnlineProdBase.h
L1GtTriggerMenuConfigOnlineProd::TableMenuCond::countThreshold
short countThreshold
Definition: L1GtTriggerMenuConfigOnlineProd.h:93
L1GtTriggerMenuConfigOnlineProd::tableMenuAlgoFromDB
bool tableMenuAlgoFromDB(const std::string &gtSchema, const std::string &objKey)
retrieve table with physics algorithms from DB
Definition: L1GtTriggerMenuConfigOnlineProd.cc:240
L1GtTriggerMenuConfigOnlineProd::m_corEnergySumTemplate
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
Definition: L1GtTriggerMenuConfigOnlineProd.h:243
L1GtObject
L1GtTriggerMenuConfigOnlineProd::TableMenuObjectParameters::enableIso
bool enableIso
Definition: L1GtTriggerMenuConfigOnlineProd.h:112
CollectionTags_cfi.Source
Source
Definition: CollectionTags_cfi.py:11