1 #ifndef L1TGlobal_TriggerMenuXmlParser_h
2 #define L1TGlobal_TriggerMenuXmlParser_h
25 #include <boost/cstdint.hpp>
27 #include <xercesc/sax/HandlerBase.hpp>
28 #include <xercesc/dom/DOM.hpp>
29 #include <xercesc/parsers/XercesDOMParser.hpp>
46 #include "L1Trigger/L1TGlobal/src/L1TMenuEditor/L1TriggerMenu.hxx"
48 #include "tmEventSetup/tmEventSetup.hh"
49 #include "tmEventSetup/esTriggerMenu.hh"
50 #include "tmEventSetup/esAlgorithm.hh"
51 #include "tmEventSetup/esCondition.hh"
52 #include "tmEventSetup/esObject.hh"
53 #include "tmEventSetup/esCut.hh"
54 #include "tmEventSetup/esScale.hh"
55 #include "tmGrammar/Algorithm.hh"
180 const std::vector<std::vector<EnergySumTemplate> >&);
184 inline const std::vector<std::vector<ExternalTemplate> >&
191 const std::vector<std::vector<ExternalTemplate> >&);
200 const std::vector<std::vector<CorrelationTemplate> >&);
224 const std::vector<std::vector<EnergySumTemplate> >&);
315 XERCES_CPP_NAMESPACE::DOMNode* startChild,
316 const std::string& tagName,
bool beginOnly =
false,
349 std::vector<boost::uint64_t>& dst);
391 int getGEqFlag(XERCES_CPP_NAMESPACE::DOMNode* node,
396 unsigned int num, std::vector<bool>& mipDst,
397 std::vector<bool>& isoEnDst, std::vector<bool>& isoReqDst);
401 int l1t2int( l1t::RelativeBx );
408 bool parseScales(std::map<std::string, tmeventsetup::esScale> scaleMap);
414 bool parseMuon( l1t::MuonCondition condMu,
415 unsigned int chipNr = 0,
const bool corrFlag =
false);
421 bool parseMuonV2( tmeventsetup::esCondition condMu,
422 unsigned int chipNr = 0,
const bool corrFlag =
false);
425 unsigned int chipNr = 0);
432 bool parseCalo( l1t::CalorimeterCondition condCalo,
433 unsigned int chipNr = 0,
const bool corrFlag =
false);
439 bool parseCaloV2( tmeventsetup::esCondition condCalo,
440 unsigned int chipNr = 0,
const bool corrFlag =
false);
443 unsigned int chipNr = 0);
451 unsigned int chipNr = 0,
const bool corrFlag =
false);
459 unsigned int chipNr = 0,
const bool corrFlag =
false);
463 unsigned int chipNr = 0);
472 unsigned int chipNr = 0);
484 bool parseId( std::auto_ptr<l1t::L1TriggerMenu> tm );
485 bool parseId( l1t::Meta meta );
500 unsigned int chipNr);
509 unsigned int chipNr = 0 );
521 bool workXML( std::auto_ptr<l1t::L1TriggerMenu> tm );
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
unsigned long long uint64_t
bool xmlFile(const std::string fParam)
char data[epos_bytes_allocation]