CMS 3D CMS Logo

L1GtTriggerMenuXmlParser.h
Go to the documentation of this file.
1 #ifndef L1GtConfigProducers_L1GtTriggerMenuXmlParser_h
2 #define L1GtConfigProducers_L1GtTriggerMenuXmlParser_h
3 
19 // system include files
20 #include <string>
21 #include <vector>
22 
23 #include <xercesc/sax/HandlerBase.hpp>
24 #include <xercesc/dom/DOM.hpp>
25 #include <xercesc/parsers/XercesDOMParser.hpp>
26 
27 // user include files
28 // base class
30 
33 
44 #include <cstdint>
45 
46 // forward declarations
47 class L1GtCondition;
48 class L1GtAlgorithm;
49 
50 // class declaration
52 public:
56 
58  ~L1GtTriggerMenuXmlParser() override;
59 
60 public:
62  inline const unsigned int gtNumberConditionChips() const { return m_numberConditionChips; }
63 
64  void setGtNumberConditionChips(const unsigned int&);
65 
67  inline const unsigned int gtPinsOnConditionChip() const { return m_pinsOnConditionChip; }
68 
69  void setGtPinsOnConditionChip(const unsigned int&);
70 
73  inline std::vector<int> gtOrderConditionChip() const { return m_orderConditionChip; }
74 
75  void setGtOrderConditionChip(const std::vector<int>&);
76 
78  inline const unsigned int gtNumberPhysTriggers() const { return m_numberPhysTriggers; }
79 
80  void setGtNumberPhysTriggers(const unsigned int&);
81 
83  inline const unsigned int gtNumberTechTriggers() const { return m_numberTechTriggers; }
84 
85  void setGtNumberTechTriggers(const unsigned int&);
86 
88  inline const unsigned int gtNumberL1JetCounts() const { return m_numberL1JetCounts; }
89 
90  void setGtNumberL1JetCounts(const unsigned int&);
91 
92 public:
94  inline const std::vector<ConditionMap>& gtConditionMap() const { return m_conditionMap; }
95 
96  void setGtConditionMap(const std::vector<ConditionMap>&);
97 
99  inline const std::string& gtTriggerMenuInterface() const { return m_triggerMenuInterface; }
100 
102 
103  //
104  inline const std::string& gtTriggerMenuName() const { return m_triggerMenuName; }
105 
106  void setGtTriggerMenuName(const std::string&);
107 
108  //
110 
112 
114  inline const std::string& gtScaleDbKey() const { return m_scaleDbKey; }
115 
116  void setGtScaleDbKey(const std::string&);
117 
119  inline const std::vector<std::vector<L1GtMuonTemplate> >& vecMuonTemplate() const { return m_vecMuonTemplate; }
120  void setVecMuonTemplate(const std::vector<std::vector<L1GtMuonTemplate> >&);
121 
122  //
123  inline const std::vector<std::vector<L1GtCaloTemplate> >& vecCaloTemplate() const { return m_vecCaloTemplate; }
124 
125  void setVecCaloTemplate(const std::vector<std::vector<L1GtCaloTemplate> >&);
126 
127  //
128  inline const std::vector<std::vector<L1GtEnergySumTemplate> >& vecEnergySumTemplate() const {
129  return m_vecEnergySumTemplate;
130  }
131 
132  void setVecEnergySumTemplate(const std::vector<std::vector<L1GtEnergySumTemplate> >&);
133 
134  //
135  inline const std::vector<std::vector<L1GtJetCountsTemplate> >& vecJetCountsTemplate() const {
136  return m_vecJetCountsTemplate;
137  }
138 
139  void setVecJetCountsTemplate(const std::vector<std::vector<L1GtJetCountsTemplate> >&);
140 
141  //
142  inline const std::vector<std::vector<L1GtCastorTemplate> >& vecCastorTemplate() const { return m_vecCastorTemplate; }
143 
144  void setVecCastorTemplate(const std::vector<std::vector<L1GtCastorTemplate> >&);
145 
146  //
147  inline const std::vector<std::vector<L1GtHfBitCountsTemplate> >& vecHfBitCountsTemplate() const {
149  }
150 
151  void setVecHfBitCountsTemplate(const std::vector<std::vector<L1GtHfBitCountsTemplate> >&);
152 
153  //
154  inline const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >& vecHfRingEtSumsTemplate() const {
156  }
157 
158  void setVecHfRingEtSumsTemplate(const std::vector<std::vector<L1GtHfRingEtSumsTemplate> >&);
159 
160  //
161  inline const std::vector<std::vector<L1GtBptxTemplate> >& vecBptxTemplate() const { return m_vecBptxTemplate; }
162 
163  void setVecBptxTemplate(const std::vector<std::vector<L1GtBptxTemplate> >&);
164 
165  //
166  inline const std::vector<std::vector<L1GtExternalTemplate> >& vecExternalTemplate() const {
167  return m_vecExternalTemplate;
168  }
169 
170  void setVecExternalTemplate(const std::vector<std::vector<L1GtExternalTemplate> >&);
171 
172  //
173  inline const std::vector<std::vector<L1GtCorrelationTemplate> >& vecCorrelationTemplate() const {
175  }
176 
177  void setVecCorrelationTemplate(const std::vector<std::vector<L1GtCorrelationTemplate> >&);
178 
179  // get / set the vectors containing the conditions for correlation templates
180  //
181  inline const std::vector<std::vector<L1GtMuonTemplate> >& corMuonTemplate() const { return m_corMuonTemplate; }
182 
183  void setCorMuonTemplate(const std::vector<std::vector<L1GtMuonTemplate> >&);
184 
185  //
186  inline const std::vector<std::vector<L1GtCaloTemplate> >& corCaloTemplate() const { return m_corCaloTemplate; }
187 
188  void setCorCaloTemplate(const std::vector<std::vector<L1GtCaloTemplate> >&);
189 
190  //
191  inline const std::vector<std::vector<L1GtEnergySumTemplate> >& corEnergySumTemplate() const {
192  return m_corEnergySumTemplate;
193  }
194 
195  void setCorEnergySumTemplate(const std::vector<std::vector<L1GtEnergySumTemplate> >&);
196 
198  inline const AlgorithmMap& gtAlgorithmMap() const { return m_algorithmMap; }
199 
200  void setGtAlgorithmMap(const AlgorithmMap&);
201 
203  inline const AlgorithmMap& gtAlgorithmAliasMap() const { return m_algorithmAliasMap; }
204 
206 
208  inline const AlgorithmMap& gtTechnicalTriggerMap() const { return m_technicalTriggerMap; }
209 
211 
212 public:
214  void parseXmlFile(const std::string& defXmlFile, const std::string& vmeXmlFile);
215 
216 public:
219 
221 
223 
225 
227 
229 
230  //
231 
232  inline const std::string& gtTriggerMenuDate() const { return m_triggerMenuDate; }
233 
234  void setGtTriggerMenuDate(const std::string&);
235 
236  inline const std::string& gtTriggerMenuAuthor() const { return m_triggerMenuAuthor; }
237 
238  void setGtTriggerMenuAuthor(const std::string&);
239 
241 
243 
245 
247 
248 private:
249  // XML methods
250 
252  XERCES_CPP_NAMESPACE::XercesDOMParser* initXML(const std::string& xmlFile);
253 
255  XERCES_CPP_NAMESPACE::DOMNode* findXMLChild(XERCES_CPP_NAMESPACE::DOMNode* startChild,
256  const std::string& tagName,
257  bool beginOnly = false,
258  std::string* rest = nullptr);
259 
261  std::string getXMLAttribute(const XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name);
262 
264  std::string getXMLTextValue(XERCES_CPP_NAMESPACE::DOMNode* node);
265 
267  bool hexString2UInt128(const std::string& hexString, uint64_t& dstL, uint64_t& dstH);
268 
270  bool getXMLHexTextValue128(XERCES_CPP_NAMESPACE::DOMNode* node, uint64_t& dstL, uint64_t& dstH);
271 
273  bool getXMLHexTextValue(XERCES_CPP_NAMESPACE::DOMNode* node, uint64_t& dst);
274 
276  bool countConditionChildMaxBits(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& childName, unsigned int& dst);
277 
279  bool getConditionChildValues(XERCES_CPP_NAMESPACE::DOMNode* node,
280  const std::string& childName,
281  unsigned int num,
282  std::vector<uint64_t>& dst);
283 
285  void cleanupXML(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
286 
287 private:
288  // methods for the VME file
289 
291  bool parseVmeXML(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
292 
293 private:
294  // methods for conditions and algorithms
295 
298  void clearMaps();
299 
302  bool insertConditionIntoMap(L1GtCondition& cond, const int chipNr);
303 
305  bool insertAlgorithmIntoMap(const L1GtAlgorithm& alg);
306 
308  bool insertTechTriggerIntoMap(const L1GtAlgorithm& alg);
309 
313 
315  int getNumFromType(const std::string& type);
316 
318  int getBitFromNode(XERCES_CPP_NAMESPACE::DOMNode* node);
319 
321  int getGEqFlag(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& nodeName);
322 
324  bool getMuonMipIsoBits(XERCES_CPP_NAMESPACE::DOMNode* node,
325  unsigned int num,
326  std::vector<bool>& mipDst,
327  std::vector<bool>& isoEnDst,
328  std::vector<bool>& isoReqDst);
329 
331  bool parseMuon(XERCES_CPP_NAMESPACE::DOMNode* node,
332  const std::string& name,
333  unsigned int chipNr = 0,
334  const bool corrFlag = false);
335 
337  bool parseCalo(XERCES_CPP_NAMESPACE::DOMNode* node,
338  const std::string& name,
339  unsigned int chipNr = 0,
340  const bool corrFlag = false);
341 
343  bool parseEnergySum(XERCES_CPP_NAMESPACE::DOMNode* node,
344  const std::string& name,
345  unsigned int chipNr = 0,
346  const bool corrFlag = false);
347 
349  bool parseJetCounts(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
350 
352  bool parseCastor(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
353 
355  bool parseHfBitCounts(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
356 
358  bool parseHfRingEtSums(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
359 
361  bool parseBptx(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
362 
364  bool parseExternal(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
365 
367  bool parseCorrelation(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr = 0);
368 
370  bool parseId(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
371 
373  bool workCondition(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr);
374 
376  bool parseConditions(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
377 
379  bool workAlgorithm(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name, unsigned int chipNr);
380 
382  bool parseAlgorithms(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
383 
385  bool workTechTrigger(XERCES_CPP_NAMESPACE::DOMNode* node, const std::string& name);
386 
388  bool parseTechTriggers(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
389 
391  bool workXML(XERCES_CPP_NAMESPACE::XercesDOMParser* parser);
392 
393 private:
395  XERCES_CPP_NAMESPACE::ErrorHandler* m_xmlErrHandler;
396 
398 
401 
403  unsigned int m_pinsOnConditionChip;
404 
407  std::vector<int> m_orderConditionChip;
408 
410  unsigned int m_numberPhysTriggers;
411 
413  unsigned int m_numberTechTriggers;
414 
416  unsigned int m_numberL1JetCounts;
417 
418 private:
420 
424 
428 
430 
431 private:
433  std::vector<ConditionMap> m_conditionMap;
434 
435 private:
440 
443 
446  std::vector<std::vector<L1GtMuonTemplate> > m_vecMuonTemplate;
447  std::vector<std::vector<L1GtCaloTemplate> > m_vecCaloTemplate;
448  std::vector<std::vector<L1GtEnergySumTemplate> > m_vecEnergySumTemplate;
449  std::vector<std::vector<L1GtJetCountsTemplate> > m_vecJetCountsTemplate;
450  std::vector<std::vector<L1GtCastorTemplate> > m_vecCastorTemplate;
451  std::vector<std::vector<L1GtHfBitCountsTemplate> > m_vecHfBitCountsTemplate;
452  std::vector<std::vector<L1GtHfRingEtSumsTemplate> > m_vecHfRingEtSumsTemplate;
453  std::vector<std::vector<L1GtBptxTemplate> > m_vecBptxTemplate;
454  std::vector<std::vector<L1GtExternalTemplate> > m_vecExternalTemplate;
455 
456  std::vector<std::vector<L1GtCorrelationTemplate> > m_vecCorrelationTemplate;
457  std::vector<std::vector<L1GtMuonTemplate> > m_corMuonTemplate;
458  std::vector<std::vector<L1GtCaloTemplate> > m_corCaloTemplate;
459  std::vector<std::vector<L1GtEnergySumTemplate> > m_corEnergySumTemplate;
460 
463 
466 
469 };
470 
471 #endif /*L1GtConfigProducers_L1GtTriggerMenuXmlParser_h*/
const unsigned int gtPinsOnConditionChip() const
get / set the number of pins on the GTL condition chips
int getBitFromNode(XERCES_CPP_NAMESPACE::DOMNode *node)
get bit from a bit node
void setGtTriggerMenuInterfaceAuthor(const std::string &)
void setGtTechnicalTriggerMap(const AlgorithmMap &)
std::vector< std::vector< L1GtCastorTemplate > > m_vecCastorTemplate
std::string getXMLTextValue(XERCES_CPP_NAMESPACE::DOMNode *node)
get the text value of a xml node as string
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
const std::string & gtTriggerMenuDate() const
const std::string & gtScaleDbKey() const
menu associated scale key
const std::string & gtAlgorithmImplementation() const
void setVecCastorTemplate(const std::vector< std::vector< L1GtCastorTemplate > > &)
const unsigned int gtNumberTechTriggers() const
get / set the number of technical triggers
void setVecEnergySumTemplate(const std::vector< std::vector< L1GtEnergySumTemplate > > &)
void setGtTriggerMenuDate(const std::string &)
bool hexString2UInt128(const std::string &hexString, uint64_t &dstL, uint64_t &dstH)
convert a hexadecimal string with up to 128 to 2 uint64_t
bool workAlgorithm(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr)
parse an algorithm and insert it into algorithm map.
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
const std::string & gtTriggerMenuInterface() const
get / set the trigger menu names
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
void setGtConditionMap(const std::vector< ConditionMap > &)
std::vector< std::vector< L1GtCorrelationTemplate > > m_vecCorrelationTemplate
L1GtConditionType
void setGtPinsOnConditionChip(const unsigned int &)
AlgorithmMap m_technicalTriggerMap
map containing the technical triggers
bool parseTechTriggers(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse all algorithms
bool parseId(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse all parse all identification attributes (trigger menu names, scale DB key, etc) ...
unsigned int m_numberPhysTriggers
number of physics trigger algorithms
const unsigned int gtNumberL1JetCounts() const
get / set the number of L1 jet counts received by GT
void setGtAlgorithmMap(const AlgorithmMap &)
const std::vector< std::vector< L1GtJetCountsTemplate > > & vecJetCountsTemplate() const
const AlgorithmMap & gtAlgorithmAliasMap() const
get / set the algorithm map (by alias)
void setGtAlgorithmAliasMap(const AlgorithmMap &)
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
void setGtTriggerMenuDescription(const std::string &)
bool parseExternal(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse an External condition
XERCES_CPP_NAMESPACE::XercesDOMParser * initXML(const std::string &xmlFile)
init xml system
bool parseConditions(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse all conditions
void setGtTriggerMenuAuthor(const std::string &)
void setGtNumberPhysTriggers(const unsigned int &)
void setGtScaleDbKey(const std::string &)
bool getMuonMipIsoBits(XERCES_CPP_NAMESPACE::DOMNode *node, unsigned int num, std::vector< bool > &mipDst, std::vector< bool > &isoEnDst, std::vector< bool > &isoReqDst)
get MIP and Isolation bits from a muon
XERCES_CPP_NAMESPACE::ErrorHandler * m_xmlErrHandler
error handler for xml-parser
std::string m_triggerMenuInterfaceDate
members for XML parser only (do not appear in CondFormats)
std::string m_scaleDbKey
menu associated scale key
void setCorCaloTemplate(const std::vector< std::vector< L1GtCaloTemplate > > &)
std::vector< std::vector< L1GtBptxTemplate > > m_vecBptxTemplate
bool parseMuon(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false)
parse a muon condition
const std::vector< std::vector< L1GtCastorTemplate > > & vecCastorTemplate() const
const AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
int getGEqFlag(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &nodeName)
getGEqFlag - get the "greater or equal flag" from a condition
const unsigned int gtNumberConditionChips() const
get / set the number of condition chips in GTL
bool parseCorrelation(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a correlation condition
void setVecHfRingEtSumsTemplate(const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &)
void cleanupXML(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
shutdown the xml utils and deallocate parser and error handler
std::vector< std::vector< L1GtHfBitCountsTemplate > > m_vecHfBitCountsTemplate
void setCorMuonTemplate(const std::vector< std::vector< L1GtMuonTemplate > > &)
bool insertConditionIntoMap(L1GtCondition &cond, const int chipNr)
const std::vector< std::vector< L1GtCorrelationTemplate > > & vecCorrelationTemplate() const
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
const std::vector< std::vector< L1GtExternalTemplate > > & vecExternalTemplate() const
const std::vector< std::vector< L1GtMuonTemplate > > & corMuonTemplate() const
void setVecCaloTemplate(const std::vector< std::vector< L1GtCaloTemplate > > &)
unsigned int m_numberTechTriggers
number of technical triggers
std::string getXMLAttribute(const XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name)
get a named attribute for an xml node as string
void setVecBptxTemplate(const std::vector< std::vector< L1GtBptxTemplate > > &)
XERCES_CPP_NAMESPACE::DOMNode * findXMLChild(XERCES_CPP_NAMESPACE::DOMNode *startChild, const std::string &tagName, bool beginOnly=false, std::string *rest=nullptr)
find a named child of a xml node
~L1GtTriggerMenuXmlParser() override
destructor
std::string m_triggerMenuInterface
menu names
bool parseHfBitCounts(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a HfBitCounts condition
bool parseHfRingEtSums(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a HfRingEtSums condition
void setVecMuonTemplate(const std::vector< std::vector< L1GtMuonTemplate > > &)
const std::string & gtTriggerMenuInterfaceAuthor() const
const std::vector< std::vector< L1GtCaloTemplate > > & vecCaloTemplate() const
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
const std::string & gtTriggerMenuInterfaceDate() const
get / set the XML parser creation date, author, description for menu interface, menu ...
bool parseVmeXML(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse the vme xml file
void setGtTriggerMenuInterfaceDescription(const std::string &)
bool parseJetCounts(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a "jet counts" condition
bool parseEnergySum(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false)
parse an "energy sum" condition
void parseXmlFile(const std::string &defXmlFile, const std::string &vmeXmlFile)
parse def.xml and vme.xml files
void setGtTriggerMenuName(const std::string &)
unsigned int m_numberConditionChips
hardware limits
std::vector< std::vector< L1GtJetCountsTemplate > > m_vecJetCountsTemplate
const std::string & gtTriggerMenuDescription() const
bool workCondition(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr)
choose the parser for a particular condition
void setGtTriggerMenuInterfaceDate(const std::string &)
bool workXML(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
do all the steps for filling a trigger menu
std::vector< int > gtOrderConditionChip() const
unsigned int m_pinsOnConditionChip
number of pins on the GTL condition chips
const std::vector< ConditionMap > & gtConditionMap() const
get / set / build the condition maps
bool parseCastor(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a CASTOR condition
bool insertTechTriggerIntoMap(const L1GtAlgorithm &alg)
insert a technical trigger into technical trigger map
bool getConditionChildValues(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &childName, unsigned int num, std::vector< uint64_t > &dst)
get values from a child of a condition
void setGtNumberConditionChips(const unsigned int &)
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
const std::vector< std::vector< L1GtCaloTemplate > > & corCaloTemplate() const
const std::string & gtTriggerMenuName() const
bool parseAlgorithms(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse all algorithms
const std::string & gtTriggerMenuAuthor() const
void setGtTriggerMenuInterface(const std::string &)
unsigned long long uint64_t
Definition: Time.h:13
const std::vector< std::vector< L1GtBptxTemplate > > & vecBptxTemplate() const
void setVecCorrelationTemplate(const std::vector< std::vector< L1GtCorrelationTemplate > > &)
const std::string & gtTriggerMenuImplementation() const
int getNumFromType(const std::string &type)
get number of particles from condition type
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
bool getXMLHexTextValue(XERCES_CPP_NAMESPACE::DOMNode *node, uint64_t &dst)
get a hexadecimal value of a xml node containing text
void setVecHfBitCountsTemplate(const std::vector< std::vector< L1GtHfBitCountsTemplate > > &)
constexpr void M2 & dst
std::vector< std::vector< L1GtCaloTemplate > > m_corCaloTemplate
bool parseBptx(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0)
parse a Bptx condition
const std::vector< std::vector< L1GtEnergySumTemplate > > & vecEnergySumTemplate() const
bool getXMLHexTextValue128(XERCES_CPP_NAMESPACE::DOMNode *node, uint64_t &dstL, uint64_t &dstH)
get a hexadecimal value of a xml node containing text with up to 128 bit
const unsigned int gtNumberPhysTriggers() const
get / set the number of physics trigger algorithms
const std::vector< std::vector< L1GtMuonTemplate > > & vecMuonTemplate() const
get / set the vectors containing the conditions
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
Definition: plugin.cc:23
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & vecHfRingEtSumsTemplate() const
void setGtNumberTechTriggers(const unsigned int &)
void setGtOrderConditionChip(const std::vector< int > &)
bool parseCalo(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false)
parse a calorimeter condition
std::vector< ConditionMap > m_conditionMap
map containing the conditions (per condition chip) - transient
void setCorEnergySumTemplate(const std::vector< std::vector< L1GtEnergySumTemplate > > &)
void setVecJetCountsTemplate(const std::vector< std::vector< L1GtJetCountsTemplate > > &)
bool insertAlgorithmIntoMap(const L1GtAlgorithm &alg)
insert an algorithm into algorithm map
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > m_vecHfRingEtSumsTemplate
void setGtAlgorithmImplementation(const std::string &)
const std::string & gtTriggerMenuInterfaceDescription() const
bool countConditionChildMaxBits(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &childName, unsigned int &dst)
get the number of bits in the max attribute of a condition child
void setGtTriggerMenuImplementation(const std::string &)
L1GtConditionType getTypeFromType(const std::string &type)
bool workTechTrigger(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name)
parse an algorithm and insert it into algorithm map.
void setVecExternalTemplate(const std::vector< std::vector< L1GtExternalTemplate > > &)
std::vector< int > m_orderConditionChip
const std::vector< std::vector< L1GtHfBitCountsTemplate > > & vecHfBitCountsTemplate() const
const std::vector< std::vector< L1GtEnergySumTemplate > > & corEnergySumTemplate() const
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
void setGtNumberL1JetCounts(const unsigned int &)
unsigned int m_numberL1JetCounts
jet counts