#include <L1GtTriggerMenuXmlParser.h>
Public Member Functions | |
const std::vector< std::vector< L1GtCaloTemplate > > & | corCaloTemplate () const |
const std::vector< std::vector< L1GtEnergySumTemplate > > & | corEnergySumTemplate () const |
const std::vector< std::vector< L1GtMuonTemplate > > & | corMuonTemplate () const |
const AlgorithmMap & | gtAlgorithmAliasMap () const |
get / set the algorithm map (by alias) More... | |
const std::string & | gtAlgorithmImplementation () const |
const AlgorithmMap & | gtAlgorithmMap () const |
get / set the algorithm map (by name) More... | |
const std::vector< ConditionMap > & | gtConditionMap () const |
get / set / build the condition maps More... | |
const unsigned int | gtNumberConditionChips () const |
get / set the number of condition chips in GTL More... | |
const unsigned int | gtNumberL1JetCounts () const |
get / set the number of L1 jet counts received by GT More... | |
const unsigned int | gtNumberPhysTriggers () const |
get / set the number of physics trigger algorithms More... | |
const unsigned int | gtNumberTechTriggers () const |
get / set the number of technical triggers More... | |
std::vector< int > | gtOrderConditionChip () const |
const unsigned int | gtPinsOnConditionChip () const |
get / set the number of pins on the GTL condition chips More... | |
const std::string & | gtScaleDbKey () const |
menu associated scale key More... | |
const AlgorithmMap & | gtTechnicalTriggerMap () const |
get / set the technical trigger map More... | |
const std::string & | gtTriggerMenuAuthor () const |
const std::string & | gtTriggerMenuDate () const |
const std::string & | gtTriggerMenuDescription () const |
const std::string & | gtTriggerMenuImplementation () const |
const std::string & | gtTriggerMenuInterface () const |
get / set the trigger menu names More... | |
const std::string & | gtTriggerMenuInterfaceAuthor () const |
const std::string & | gtTriggerMenuInterfaceDate () const |
get / set the XML parser creation date, author, description for menu interface, menu More... | |
const std::string & | gtTriggerMenuInterfaceDescription () const |
const std::string & | gtTriggerMenuName () const |
L1GtTriggerMenuXmlParser () | |
void | parseXmlFile (const std::string &defXmlFile, const std::string &vmeXmlFile) |
parse def.xml and vme.xml files More... | |
void | setCorCaloTemplate (const std::vector< std::vector< L1GtCaloTemplate > > &) |
void | setCorEnergySumTemplate (const std::vector< std::vector< L1GtEnergySumTemplate > > &) |
void | setCorMuonTemplate (const std::vector< std::vector< L1GtMuonTemplate > > &) |
void | setGtAlgorithmAliasMap (const AlgorithmMap &) |
void | setGtAlgorithmImplementation (const std::string &) |
void | setGtAlgorithmMap (const AlgorithmMap &) |
void | setGtConditionMap (const std::vector< ConditionMap > &) |
void | setGtNumberConditionChips (const unsigned int &) |
void | setGtNumberL1JetCounts (const unsigned int &) |
void | setGtNumberPhysTriggers (const unsigned int &) |
void | setGtNumberTechTriggers (const unsigned int &) |
void | setGtOrderConditionChip (const std::vector< int > &) |
void | setGtPinsOnConditionChip (const unsigned int &) |
void | setGtScaleDbKey (const std::string &) |
void | setGtTechnicalTriggerMap (const AlgorithmMap &) |
void | setGtTriggerMenuAuthor (const std::string &) |
void | setGtTriggerMenuDate (const std::string &) |
void | setGtTriggerMenuDescription (const std::string &) |
void | setGtTriggerMenuImplementation (const std::string &) |
void | setGtTriggerMenuInterface (const std::string &) |
void | setGtTriggerMenuInterfaceAuthor (const std::string &) |
void | setGtTriggerMenuInterfaceDate (const std::string &) |
void | setGtTriggerMenuInterfaceDescription (const std::string &) |
void | setGtTriggerMenuName (const std::string &) |
void | setVecBptxTemplate (const std::vector< std::vector< L1GtBptxTemplate > > &) |
void | setVecCaloTemplate (const std::vector< std::vector< L1GtCaloTemplate > > &) |
void | setVecCastorTemplate (const std::vector< std::vector< L1GtCastorTemplate > > &) |
void | setVecCorrelationTemplate (const std::vector< std::vector< L1GtCorrelationTemplate > > &) |
void | setVecEnergySumTemplate (const std::vector< std::vector< L1GtEnergySumTemplate > > &) |
void | setVecExternalTemplate (const std::vector< std::vector< L1GtExternalTemplate > > &) |
void | setVecHfBitCountsTemplate (const std::vector< std::vector< L1GtHfBitCountsTemplate > > &) |
void | setVecHfRingEtSumsTemplate (const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > &) |
void | setVecJetCountsTemplate (const std::vector< std::vector< L1GtJetCountsTemplate > > &) |
void | setVecMuonTemplate (const std::vector< std::vector< L1GtMuonTemplate > > &) |
const std::vector< std::vector< L1GtBptxTemplate > > & | vecBptxTemplate () const |
const std::vector< std::vector< L1GtCaloTemplate > > & | vecCaloTemplate () const |
const std::vector< std::vector< L1GtCastorTemplate > > & | vecCastorTemplate () const |
const std::vector< std::vector< L1GtCorrelationTemplate > > & | vecCorrelationTemplate () const |
const std::vector< std::vector< L1GtEnergySumTemplate > > & | vecEnergySumTemplate () const |
const std::vector< std::vector< L1GtExternalTemplate > > & | vecExternalTemplate () const |
const std::vector< std::vector< L1GtHfBitCountsTemplate > > & | vecHfBitCountsTemplate () const |
const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & | vecHfRingEtSumsTemplate () const |
const std::vector< std::vector< L1GtJetCountsTemplate > > & | vecJetCountsTemplate () const |
const std::vector< std::vector< L1GtMuonTemplate > > & | vecMuonTemplate () const |
get / set the vectors containing the conditions More... | |
~L1GtTriggerMenuXmlParser () override | |
destructor More... | |
Public Member Functions inherited from L1GtXmlParserTags | |
L1GtXmlParserTags () | |
constructor More... | |
virtual | ~L1GtXmlParserTags () |
destructor More... | |
Private Member Functions | |
void | cleanupXML (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
shutdown the xml utils and deallocate parser and error handler More... | |
void | clearMaps () |
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 More... | |
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 More... | |
int | getBitFromNode (XERCES_CPP_NAMESPACE::DOMNode *node) |
get bit from a bit node More... | |
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 More... | |
int | getGEqFlag (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &nodeName) |
getGEqFlag - get the "greater or equal flag" from a condition More... | |
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 More... | |
int | getNumFromType (const std::string &type) |
get number of particles from condition type More... | |
L1GtConditionType | getTypeFromType (const std::string &type) |
std::string | getXMLAttribute (const XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name) |
get a named attribute for an xml node as string More... | |
bool | getXMLHexTextValue (XERCES_CPP_NAMESPACE::DOMNode *node, uint64_t &dst) |
get a hexadecimal value of a xml node containing text More... | |
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 More... | |
std::string | getXMLTextValue (XERCES_CPP_NAMESPACE::DOMNode *node) |
get the text value of a xml node as string More... | |
bool | hexString2UInt128 (const std::string &hexString, uint64_t &dstL, uint64_t &dstH) |
convert a hexadecimal string with up to 128 to 2 uint64_t More... | |
XERCES_CPP_NAMESPACE::XercesDOMParser * | initXML (const std::string &xmlFile) |
init xml system More... | |
bool | insertAlgorithmIntoMap (const L1GtAlgorithm &alg) |
insert an algorithm into algorithm map More... | |
bool | insertConditionIntoMap (L1GtCondition &cond, const int chipNr) |
bool | insertTechTriggerIntoMap (const L1GtAlgorithm &alg) |
insert a technical trigger into technical trigger map More... | |
bool | parseAlgorithms (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
parse all algorithms More... | |
bool | parseBptx (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a Bptx condition More... | |
bool | parseCalo (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false) |
parse a calorimeter condition More... | |
bool | parseCastor (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a CASTOR condition More... | |
bool | parseConditions (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
parse all conditions More... | |
bool | parseCorrelation (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a correlation condition More... | |
bool | parseEnergySum (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false) |
parse an "energy sum" condition More... | |
bool | parseExternal (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse an External condition More... | |
bool | parseHfBitCounts (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a HfBitCounts condition More... | |
bool | parseHfRingEtSums (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a HfRingEtSums condition More... | |
bool | parseId (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
parse all parse all identification attributes (trigger menu names, scale DB key, etc) More... | |
bool | parseJetCounts (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0) |
parse a "jet counts" condition More... | |
bool | parseMuon (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr=0, const bool corrFlag=false) |
parse a muon condition More... | |
bool | parseTechTriggers (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
parse all algorithms More... | |
bool | parseVmeXML (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
parse the vme xml file More... | |
bool | workAlgorithm (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr) |
parse an algorithm and insert it into algorithm map. More... | |
bool | workCondition (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name, unsigned int chipNr) |
choose the parser for a particular condition More... | |
bool | workTechTrigger (XERCES_CPP_NAMESPACE::DOMNode *node, const std::string &name) |
parse an algorithm and insert it into algorithm map. More... | |
bool | workXML (XERCES_CPP_NAMESPACE::XercesDOMParser *parser) |
do all the steps for filling a trigger menu More... | |
Private Attributes | |
AlgorithmMap | m_algorithmAliasMap |
map containing the physics algorithms (by alias) More... | |
std::string | m_algorithmImplementation |
AlgorithmMap | m_algorithmMap |
map containing the physics algorithms (by name) More... | |
std::vector< ConditionMap > | m_conditionMap |
map containing the conditions (per condition chip) - transient More... | |
std::vector< std::vector< L1GtCaloTemplate > > | m_corCaloTemplate |
std::vector< std::vector< L1GtEnergySumTemplate > > | m_corEnergySumTemplate |
std::vector< std::vector< L1GtMuonTemplate > > | m_corMuonTemplate |
unsigned int | m_numberConditionChips |
hardware limits More... | |
unsigned int | m_numberL1JetCounts |
jet counts More... | |
unsigned int | m_numberPhysTriggers |
number of physics trigger algorithms More... | |
unsigned int | m_numberTechTriggers |
number of technical triggers More... | |
std::vector< int > | m_orderConditionChip |
unsigned int | m_pinsOnConditionChip |
number of pins on the GTL condition chips More... | |
std::string | m_scaleDbKey |
menu associated scale key More... | |
AlgorithmMap | m_technicalTriggerMap |
map containing the technical triggers More... | |
std::string | m_triggerMenuAuthor |
std::string | m_triggerMenuDate |
std::string | m_triggerMenuDescription |
std::string | m_triggerMenuImplementation |
std::string | m_triggerMenuInterface |
menu names More... | |
std::string | m_triggerMenuInterfaceAuthor |
std::string | m_triggerMenuInterfaceDate |
members for XML parser only (do not appear in CondFormats) More... | |
std::string | m_triggerMenuInterfaceDescription |
std::string | m_triggerMenuName |
std::vector< std::vector< L1GtBptxTemplate > > | m_vecBptxTemplate |
std::vector< std::vector< L1GtCaloTemplate > > | m_vecCaloTemplate |
std::vector< std::vector< L1GtCastorTemplate > > | m_vecCastorTemplate |
std::vector< std::vector< L1GtCorrelationTemplate > > | m_vecCorrelationTemplate |
std::vector< std::vector< L1GtEnergySumTemplate > > | m_vecEnergySumTemplate |
std::vector< std::vector< L1GtExternalTemplate > > | m_vecExternalTemplate |
std::vector< std::vector< L1GtHfBitCountsTemplate > > | m_vecHfBitCountsTemplate |
std::vector< std::vector< L1GtHfRingEtSumsTemplate > > | m_vecHfRingEtSumsTemplate |
std::vector< std::vector< L1GtJetCountsTemplate > > | m_vecJetCountsTemplate |
std::vector< std::vector< L1GtMuonTemplate > > | m_vecMuonTemplate |
XERCES_CPP_NAMESPACE::ErrorHandler * | m_xmlErrHandler |
error handler for xml-parser More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from L1GtXmlParserTags | |
static const std::string | m_xmlAlgorithmAttrAlias |
static const std::string | m_xmlAttrMax |
static const std::string | m_xmlAttrMode |
static const std::string | m_xmlAttrModeBit |
static const std::string | m_xmlAttrNr |
static const std::string | m_xmlAttrPin |
static const std::string | m_xmlAttrPinA |
static const std::string | m_xmlConditionAttrCondition |
static const std::string | m_xmlConditionAttrConditionBptx |
static const std::string | m_xmlConditionAttrConditionCalo |
static const std::string | m_xmlConditionAttrConditionCastor |
static const std::string | m_xmlConditionAttrConditionCorrelation |
static const std::string | m_xmlConditionAttrConditionEnergySum |
static const std::string | m_xmlConditionAttrConditionExternal |
static const std::string | m_xmlConditionAttrConditionHfBitCounts |
static const std::string | m_xmlConditionAttrConditionHfRingEtSums |
static const std::string | m_xmlConditionAttrConditionJetCounts |
static const std::string | m_xmlConditionAttrConditionMuon |
static const std::string | m_xmlConditionAttrObject |
static const std::string | m_xmlConditionAttrObjectBptx |
static const std::string | m_xmlConditionAttrObjectCastor |
static const std::string | m_xmlConditionAttrObjectCenJet |
static const std::string | m_xmlConditionAttrObjectETM |
static const std::string | m_xmlConditionAttrObjectETT |
static const std::string | m_xmlConditionAttrObjectForJet |
static const std::string | m_xmlConditionAttrObjectGtExternal |
static const std::string | m_xmlConditionAttrObjectHfBitCounts |
static const std::string | m_xmlConditionAttrObjectHfRingEtSums |
static const std::string | m_xmlConditionAttrObjectHTM |
static const std::string | m_xmlConditionAttrObjectHTT |
static const std::string | m_xmlConditionAttrObjectIsoEG |
static const std::string | m_xmlConditionAttrObjectJetCounts |
static const std::string | m_xmlConditionAttrObjectMu |
static const std::string | m_xmlConditionAttrObjectNoIsoEG |
static const std::string | m_xmlConditionAttrObjectTauJet |
static const std::string | m_xmlConditionAttrType |
static const std::string | m_xmlConditionAttrType1s |
static const std::string | m_xmlConditionAttrType2cor |
static const std::string | m_xmlConditionAttrType2s |
static const std::string | m_xmlConditionAttrType2wsc |
static const std::string | m_xmlConditionAttrType3s |
static const std::string | m_xmlConditionAttrType4s |
static const std::string | m_xmlConditionAttrTypeBptx |
static const std::string | m_xmlConditionAttrTypeCastor |
static const std::string | m_xmlConditionAttrTypeExternal |
static const std::string | m_xmlTagAlgorithms |
static const std::string | m_xmlTagCa |
static const std::string | m_xmlTagChargeCorrelation |
static const std::string | m_xmlTagChip |
static const std::string | m_xmlTagChip1 |
static const std::string | m_xmlTagChipDef |
static const std::string | m_xmlTagConditions |
static const std::string | m_xmlTagCountOverflow |
static const std::string | m_xmlTagCountThreshold |
static const std::string | m_xmlTagDef |
static const std::string | m_xmlTagDeltaEta |
static const std::string | m_xmlTagDeltaPhi |
static const std::string | m_xmlTagEnableIso |
static const std::string | m_xmlTagEnableMip |
static const std::string | m_xmlTagEnergyOverflow |
static const std::string | m_xmlTagEta |
static const std::string | m_xmlTagEtThreshold |
static const std::string | m_xmlTagGEq |
static const std::string | m_xmlTagHeader |
static const std::string | m_xmlTagMenuAlgImpl |
static const std::string | m_xmlTagMenuAuthor |
static const std::string | m_xmlTagMenuDate |
static const std::string | m_xmlTagMenuDescription |
static const std::string | m_xmlTagMenuInterface |
static const std::string | m_xmlTagMenuInterfaceAuthor |
static const std::string | m_xmlTagMenuInterfaceDate |
static const std::string | m_xmlTagMenuInterfaceDescription |
static const std::string | m_xmlTagOutput |
static const std::string | m_xmlTagOutputPin |
static const std::string | m_xmlTagPhi |
static const std::string | m_xmlTagPhiHigh |
static const std::string | m_xmlTagPhiLow |
static const std::string | m_xmlTagPtHighThreshold |
static const std::string | m_xmlTagPtLowThreshold |
static const std::string | m_xmlTagQuality |
static const std::string | m_xmlTagRequestIso |
static const std::string | m_xmlTagScaleDbKey |
static const std::string | m_xmlTagTechTriggers |
static const std::string | m_xmlTagValue |
static const std::string | m_xmlTagVme |
static const std::string | m_xmlTagVmeAddress |
Description: Xerces-C XML parser for the L1 Trigger menu.
Implementation: <TODO: enter implementation details>
Description: Xerces-C XML parser for the L1 Trigger menu.
Implementation: <TODO: enter implementation details>
Definition at line 51 of file L1GtTriggerMenuXmlParser.h.
L1GtTriggerMenuXmlParser::L1GtTriggerMenuXmlParser | ( | ) |
constructor empty
Definition at line 39 of file L1GtTriggerMenuXmlParser.cc.
|
override |
|
private |
shutdown the xml utils and deallocate parser and error handler
cleanupXML - Delete parser and error handler. Shutdown XMLPlatformUtils.
parser | A reference to the parser to be deleted. |
Definition at line 762 of file L1GtTriggerMenuXmlParser.cc.
References m_xmlErrHandler, writedatasetfile::parser, and cms::concurrency::xercesTerminate().
Referenced by gtAlgorithmImplementation(), and parseXmlFile().
|
private |
clearMaps - delete all conditions and algorithms in the maps and clear the maps.
Definition at line 834 of file L1GtTriggerMenuXmlParser.cc.
References m_algorithmMap, and m_conditionMap.
Referenced by gtAlgorithmImplementation(), workXML(), and ~L1GtTriggerMenuXmlParser().
|
inline |
Definition at line 186 of file L1GtTriggerMenuXmlParser.h.
References m_corCaloTemplate, and setCorCaloTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 191 of file L1GtTriggerMenuXmlParser.h.
References m_corEnergySumTemplate, and setCorEnergySumTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 181 of file L1GtTriggerMenuXmlParser.h.
References m_corMuonTemplate, and setCorMuonTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
private |
get the number of bits in the max attribute of a condition child
countConditionChildMaxBits Count the set bits in the max attribute. Needed for the wsc-values to determine 180 degree.
node | The xml node of the condition. |
childName | The name of the child |
dst | The destination to write the number of bits. |
Definition at line 595 of file L1GtTriggerMenuXmlParser.cc.
References counter, findXMLChild(), getXMLAttribute(), hexString2UInt128(), LogDebug, L1GtXmlParserTags::m_xmlAttrMax, L1GtXmlParserTags::m_xmlTagValue, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), parseCalo(), parseCorrelation(), and parseMuon().
|
private |
find a named child of a xml node
Definition at line 320 of file L1GtTriggerMenuXmlParser.cc.
References fetchall_from_DQM_v2::release, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by countConditionChildMaxBits(), getConditionChildValues(), getGEqFlag(), getMuonMipIsoBits(), gtAlgorithmImplementation(), parseAlgorithms(), parseConditions(), parseCorrelation(), parseEnergySum(), parseId(), parseMuon(), parseTechTriggers(), parseVmeXML(), workAlgorithm(), and workTechTrigger().
|
private |
get bit from a bit node
getBitFromNode Get a bit from a specified bitvalue node.
node | The xml node. |
Definition at line 1084 of file L1GtTriggerMenuXmlParser.cc.
References getXMLAttribute(), getXMLTextValue(), L1GtXmlParserTags::m_xmlAttrMode, L1GtXmlParserTags::m_xmlAttrModeBit, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getGEqFlag(), getMuonMipIsoBits(), gtAlgorithmImplementation(), and parseEnergySum().
|
private |
get values from a child of a condition
getConditionChildValues - Get values from a child of a condition.
node | The xml node of the condition. |
childName | The name of the child the values should be extracted from. |
num | The number of values needed. |
dst | A pointer to a vector of uint64_t where the results are written. |
Definition at line 703 of file L1GtTriggerMenuXmlParser.cc.
References findXMLChild(), getXMLHexTextValue(), mps_fire::i, LogDebug, L1GtXmlParserTags::m_xmlTagValue, and EgammaValidation_cff::num.
Referenced by gtAlgorithmImplementation(), parseCalo(), parseEnergySum(), parseHfBitCounts(), parseHfRingEtSums(), parseJetCounts(), and parseMuon().
|
private |
getGEqFlag - get the "greater or equal flag" from a condition
getGEqFlag - get the "greater or equal flag" from a condition
node | The xml node of the condition. The name of the node from which the flag is a subchild. |
Definition at line 1111 of file L1GtTriggerMenuXmlParser.cc.
References findXMLChild(), getBitFromNode(), LogDebug, and L1GtXmlParserTags::m_xmlTagGEq.
Referenced by gtAlgorithmImplementation(), parseCalo(), parseCorrelation(), parseEnergySum(), parseHfBitCounts(), parseHfRingEtSums(), parseJetCounts(), and parseMuon().
|
private |
get MIP and Isolation bits from a muon
getMuonMipIsoBits - get MIP and Isolation bits from a muon.
node | The node of the condition. |
num | The number of bits required. |
mipDst | A pointer to the vector of the MIP bits. |
isoEnDst | A pointer to the vector of the "enable isolation" bits. |
isoReqDst | A pointer to the vector of the "request isolation" bits. |
Definition at line 1150 of file L1GtTriggerMenuXmlParser.cc.
References findXMLChild(), getBitFromNode(), mps_fire::i, L1GtXmlParserTags::m_xmlTagEnableIso, L1GtXmlParserTags::m_xmlTagEnableMip, L1GtXmlParserTags::m_xmlTagPtLowThreshold, L1GtXmlParserTags::m_xmlTagRequestIso, L1GtXmlParserTags::m_xmlTagValue, and EgammaValidation_cff::num.
Referenced by gtAlgorithmImplementation(), and parseMuon().
|
private |
get number of particles from condition type
getNumFromType - get the number of particles from a specified type name (for calorimeter objects and muons)
type | The name of the type |
Definition at line 1048 of file L1GtTriggerMenuXmlParser.cc.
References L1GtXmlParserTags::m_xmlConditionAttrType1s, L1GtXmlParserTags::m_xmlConditionAttrType2cor, L1GtXmlParserTags::m_xmlConditionAttrType2s, L1GtXmlParserTags::m_xmlConditionAttrType2wsc, L1GtXmlParserTags::m_xmlConditionAttrType3s, and L1GtXmlParserTags::m_xmlConditionAttrType4s.
Referenced by gtAlgorithmImplementation(), parseCalo(), and parseMuon().
|
private |
get the type of the condition, as defined in enum, from the condition type as defined in the XML file
Definition at line 1011 of file L1GtTriggerMenuXmlParser.cc.
References L1GtXmlParserTags::m_xmlConditionAttrType1s, L1GtXmlParserTags::m_xmlConditionAttrType2cor, L1GtXmlParserTags::m_xmlConditionAttrType2s, L1GtXmlParserTags::m_xmlConditionAttrType2wsc, L1GtXmlParserTags::m_xmlConditionAttrType3s, L1GtXmlParserTags::m_xmlConditionAttrType4s, Type1s, Type2cor, Type2s, Type2wsc, Type3s, Type4s, and TypeNull.
Referenced by gtAlgorithmImplementation(), parseCalo(), and parseMuon().
|
private |
get a named attribute for an xml node as string
getXMLAttribute - get a named attribute from a node
node | The node to get the attribute from |
name | The name of the attribut to get |
Definition at line 389 of file L1GtTriggerMenuXmlParser.cc.
References fetchall_from_DQM_v2::release, runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by countConditionChildMaxBits(), getBitFromNode(), gtAlgorithmImplementation(), parseBptx(), parseCalo(), parseCastor(), parseCorrelation(), parseEnergySum(), parseExternal(), parseHfBitCounts(), parseHfRingEtSums(), parseJetCounts(), parseMuon(), workAlgorithm(), workCondition(), and workTechTrigger().
|
private |
get a hexadecimal value of a xml node containing text
getXMLHexTextValue Get the integer representation of a xml text child representing a hex value
node | The xml node to get the value from. |
dst | The destination the value is written to. |
Definition at line 566 of file L1GtTriggerMenuXmlParser.cc.
References getXMLHexTextValue128().
Referenced by getConditionChildValues(), gtAlgorithmImplementation(), parseEnergySum(), and parseMuon().
|
private |
get a hexadecimal value of a xml node containing text with up to 128 bit
getXMLHexTextValue128 Get the integer representation of a xml-node containing a hexadecimal value. The value may contain up to 128 bits.
node - The reference to the node to get the value from. dstL - The destination for the lower 64bit dstH - The destination for the higher 64bit
Definition at line 533 of file L1GtTriggerMenuXmlParser.cc.
References getXMLTextValue(), hexString2UInt128(), LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by getXMLHexTextValue(), gtAlgorithmImplementation(), parseEnergySum(), and parseMuon().
|
private |
get the text value of a xml node as string
getXMLTextValue - get the textvalue from a specified node
node | The reference to the node. |
Definition at line 425 of file L1GtTriggerMenuXmlParser.cc.
References fetchall_from_DQM_v2::release, runTheMatrix::ret, AlCaHLTBitMon_QueryRunRegistry::string, and trim().
Referenced by getBitFromNode(), getXMLHexTextValue128(), gtAlgorithmImplementation(), parseCorrelation(), parseId(), workAlgorithm(), and workTechTrigger().
|
inline |
get / set the algorithm map (by alias)
Definition at line 203 of file L1GtTriggerMenuXmlParser.h.
References m_algorithmAliasMap, and setGtAlgorithmAliasMap().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 244 of file L1GtTriggerMenuXmlParser.h.
References cleanupXML(), clearMaps(), countConditionChildMaxBits(), findXMLChild(), getBitFromNode(), getConditionChildValues(), getGEqFlag(), getMuonMipIsoBits(), getNumFromType(), getTypeFromType(), getXMLAttribute(), getXMLHexTextValue(), getXMLHexTextValue128(), getXMLTextValue(), hexString2UInt128(), initXML(), insertAlgorithmIntoMap(), insertConditionIntoMap(), insertTechTriggerIntoMap(), m_algorithmImplementation, Skims_PA_cff::name, EgammaValidation_cff::num, parseAlgorithms(), parseBptx(), parseCalo(), parseCastor(), parseConditions(), parseCorrelation(), parseEnergySum(), parseExternal(), parseHfBitCounts(), parseHfRingEtSums(), parseId(), parseJetCounts(), parseMuon(), writedatasetfile::parser, parseTechTriggers(), parseVmeXML(), mergeAndRegister::rest, setGtAlgorithmImplementation(), AlCaHLTBitMon_QueryRunRegistry::string, JetPartonCorrections_cff::tagName, workAlgorithm(), workCondition(), workTechTrigger(), and workXML().
|
inline |
get / set the algorithm map (by name)
Definition at line 198 of file L1GtTriggerMenuXmlParser.h.
References m_algorithmMap, and setGtAlgorithmMap().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
get / set / build the condition maps
Definition at line 94 of file L1GtTriggerMenuXmlParser.h.
References m_conditionMap, and setGtConditionMap().
|
inline |
get / set the number of condition chips in GTL
Definition at line 62 of file L1GtTriggerMenuXmlParser.h.
References m_numberConditionChips, and setGtNumberConditionChips().
|
inline |
get / set the number of L1 jet counts received by GT
Definition at line 88 of file L1GtTriggerMenuXmlParser.h.
References m_numberL1JetCounts, and setGtNumberL1JetCounts().
|
inline |
get / set the number of physics trigger algorithms
Definition at line 78 of file L1GtTriggerMenuXmlParser.h.
References m_numberPhysTriggers, and setGtNumberPhysTriggers().
|
inline |
get / set the number of technical triggers
Definition at line 83 of file L1GtTriggerMenuXmlParser.h.
References m_numberTechTriggers, and setGtNumberTechTriggers().
|
inline |
get / set the correspondence "condition chip - GTL algorithm word" in the hardware
Definition at line 73 of file L1GtTriggerMenuXmlParser.h.
References m_orderConditionChip, and setGtOrderConditionChip().
|
inline |
get / set the number of pins on the GTL condition chips
Definition at line 67 of file L1GtTriggerMenuXmlParser.h.
References m_pinsOnConditionChip, and setGtPinsOnConditionChip().
|
inline |
menu associated scale key
Definition at line 114 of file L1GtTriggerMenuXmlParser.h.
References m_scaleDbKey, setGtScaleDbKey(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
get / set the technical trigger map
Definition at line 208 of file L1GtTriggerMenuXmlParser.h.
References m_technicalTriggerMap, parseXmlFile(), setGtTechnicalTriggerMap(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 236 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuAuthor, setGtTriggerMenuAuthor(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 232 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuDate, setGtTriggerMenuDate(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 240 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuDescription, setGtTriggerMenuDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 109 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuImplementation, setGtTriggerMenuImplementation(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
get / set the trigger menu names
Definition at line 99 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuInterface, setGtTriggerMenuInterface(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 222 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuInterfaceAuthor, setGtTriggerMenuInterfaceAuthor(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
get / set the XML parser creation date, author, description for menu interface, menu
Definition at line 218 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuInterfaceDate, setGtTriggerMenuInterfaceDate(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 226 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuInterfaceDescription, setGtTriggerMenuInterfaceDescription(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 104 of file L1GtTriggerMenuXmlParser.h.
References m_triggerMenuName, setGtTriggerMenuName(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
private |
convert a hexadecimal string with up to 128 to 2 uint64_t
hexString2UInt128 converts an up to 128 bit hexadecimal string to two uint64_t
hex | The string to be converted. |
dstL | The target for the lower 64 bit. |
dstH | The target for the upper 64 bit. |
Definition at line 459 of file L1GtTriggerMenuXmlParser.cc.
References LogDebug, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by countConditionChildMaxBits(), getXMLHexTextValue128(), and gtAlgorithmImplementation().
|
private |
init xml system
initXML - Initialize XML-utilities and try to create a parser for the specified file.
xmlFile | Filename of the XML-File |
Definition at line 258 of file L1GtTriggerMenuXmlParser.cc.
References m_xmlErrHandler, writedatasetfile::parser, fetchall_from_DQM_v2::release, and cms::concurrency::xercesInitialize().
Referenced by gtAlgorithmImplementation(), and parseXmlFile().
|
private |
insert an algorithm into algorithm map
Definition at line 871 of file L1GtTriggerMenuXmlParser.cc.
References L1GtAlgorithm::algoAlias(), L1GtAlgorithm::algoBitNumber(), L1GtAlgorithm::algoChipNumber(), L1GtAlgorithm::algoName(), L1GtAlgorithm::algoOutputPin(), L1TBPTX_cfi::bitNumber, LogTrace, m_algorithmAliasMap, m_algorithmMap, m_numberConditionChips, m_numberPhysTriggers, m_orderConditionChip, m_pinsOnConditionChip, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and workAlgorithm().
|
private |
insertConditionIntoMap - safe insert of condition into condition map. if the condition name already exists, do not insert it and return false
Definition at line 850 of file L1GtTriggerMenuXmlParser.cc.
References L1GtCondition::condName(), KineDebug3::count(), LogTrace, m_conditionMap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), parseBptx(), parseCalo(), parseCastor(), parseCorrelation(), parseEnergySum(), parseExternal(), parseHfBitCounts(), parseHfRingEtSums(), parseJetCounts(), and parseMuon().
|
private |
insert a technical trigger into technical trigger map
Definition at line 957 of file L1GtTriggerMenuXmlParser.cc.
References L1GtAlgorithm::algoBitNumber(), L1GtAlgorithm::algoName(), L1TBPTX_cfi::bitNumber, LogTrace, m_numberTechTriggers, m_technicalTriggerMap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and workTechTrigger().
|
private |
parse all algorithms
Definition at line 3193 of file L1GtTriggerMenuXmlParser.cc.
References common_cff::doc, findXMLChild(), m_numberConditionChips, L1GtXmlParserTags::m_xmlTagAlgorithms, L1GtXmlParserTags::m_xmlTagChip, L1GtXmlParserTags::m_xmlTagDef, AlCaHLTBitMon_QueryRunRegistry::string, and workAlgorithm().
Referenced by gtAlgorithmImplementation(), and workXML().
|
private |
parse a Bptx condition
parseBptx Parse a BPTX condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2352 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getXMLAttribute(), insertConditionIntoMap(), LogTrace, m_vecBptxTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectBptx, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeBptx.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse a calorimeter condition
parseCalo Parse a calo condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 1513 of file L1GtTriggerMenuXmlParser.cc.
References CenJet, goodZToMuMu_cfi::condition, countConditionChildMaxBits(), L1GtCaloTemplate::CorrelationParameter::deltaEtaRange, L1GtCaloTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtCaloTemplate::CorrelationParameter::deltaPhiRange, ForJet, getConditionChildValues(), getGEqFlag(), getNumFromType(), getTypeFromType(), getXMLAttribute(), mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), IsoEG, LogTrace, m_corCaloTemplate, m_vecCaloTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectCenJet, L1GtXmlParserTags::m_xmlConditionAttrObjectForJet, L1GtXmlParserTags::m_xmlConditionAttrObjectIsoEG, L1GtXmlParserTags::m_xmlConditionAttrObjectNoIsoEG, L1GtXmlParserTags::m_xmlConditionAttrObjectTauJet, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlConditionAttrType2wsc, L1GtXmlParserTags::m_xmlTagDeltaEta, L1GtXmlParserTags::m_xmlTagDeltaPhi, L1GtXmlParserTags::m_xmlTagEta, L1GtXmlParserTags::m_xmlTagEtThreshold, L1GtXmlParserTags::m_xmlTagPhi, NoIsoEG, electrons_cff::objType, L1GtCaloTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCaloTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, TauJet, and TypeNull.
Referenced by gtAlgorithmImplementation(), parseCorrelation(), and workCondition().
|
private |
parse a CASTOR condition
parseCastor Parse a CASTOR condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2048 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getXMLAttribute(), insertConditionIntoMap(), edm::isDebugEnabled(), LogTrace, m_vecCastorTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectCastor, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtCastorTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeCastor.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse all conditions
parseConditions - look for conditions and call the workCondition function for each node
parser | The parser to parse the XML file with. |
Definition at line 3008 of file L1GtTriggerMenuXmlParser.cc.
References common_cff::doc, findXMLChild(), LogTrace, m_numberConditionChips, L1GtXmlParserTags::m_xmlTagChip, L1GtXmlParserTags::m_xmlTagConditions, L1GtXmlParserTags::m_xmlTagDef, fetchall_from_DQM_v2::release, AlCaHLTBitMon_QueryRunRegistry::string, and workCondition().
Referenced by gtAlgorithmImplementation(), and workXML().
|
private |
parse a correlation condition
parseCorrelation Parse a correlation condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2472 of file L1GtTriggerMenuXmlParser.cc.
References CenJet, CondCalo, CondEnergySum, goodZToMuMu_cfi::condition, CondMuon, countConditionChildMaxBits(), L1GtCorrelationTemplate::CorrelationParameter::deltaEtaRange, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtCorrelationTemplate::CorrelationParameter::deltaPhiRange, ETM, ETT, findXMLChild(), ForJet, getGEqFlag(), getXMLAttribute(), getXMLTextValue(), HTM, HTT, insertConditionIntoMap(), edm::isDebugEnabled(), IsoEG, LogTrace, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_vecCorrelationTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrConditionCalo, L1GtXmlParserTags::m_xmlConditionAttrConditionEnergySum, L1GtXmlParserTags::m_xmlConditionAttrConditionMuon, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectCenJet, L1GtXmlParserTags::m_xmlConditionAttrObjectETM, L1GtXmlParserTags::m_xmlConditionAttrObjectETT, L1GtXmlParserTags::m_xmlConditionAttrObjectForJet, L1GtXmlParserTags::m_xmlConditionAttrObjectHTM, L1GtXmlParserTags::m_xmlConditionAttrObjectHTT, L1GtXmlParserTags::m_xmlConditionAttrObjectIsoEG, L1GtXmlParserTags::m_xmlConditionAttrObjectNoIsoEG, L1GtXmlParserTags::m_xmlConditionAttrObjectTauJet, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlTagDeltaEta, L1GtXmlParserTags::m_xmlTagDeltaPhi, L1GtXmlParserTags::m_xmlTagEtThreshold, L1GtXmlParserTags::m_xmlTagPtHighThreshold, Mu, NoIsoEG, electrons_cff::objType, parseCalo(), parseEnergySum(), parseMuon(), findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, TauJet, and Type2cor.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse an "energy sum" condition
parseEnergySum Parse an "energy sum" condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 1707 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, TauDecayModes::dec, ETM, ETT, findXMLChild(), getBitFromNode(), getConditionChildValues(), getGEqFlag(), getXMLAttribute(), getXMLHexTextValue(), getXMLHexTextValue128(), HTM, HTT, mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), LogTrace, m_corEnergySumTemplate, m_vecEnergySumTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectETM, L1GtXmlParserTags::m_xmlConditionAttrObjectETT, L1GtXmlParserTags::m_xmlConditionAttrObjectHTM, L1GtXmlParserTags::m_xmlConditionAttrObjectHTT, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlTagEnergyOverflow, L1GtXmlParserTags::m_xmlTagEtThreshold, L1GtXmlParserTags::m_xmlTagPhi, electrons_cff::objType, L1GtEnergySumTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtEnergySumTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, TypeETM, TypeETT, TypeHTM, and TypeHTT.
Referenced by gtAlgorithmImplementation(), parseCorrelation(), and workCondition().
|
private |
parse an External condition
parseExternal Parse an External condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2412 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getXMLAttribute(), insertConditionIntoMap(), LogTrace, m_vecExternalTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectGtExternal, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtCondition::setCondType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeExternal.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse a HfBitCounts condition
parseHfBitCounts Parse a "HF bit counts" condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2112 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getConditionChildValues(), getGEqFlag(), getXMLAttribute(), HfBitCounts, mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), LogDebug, LogTrace, m_vecHfBitCountsTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectHfBitCounts, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlTagCountThreshold, electrons_cff::objType, L1GtHfBitCountsTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtHfBitCountsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeHfBitCounts.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse a HfRingEtSums condition
parseHfRingEtSums Parse a "HF Ring ET sums" condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 2232 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getConditionChildValues(), getGEqFlag(), getXMLAttribute(), HfRingEtSums, mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), LogDebug, LogTrace, m_vecHfRingEtSumsTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectHfRingEtSums, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlTagEtThreshold, electrons_cff::objType, L1GtHfRingEtSumsTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtHfRingEtSumsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeHfRingEtSums.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse all parse all identification attributes (trigger menu names, scale DB key, etc)
parseId - parse all identification attributes (trigger menu names, scale DB key, etc)
parser | The parser to parse the XML file with. |
Definition at line 2745 of file L1GtTriggerMenuXmlParser.cc.
References common_cff::doc, findXMLChild(), getXMLTextValue(), LogDebug, LogTrace, m_algorithmImplementation, m_scaleDbKey, m_triggerMenuAuthor, m_triggerMenuDate, m_triggerMenuDescription, m_triggerMenuInterface, m_triggerMenuInterfaceAuthor, m_triggerMenuInterfaceDate, m_triggerMenuInterfaceDescription, m_triggerMenuName, L1GtXmlParserTags::m_xmlTagDef, L1GtXmlParserTags::m_xmlTagHeader, L1GtXmlParserTags::m_xmlTagMenuAlgImpl, L1GtXmlParserTags::m_xmlTagMenuAuthor, L1GtXmlParserTags::m_xmlTagMenuDate, L1GtXmlParserTags::m_xmlTagMenuDescription, L1GtXmlParserTags::m_xmlTagMenuInterface, L1GtXmlParserTags::m_xmlTagMenuInterfaceAuthor, L1GtXmlParserTags::m_xmlTagMenuInterfaceDate, L1GtXmlParserTags::m_xmlTagMenuInterfaceDescription, L1GtXmlParserTags::m_xmlTagScaleDbKey, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and workXML().
|
private |
parse a "jet counts" condition
parseJetCounts Parse a "jet counts" condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 1886 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getConditionChildValues(), getGEqFlag(), getXMLAttribute(), mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), JetCounts, LogDebug, LogTrace, m_numberL1JetCounts, m_vecJetCountsTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectJetCounts, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlTagCountThreshold, electrons_cff::objType, L1GtJetCountsTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtJetCountsTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeJetCounts.
Referenced by gtAlgorithmImplementation(), and workCondition().
|
private |
parse a muon condition
parseMuon Parse a muon condition and insert an entry to the conditions map
node | The corresponding node. |
name | The name of the condition. |
chipNr | The number of the chip this condition is located. |
Definition at line 1246 of file L1GtTriggerMenuXmlParser.cc.
References L1GtMuonTemplate::CorrelationParameter::chargeCorrelation, goodZToMuMu_cfi::condition, countConditionChildMaxBits(), L1GtMuonTemplate::CorrelationParameter::deltaEtaRange, L1GtMuonTemplate::CorrelationParameter::deltaPhiMaxbits, L1GtMuonTemplate::CorrelationParameter::deltaPhiRange0Word, L1GtMuonTemplate::CorrelationParameter::deltaPhiRange1Word, findXMLChild(), getConditionChildValues(), getGEqFlag(), getMuonMipIsoBits(), getNumFromType(), getTypeFromType(), getXMLAttribute(), getXMLHexTextValue(), getXMLHexTextValue128(), mps_fire::i, insertConditionIntoMap(), edm::isDebugEnabled(), LogDebug, LogTrace, m_corMuonTemplate, m_vecMuonTemplate, L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrObjectMu, L1GtXmlParserTags::m_xmlConditionAttrType, L1GtXmlParserTags::m_xmlConditionAttrType2wsc, L1GtXmlParserTags::m_xmlTagChargeCorrelation, L1GtXmlParserTags::m_xmlTagDeltaEta, L1GtXmlParserTags::m_xmlTagDeltaPhi, L1GtXmlParserTags::m_xmlTagEta, L1GtXmlParserTags::m_xmlTagPhiHigh, L1GtXmlParserTags::m_xmlTagPhiLow, L1GtXmlParserTags::m_xmlTagPtHighThreshold, L1GtXmlParserTags::m_xmlTagPtLowThreshold, L1GtXmlParserTags::m_xmlTagQuality, Mu, electrons_cff::objType, L1GtMuonTemplate::print(), L1GtCondition::setCondChipNr(), L1GtCondition::setCondGEq(), L1GtMuonTemplate::setConditionParameter(), L1GtCondition::setCondType(), L1GtCondition::setObjectType(), AlCaHLTBitMon_QueryRunRegistry::string, and TypeNull.
Referenced by gtAlgorithmImplementation(), parseCorrelation(), and workCondition().
|
private |
parse all algorithms
Definition at line 3347 of file L1GtTriggerMenuXmlParser.cc.
References common_cff::doc, findXMLChild(), L1GtXmlParserTags::m_xmlTagDef, L1GtXmlParserTags::m_xmlTagTechTriggers, AlCaHLTBitMon_QueryRunRegistry::string, and workTechTrigger().
Referenced by gtAlgorithmImplementation(), and workXML().
|
private |
parse the vme xml file
parseVmeXML parse a xml file
parser | The parser to use for parsing the file. |
Definition at line 788 of file L1GtTriggerMenuXmlParser.cc.
References common_cff::doc, findXMLChild(), m_numberConditionChips, L1GtXmlParserTags::m_xmlTagChip, and L1GtXmlParserTags::m_xmlTagVme.
Referenced by gtAlgorithmImplementation().
void L1GtTriggerMenuXmlParser::parseXmlFile | ( | const std::string & | defXmlFile, |
const std::string & | vmeXmlFile | ||
) |
parse def.xml and vme.xml files
Definition at line 179 of file L1GtTriggerMenuXmlParser.cc.
References cleanupXML(), initXML(), LogTrace, m_conditionMap, m_corCaloTemplate, m_corEnergySumTemplate, m_corMuonTemplate, m_numberConditionChips, m_triggerMenuName, m_vecBptxTemplate, m_vecCaloTemplate, m_vecCastorTemplate, m_vecCorrelationTemplate, m_vecEnergySumTemplate, m_vecExternalTemplate, m_vecHfBitCountsTemplate, m_vecHfRingEtSumsTemplate, m_vecJetCountsTemplate, m_vecMuonTemplate, m_xmlErrHandler, writedatasetfile::parser, and workXML().
Referenced by gtTechnicalTriggerMap(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setCorCaloTemplate | ( | const std::vector< std::vector< L1GtCaloTemplate > > & | corCaloTempl | ) |
Definition at line 158 of file L1GtTriggerMenuXmlParser.cc.
References m_corCaloTemplate.
Referenced by corCaloTemplate().
void L1GtTriggerMenuXmlParser::setCorEnergySumTemplate | ( | const std::vector< std::vector< L1GtEnergySumTemplate > > & | corEnergySumTempl | ) |
Definition at line 162 of file L1GtTriggerMenuXmlParser.cc.
References m_corEnergySumTemplate.
Referenced by corEnergySumTemplate().
void L1GtTriggerMenuXmlParser::setCorMuonTemplate | ( | const std::vector< std::vector< L1GtMuonTemplate > > & | corMuonTempl | ) |
Definition at line 154 of file L1GtTriggerMenuXmlParser.cc.
References m_corMuonTemplate.
Referenced by corMuonTemplate().
void L1GtTriggerMenuXmlParser::setGtAlgorithmAliasMap | ( | const AlgorithmMap & | algoMap | ) |
Definition at line 171 of file L1GtTriggerMenuXmlParser.cc.
References m_algorithmAliasMap.
Referenced by gtAlgorithmAliasMap().
void L1GtTriggerMenuXmlParser::setGtAlgorithmImplementation | ( | const std::string & | val | ) |
Definition at line 245 of file L1GtTriggerMenuXmlParser.cc.
References m_algorithmImplementation, and heppy_batch::val.
Referenced by gtAlgorithmImplementation().
void L1GtTriggerMenuXmlParser::setGtAlgorithmMap | ( | const AlgorithmMap & | algoMap | ) |
Definition at line 168 of file L1GtTriggerMenuXmlParser.cc.
References m_algorithmMap.
Referenced by gtAlgorithmMap().
void L1GtTriggerMenuXmlParser::setGtConditionMap | ( | const std::vector< ConditionMap > & | condMap | ) |
Definition at line 88 of file L1GtTriggerMenuXmlParser.cc.
References m_conditionMap.
Referenced by gtConditionMap().
void L1GtTriggerMenuXmlParser::setGtNumberConditionChips | ( | const unsigned int & | numberConditionChipsValue | ) |
Definition at line 57 of file L1GtTriggerMenuXmlParser.cc.
References m_numberConditionChips.
Referenced by gtNumberConditionChips(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtNumberL1JetCounts | ( | const unsigned int & | numberL1JetCountsValue | ) |
Definition at line 83 of file L1GtTriggerMenuXmlParser.cc.
References m_numberL1JetCounts.
Referenced by gtNumberL1JetCounts(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtNumberPhysTriggers | ( | const unsigned int & | numberPhysTriggersValue | ) |
Definition at line 73 of file L1GtTriggerMenuXmlParser.cc.
References m_numberPhysTriggers.
Referenced by gtNumberPhysTriggers(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtNumberTechTriggers | ( | const unsigned int & | numberTechTriggersValue | ) |
Definition at line 78 of file L1GtTriggerMenuXmlParser.cc.
References m_numberTechTriggers.
Referenced by gtNumberTechTriggers(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtOrderConditionChip | ( | const std::vector< int > & | orderConditionChipValue | ) |
Definition at line 68 of file L1GtTriggerMenuXmlParser.cc.
References m_orderConditionChip.
Referenced by gtOrderConditionChip(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtPinsOnConditionChip | ( | const unsigned int & | pinsOnConditionChipValue | ) |
Definition at line 62 of file L1GtTriggerMenuXmlParser.cc.
References m_pinsOnConditionChip.
Referenced by gtPinsOnConditionChip(), and L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
void L1GtTriggerMenuXmlParser::setGtScaleDbKey | ( | const std::string & | scaleKey | ) |
Definition at line 102 of file L1GtTriggerMenuXmlParser.cc.
References m_scaleDbKey.
Referenced by gtScaleDbKey().
void L1GtTriggerMenuXmlParser::setGtTechnicalTriggerMap | ( | const AlgorithmMap & | ttMap | ) |
Definition at line 174 of file L1GtTriggerMenuXmlParser.cc.
References m_technicalTriggerMap.
Referenced by gtTechnicalTriggerMap().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuAuthor | ( | const std::string & | val | ) |
Definition at line 241 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuAuthor, and heppy_batch::val.
Referenced by gtTriggerMenuAuthor().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuDate | ( | const std::string & | val | ) |
Definition at line 239 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuDate, and heppy_batch::val.
Referenced by gtTriggerMenuDate().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuDescription | ( | const std::string & | val | ) |
Definition at line 243 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuDescription, and heppy_batch::val.
Referenced by gtTriggerMenuDescription().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuImplementation | ( | const std::string & | menuImplementation | ) |
Definition at line 97 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuImplementation.
Referenced by gtTriggerMenuImplementation().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuInterface | ( | const std::string & | menuInterface | ) |
Definition at line 91 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuInterface.
Referenced by gtTriggerMenuInterface().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuInterfaceAuthor | ( | const std::string & | val | ) |
Definition at line 231 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuInterfaceAuthor, and heppy_batch::val.
Referenced by gtTriggerMenuInterfaceAuthor().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuInterfaceDate | ( | const std::string & | val | ) |
Definition at line 227 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuInterfaceDate, and heppy_batch::val.
Referenced by gtTriggerMenuInterfaceDate().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuInterfaceDescription | ( | const std::string & | val | ) |
Definition at line 235 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuInterfaceDescription, and heppy_batch::val.
Referenced by gtTriggerMenuInterfaceDescription().
void L1GtTriggerMenuXmlParser::setGtTriggerMenuName | ( | const std::string & | menuName | ) |
Definition at line 95 of file L1GtTriggerMenuXmlParser.cc.
References m_triggerMenuName.
Referenced by gtTriggerMenuName().
void L1GtTriggerMenuXmlParser::setVecBptxTemplate | ( | const std::vector< std::vector< L1GtBptxTemplate > > & | vecBptxTempl | ) |
Definition at line 138 of file L1GtTriggerMenuXmlParser.cc.
References m_vecBptxTemplate.
Referenced by vecBptxTemplate().
void L1GtTriggerMenuXmlParser::setVecCaloTemplate | ( | const std::vector< std::vector< L1GtCaloTemplate > > & | vecCaloTempl | ) |
Definition at line 109 of file L1GtTriggerMenuXmlParser.cc.
References m_vecCaloTemplate.
Referenced by vecCaloTemplate().
void L1GtTriggerMenuXmlParser::setVecCastorTemplate | ( | const std::vector< std::vector< L1GtCastorTemplate > > & | vecCastorTempl | ) |
Definition at line 123 of file L1GtTriggerMenuXmlParser.cc.
References m_vecCastorTemplate.
Referenced by vecCastorTemplate().
void L1GtTriggerMenuXmlParser::setVecCorrelationTemplate | ( | const std::vector< std::vector< L1GtCorrelationTemplate > > & | vecCorrelationTempl | ) |
Definition at line 147 of file L1GtTriggerMenuXmlParser.cc.
References m_vecCorrelationTemplate.
Referenced by vecCorrelationTemplate().
void L1GtTriggerMenuXmlParser::setVecEnergySumTemplate | ( | const std::vector< std::vector< L1GtEnergySumTemplate > > & | vecEnergySumTempl | ) |
Definition at line 113 of file L1GtTriggerMenuXmlParser.cc.
References m_vecEnergySumTemplate.
Referenced by vecEnergySumTemplate().
void L1GtTriggerMenuXmlParser::setVecExternalTemplate | ( | const std::vector< std::vector< L1GtExternalTemplate > > & | vecExternalTempl | ) |
Definition at line 142 of file L1GtTriggerMenuXmlParser.cc.
References m_vecExternalTemplate.
Referenced by vecExternalTemplate().
void L1GtTriggerMenuXmlParser::setVecHfBitCountsTemplate | ( | const std::vector< std::vector< L1GtHfBitCountsTemplate > > & | vecHfBitCountsTempl | ) |
Definition at line 128 of file L1GtTriggerMenuXmlParser.cc.
References m_vecHfBitCountsTemplate.
Referenced by vecHfBitCountsTemplate().
void L1GtTriggerMenuXmlParser::setVecHfRingEtSumsTemplate | ( | const std::vector< std::vector< L1GtHfRingEtSumsTemplate > > & | vecHfRingEtSumsTempl | ) |
Definition at line 133 of file L1GtTriggerMenuXmlParser.cc.
References m_vecHfRingEtSumsTemplate.
Referenced by vecHfRingEtSumsTemplate().
void L1GtTriggerMenuXmlParser::setVecJetCountsTemplate | ( | const std::vector< std::vector< L1GtJetCountsTemplate > > & | vecJetCountsTempl | ) |
Definition at line 118 of file L1GtTriggerMenuXmlParser.cc.
References m_vecJetCountsTemplate.
Referenced by vecJetCountsTemplate().
void L1GtTriggerMenuXmlParser::setVecMuonTemplate | ( | const std::vector< std::vector< L1GtMuonTemplate > > & | vecMuonTempl | ) |
Definition at line 105 of file L1GtTriggerMenuXmlParser.cc.
References m_vecMuonTemplate.
Referenced by vecMuonTemplate().
|
inline |
Definition at line 161 of file L1GtTriggerMenuXmlParser.h.
References m_vecBptxTemplate, and setVecBptxTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 123 of file L1GtTriggerMenuXmlParser.h.
References m_vecCaloTemplate, and setVecCaloTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 142 of file L1GtTriggerMenuXmlParser.h.
References m_vecCastorTemplate, and setVecCastorTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 173 of file L1GtTriggerMenuXmlParser.h.
References m_vecCorrelationTemplate, and setVecCorrelationTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 128 of file L1GtTriggerMenuXmlParser.h.
References m_vecEnergySumTemplate, and setVecEnergySumTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 166 of file L1GtTriggerMenuXmlParser.h.
References m_vecExternalTemplate, and setVecExternalTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 147 of file L1GtTriggerMenuXmlParser.h.
References m_vecHfBitCountsTemplate, and setVecHfBitCountsTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 154 of file L1GtTriggerMenuXmlParser.h.
References m_vecHfRingEtSumsTemplate, and setVecHfRingEtSumsTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
Definition at line 135 of file L1GtTriggerMenuXmlParser.h.
References m_vecJetCountsTemplate, and setVecJetCountsTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
inline |
get / set the vectors containing the conditions
Definition at line 119 of file L1GtTriggerMenuXmlParser.h.
References m_vecMuonTemplate, and setVecMuonTemplate().
Referenced by L1GtTriggerMenuXmlProducer::produceGtTriggerMenu().
|
private |
parse an algorithm and insert it into algorithm map.
workAlgorithm - parse the algorithm and insert it into algorithm map.
node | The corresponding node to the algorithm. |
name | The name of the algorithm. |
chipNr | The number of the chip the conditions for that algorithm are located on. |
Definition at line 3087 of file L1GtTriggerMenuXmlParser.cc.
References L1TBPTX_cfi::bitNumber, findXMLChild(), getXMLAttribute(), getXMLTextValue(), insertAlgorithmIntoMap(), edm::isDebugEnabled(), LogDebug, LogTrace, m_orderConditionChip, m_pinsOnConditionChip, L1GtXmlParserTags::m_xmlAlgorithmAttrAlias, L1GtXmlParserTags::m_xmlAttrNr, L1GtXmlParserTags::m_xmlTagOutput, L1GtXmlParserTags::m_xmlTagOutputPin, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and parseAlgorithms().
|
private |
choose the parser for a particular condition
workCondition - call the appropriate function to parse this condition.
node | The corresponding node to the condition. |
name | The name of the condition. |
chipNr | The number of the chip the condition is located on. |
Definition at line 2947 of file L1GtTriggerMenuXmlParser.cc.
References goodZToMuMu_cfi::condition, getXMLAttribute(), L1GtXmlParserTags::m_xmlConditionAttrCondition, L1GtXmlParserTags::m_xmlConditionAttrConditionBptx, L1GtXmlParserTags::m_xmlConditionAttrConditionCalo, L1GtXmlParserTags::m_xmlConditionAttrConditionCastor, L1GtXmlParserTags::m_xmlConditionAttrConditionCorrelation, L1GtXmlParserTags::m_xmlConditionAttrConditionEnergySum, L1GtXmlParserTags::m_xmlConditionAttrConditionExternal, L1GtXmlParserTags::m_xmlConditionAttrConditionHfBitCounts, L1GtXmlParserTags::m_xmlConditionAttrConditionHfRingEtSums, L1GtXmlParserTags::m_xmlConditionAttrConditionJetCounts, L1GtXmlParserTags::m_xmlConditionAttrConditionMuon, L1GtXmlParserTags::m_xmlConditionAttrObject, L1GtXmlParserTags::m_xmlConditionAttrType, parseBptx(), parseCalo(), parseCastor(), parseCorrelation(), parseEnergySum(), parseExternal(), parseHfBitCounts(), parseHfRingEtSums(), parseJetCounts(), parseMuon(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and parseConditions().
|
private |
parse an algorithm and insert it into algorithm map.
workTechTrigger - parse the technical trigger and insert it into technical trigger map.
node | The corresponding node to the technical trigger. |
name | The name of the technical trigger. |
Definition at line 3269 of file L1GtTriggerMenuXmlParser.cc.
References L1TBPTX_cfi::bitNumber, findXMLChild(), getXMLAttribute(), getXMLTextValue(), insertTechTriggerIntoMap(), edm::isDebugEnabled(), LogDebug, LogTrace, L1GtXmlParserTags::m_xmlAttrNr, L1GtXmlParserTags::m_xmlTagOutput, L1GtXmlParserTags::m_xmlTagOutputPin, L1GtAlgorithm::print(), L1GtAlgorithm::setAlgoAlias(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by gtAlgorithmImplementation(), and parseTechTriggers().
|
private |
do all the steps for filling a trigger menu
workXML parse the XML-File
parser | The parser to use for parsing the XML-File |
Definition at line 3396 of file L1GtTriggerMenuXmlParser.cc.
References clearMaps(), common_cff::doc, LogTrace, L1GtXmlParserTags::m_xmlTagDef, parseAlgorithms(), parseConditions(), parseId(), parseTechTriggers(), and fetchall_from_DQM_v2::release.
Referenced by gtAlgorithmImplementation(), and parseXmlFile().
|
private |
map containing the physics algorithms (by alias)
Definition at line 465 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtAlgorithmAliasMap(), insertAlgorithmIntoMap(), and setGtAlgorithmAliasMap().
|
private |
Definition at line 429 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtAlgorithmImplementation(), parseId(), and setGtAlgorithmImplementation().
|
private |
map containing the physics algorithms (by name)
Definition at line 462 of file L1GtTriggerMenuXmlParser.h.
Referenced by clearMaps(), gtAlgorithmMap(), insertAlgorithmIntoMap(), and setGtAlgorithmMap().
|
private |
map containing the conditions (per condition chip) - transient
Definition at line 433 of file L1GtTriggerMenuXmlParser.h.
Referenced by clearMaps(), gtConditionMap(), insertConditionIntoMap(), parseXmlFile(), and setGtConditionMap().
|
private |
Definition at line 458 of file L1GtTriggerMenuXmlParser.h.
Referenced by corCaloTemplate(), parseCalo(), parseCorrelation(), parseXmlFile(), and setCorCaloTemplate().
|
private |
Definition at line 459 of file L1GtTriggerMenuXmlParser.h.
Referenced by corEnergySumTemplate(), parseCorrelation(), parseEnergySum(), parseXmlFile(), and setCorEnergySumTemplate().
|
private |
Definition at line 457 of file L1GtTriggerMenuXmlParser.h.
Referenced by corMuonTemplate(), parseCorrelation(), parseMuon(), parseXmlFile(), and setCorMuonTemplate().
|
private |
hardware limits
number of condition chips
Definition at line 400 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtNumberConditionChips(), insertAlgorithmIntoMap(), parseAlgorithms(), parseConditions(), parseVmeXML(), parseXmlFile(), and setGtNumberConditionChips().
|
private |
jet counts
Definition at line 416 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtNumberL1JetCounts(), parseJetCounts(), and setGtNumberL1JetCounts().
|
private |
number of physics trigger algorithms
Definition at line 410 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtNumberPhysTriggers(), insertAlgorithmIntoMap(), and setGtNumberPhysTriggers().
|
private |
number of technical triggers
Definition at line 413 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtNumberTechTriggers(), insertTechTriggerIntoMap(), and setGtNumberTechTriggers().
|
private |
correspondence "condition chip - GTL algorithm word" in the hardware chip 2: 0 - 95; chip 1: 96 - 128 (191)
Definition at line 407 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtOrderConditionChip(), insertAlgorithmIntoMap(), setGtOrderConditionChip(), and workAlgorithm().
|
private |
number of pins on the GTL condition chips
Definition at line 403 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtPinsOnConditionChip(), insertAlgorithmIntoMap(), setGtPinsOnConditionChip(), and workAlgorithm().
|
private |
menu associated scale key
Definition at line 442 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtScaleDbKey(), parseId(), and setGtScaleDbKey().
|
private |
map containing the technical triggers
Definition at line 468 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTechnicalTriggerMap(), insertTechTriggerIntoMap(), and setGtTechnicalTriggerMap().
|
private |
Definition at line 426 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuAuthor(), parseId(), and setGtTriggerMenuAuthor().
|
private |
Definition at line 425 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuDate(), parseId(), and setGtTriggerMenuDate().
|
private |
Definition at line 427 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuDescription(), parseId(), and setGtTriggerMenuDescription().
|
private |
Definition at line 439 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuImplementation(), and setGtTriggerMenuImplementation().
|
private |
menu names
Definition at line 437 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuInterface(), parseId(), and setGtTriggerMenuInterface().
|
private |
Definition at line 422 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuInterfaceAuthor(), parseId(), and setGtTriggerMenuInterfaceAuthor().
|
private |
members for XML parser only (do not appear in CondFormats)
Definition at line 421 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuInterfaceDate(), parseId(), and setGtTriggerMenuInterfaceDate().
|
private |
Definition at line 423 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuInterfaceDescription(), parseId(), and setGtTriggerMenuInterfaceDescription().
|
private |
Definition at line 438 of file L1GtTriggerMenuXmlParser.h.
Referenced by gtTriggerMenuName(), parseId(), parseXmlFile(), and setGtTriggerMenuName().
|
private |
Definition at line 453 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseBptx(), parseXmlFile(), setVecBptxTemplate(), and vecBptxTemplate().
|
private |
Definition at line 447 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseCalo(), parseXmlFile(), setVecCaloTemplate(), and vecCaloTemplate().
|
private |
Definition at line 450 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseCastor(), parseXmlFile(), setVecCastorTemplate(), and vecCastorTemplate().
|
private |
Definition at line 456 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseCorrelation(), parseXmlFile(), setVecCorrelationTemplate(), and vecCorrelationTemplate().
|
private |
Definition at line 448 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseEnergySum(), parseXmlFile(), setVecEnergySumTemplate(), and vecEnergySumTemplate().
|
private |
Definition at line 454 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseExternal(), parseXmlFile(), setVecExternalTemplate(), and vecExternalTemplate().
|
private |
Definition at line 451 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseHfBitCounts(), parseXmlFile(), setVecHfBitCountsTemplate(), and vecHfBitCountsTemplate().
|
private |
Definition at line 452 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseHfRingEtSums(), parseXmlFile(), setVecHfRingEtSumsTemplate(), and vecHfRingEtSumsTemplate().
|
private |
Definition at line 449 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseJetCounts(), parseXmlFile(), setVecJetCountsTemplate(), and vecJetCountsTemplate().
|
private |
vectors containing the conditions explicit, due to persistency...
Definition at line 446 of file L1GtTriggerMenuXmlParser.h.
Referenced by parseMuon(), parseXmlFile(), setVecMuonTemplate(), and vecMuonTemplate().
|
private |
error handler for xml-parser
Definition at line 395 of file L1GtTriggerMenuXmlParser.h.
Referenced by cleanupXML(), initXML(), and parseXmlFile().