CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 std::string & gtTriggerMenuInterface() const
get / set the trigger menu names
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
const std::vector< std::vector< L1GtCaloTemplate > > & vecCaloTemplate() const
std::string getXMLTextValue(XERCES_CPP_NAMESPACE::DOMNode *node)
get the text value of a xml node as string
const unsigned int gtPinsOnConditionChip() const
get / set the number of pins on the GTL condition chips
AlgorithmMap m_algorithmAliasMap
map containing the physics algorithms (by alias)
void setVecCastorTemplate(const std::vector< std::vector< L1GtCastorTemplate > > &)
const std::string & gtScaleDbKey() const
menu associated scale key
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.
const std::vector< std::vector< L1GtEnergySumTemplate > > & vecEnergySumTemplate() const
std::vector< std::vector< L1GtExternalTemplate > > m_vecExternalTemplate
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 AlgorithmMap & gtTechnicalTriggerMap() const
get / set the technical trigger map
void setGtAlgorithmMap(const AlgorithmMap &)
const std::vector< std::vector< L1GtEnergySumTemplate > > & corEnergySumTemplate() const
void setGtAlgorithmAliasMap(const AlgorithmMap &)
const std::vector< ConditionMap > & gtConditionMap() const
get / set / build the condition maps
AlgorithmMap m_algorithmMap
map containing the physics algorithms (by name)
void setGtTriggerMenuDescription(const std::string &)
const unsigned int gtNumberConditionChips() const
get / set the number of condition chips in GTL
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
const std::vector< std::vector< L1GtMuonTemplate > > & corMuonTemplate() const
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
const std::vector< std::vector< L1GtMuonTemplate > > & vecMuonTemplate() const
get / set the vectors containing the conditions
std::string m_triggerMenuInterfaceDate
members for XML parser only (do not appear in CondFormats)
const std::string & gtTriggerMenuImplementation() const
const unsigned int gtNumberTechTriggers() const
get / set the number of technical triggers
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
int getGEqFlag(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &nodeName)
getGEqFlag - get the &quot;greater or equal flag&quot; from a condition
const std::vector< std::vector< L1GtHfBitCountsTemplate > > & vecHfBitCountsTemplate() const
const AlgorithmMap & gtAlgorithmAliasMap() const
get / set the algorithm map (by alias)
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 > > &)
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & vecHfRingEtSumsTemplate() const
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 unsigned int gtNumberPhysTriggers() const
get / set the number of physics trigger algorithms
std::vector< std::vector< L1GtMuonTemplate > > m_corMuonTemplate
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
const std::vector< std::vector< L1GtCastorTemplate > > & vecCastorTemplate() const
const std::vector< std::vector< L1GtJetCountsTemplate > > & vecJetCountsTemplate() const
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::vector< std::vector< L1GtBptxTemplate > > & vecBptxTemplate() const
std::vector< std::vector< L1GtEnergySumTemplate > > m_corEnergySumTemplate
const AlgorithmMap & gtAlgorithmMap() const
get / set the algorithm map (by name)
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 &quot;jet counts&quot; condition
const std::string & gtAlgorithmImplementation() const
bool parseEnergySum(XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false)
parse an &quot;energy sum&quot; 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 & gtTriggerMenuInterfaceAuthor() 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 &)
const std::string & gtTriggerMenuAuthor() const
bool workXML(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
do all the steps for filling a trigger menu
const std::string & gtTriggerMenuDescription() const
unsigned int m_pinsOnConditionChip
number of pins on the GTL condition chips
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
const std::string & gtTriggerMenuInterfaceDate() const
get / set the XML parser creation date, author, description for menu interface, menu ...
void setGtNumberConditionChips(const unsigned int &)
const std::vector< std::vector< L1GtCorrelationTemplate > > & vecCorrelationTemplate() const
std::vector< std::vector< L1GtCaloTemplate > > m_vecCaloTemplate
const std::string & gtTriggerMenuName() const
bool parseAlgorithms(XERCES_CPP_NAMESPACE::XercesDOMParser *parser)
parse all algorithms
void setGtTriggerMenuInterface(const std::string &)
unsigned long long uint64_t
Definition: Time.h:13
void setVecCorrelationTemplate(const std::vector< std::vector< L1GtCorrelationTemplate > > &)
int getNumFromType(const std::string &type)
get number of particles from condition type
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
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
std::vector< std::vector< L1GtEnergySumTemplate > > m_vecEnergySumTemplate
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 > > &)
const std::string & gtTriggerMenuInterfaceDescription() const
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 &)
std::vector< int > gtOrderConditionChip() const
const unsigned int gtNumberL1JetCounts() const
get / set the number of L1 jet counts received by GT
const std::vector< std::vector< L1GtCaloTemplate > > & corCaloTemplate() const
const std::string & gtTriggerMenuDate() 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)
const std::vector< std::vector< L1GtExternalTemplate > > & vecExternalTemplate() const
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
std::vector< std::vector< L1GtMuonTemplate > > m_vecMuonTemplate
void setGtNumberL1JetCounts(const unsigned int &)
unsigned int m_numberL1JetCounts
jet counts