#include <TriggerMenuParser.h>
Public Member Functions | |
const std::vector< std::vector < CaloTemplate > > & | corCaloTemplate () const |
const std::vector< std::vector < EnergySumTemplate > > & | corEnergySumTemplate () const |
const std::vector< std::vector < MuonTemplate > > & | corMuonTemplate () const |
std::map< std::string, unsigned int > | getExternalSignals (const L1TUtmTriggerMenu *utmMenu) |
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 | gtNumberPhysTriggers () const |
get / set the number of physics trigger algorithms 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 GlobalScales & | gtScales () const |
menu associated scales More... | |
const std::string & | gtTriggerMenuAuthor () const |
const std::string & | gtTriggerMenuDate () const |
const std::string & | gtTriggerMenuDescription () const |
const unsigned long | 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 |
const int | gtTriggerMenuUUID () const |
void | parseCondFormats (const L1TUtmTriggerMenu *utmMenu) |
void | setCorCaloTemplate (const std::vector< std::vector< CaloTemplate > > &) |
void | setCorEnergySumTemplate (const std::vector< std::vector< EnergySumTemplate > > &) |
void | setCorMuonTemplate (const std::vector< std::vector< MuonTemplate > > &) |
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 | setGtNumberPhysTriggers (const unsigned int &) |
void | setGtOrderConditionChip (const std::vector< int > &) |
void | setGtPinsOnConditionChip (const unsigned int &) |
void | setGtScaleDbKey (const std::string &) |
void | setGtTriggerMenuAuthor (const std::string &) |
void | setGtTriggerMenuDate (const std::string &) |
void | setGtTriggerMenuDescription (const std::string &) |
void | setGtTriggerMenuImplementation (const unsigned long &) |
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 | setGtTriggerMenuUUID (const int) |
void | setVecCaloTemplate (const std::vector< std::vector< CaloTemplate > > &) |
void | setVecCorrelationTemplate (const std::vector< std::vector< CorrelationTemplate > > &) |
void | setVecEnergySumTemplate (const std::vector< std::vector< EnergySumTemplate > > &) |
void | setVecExternalTemplate (const std::vector< std::vector< ExternalTemplate > > &) |
void | setVecMuonTemplate (const std::vector< std::vector< MuonTemplate > > &) |
TriggerMenuParser () | |
const std::vector< std::vector < CaloTemplate > > & | vecCaloTemplate () const |
const std::vector< std::vector < CorrelationTemplate > > & | vecCorrelationTemplate () const |
const std::vector< std::vector < EnergySumTemplate > > & | vecEnergySumTemplate () const |
const std::vector< std::vector < ExternalTemplate > > & | vecExternalTemplate () const |
const std::vector< std::vector < MuonTemplate > > & | vecMuonTemplate () const |
get / set the vectors containing the conditions More... | |
virtual | ~TriggerMenuParser () |
destructor More... | |
Private Member Functions | |
void | clearMaps () |
bool | insertAlgorithmIntoMap (const GlobalAlgorithm &alg) |
insert an algorithm into algorithm map More... | |
bool | insertConditionIntoMap (GlobalCondition &cond, const int chipNr) |
template<typename T > | |
std::string | l1t2string (T) |
int | l1tstr2int (const std::string data) |
bool | parseAlgorithm (tmeventsetup::esAlgorithm algorithm, unsigned int chipNr=0) |
parse all algorithms More... | |
void | parseCalMuEta_LUTS (std::map< std::string, tmeventsetup::esScale > scaleMap, std::string obj1, std::string obj2) |
void | parseCalMuPhi_LUTS (std::map< std::string, tmeventsetup::esScale > scaleMap, std::string obj1, std::string obj2) |
bool | parseCalo (tmeventsetup::esCondition condCalo, unsigned int chipNr=0, const bool corrFlag=false) |
parse a calorimeter condition More... | |
bool | parseCaloCorr (const tmeventsetup::esObject *corrCalo, unsigned int chipNr=0) |
bool | parseCorrelation (tmeventsetup::esCondition corrCond, unsigned int chipNr=0) |
parse a correlation condition More... | |
void | parseDeltaEta_Cosh_LUTS (std::map< std::string, tmeventsetup::esScale > scaleMap, std::string obj1, std::string obj2, unsigned int prec1, unsigned int prec2) |
void | parseDeltaPhi_Cos_LUTS (std::map< std::string, tmeventsetup::esScale > scaleMap, std::string obj1, std::string obj2, unsigned int prec1, unsigned int prec2) |
bool | parseEnergySum (tmeventsetup::esCondition condEnergySums, unsigned int chipNr=0, const bool corrFlag=false) |
parse an "energy sum" condition More... | |
bool | parseEnergySumCorr (const tmeventsetup::esObject *corrESum, unsigned int chipNr=0) |
bool | parseExternal (tmeventsetup::esCondition condExt, unsigned int chipNr=0) |
bool | parseMuon (tmeventsetup::esCondition condMu, unsigned int chipNr=0, const bool corrFlag=false) |
parse a muon condition More... | |
bool | parseMuonCorr (const tmeventsetup::esObject *condMu, unsigned int chipNr=0) |
void | parsePt_LUTS (std::map< std::string, tmeventsetup::esScale > scaleMap, std::string obj1, unsigned int prec) |
bool | parseScales (std::map< std::string, tmeventsetup::esScale > scaleMap) |
parse scales 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 < CaloTemplate > > | m_corCaloTemplate |
std::vector< std::vector < EnergySumTemplate > > | m_corEnergySumTemplate |
std::vector< std::vector < MuonTemplate > > | m_corMuonTemplate |
GlobalScales | m_gtScales |
unsigned int | m_numberConditionChips |
hardware limits More... | |
unsigned int | m_numberPhysTriggers |
number of physics trigger algorithms 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... | |
std::string | m_triggerMenuAuthor |
std::string | m_triggerMenuDate |
std::string | m_triggerMenuDescription |
unsigned long | m_triggerMenuImplementation |
std::string | m_triggerMenuInterface |
menu names More... | |
std::string | m_triggerMenuInterfaceAuthor |
std::string | m_triggerMenuInterfaceDate |
number of technical triggers More... | |
std::string | m_triggerMenuInterfaceDescription |
std::string | m_triggerMenuName |
unsigned long | m_triggerMenuUUID |
std::vector< std::vector < CaloTemplate > > | m_vecCaloTemplate |
std::vector< std::vector < CorrelationTemplate > > | m_vecCorrelationTemplate |
std::vector< std::vector < EnergySumTemplate > > | m_vecEnergySumTemplate |
std::vector< std::vector < ExternalTemplate > > | m_vecExternalTemplate |
std::vector< std::vector < MuonTemplate > > | m_vecMuonTemplate |
Definition at line 51 of file TriggerMenuParser.h.
TriggerMenuParser::TriggerMenuParser | ( | ) |
constructor empty
Definition at line 47 of file TriggerMenuParser.cc.
|
virtual |
destructor
Definition at line 60 of file TriggerMenuParser.cc.
|
private |
clearMaps - delete all conditions and algorithms in the maps and clear the maps.
Definition at line 423 of file TriggerMenuParser.cc.
|
inline |
Definition at line 189 of file TriggerMenuParser.h.
|
inline |
Definition at line 196 of file TriggerMenuParser.h.
|
inline |
Definition at line 182 of file TriggerMenuParser.h.
std::map< std::string, unsigned int > TriggerMenuParser::getExternalSignals | ( | const L1TUtmTriggerMenu * | utmMenu | ) |
Definition at line 196 of file TriggerMenuParser.cc.
Referenced by L1TExtCondProducer::produce().
|
inline |
get / set the algorithm map (by alias)
Definition at line 212 of file TriggerMenuParser.h.
|
inline |
Definition at line 275 of file TriggerMenuParser.h.
|
inline |
get / set the algorithm map (by name)
Definition at line 205 of file TriggerMenuParser.h.
|
inline |
get / set / build the condition maps
Definition at line 99 of file TriggerMenuParser.h.
|
inline |
get / set the number of condition chips in GTL
Definition at line 66 of file TriggerMenuParser.h.
|
inline |
get / set the number of physics trigger algorithms
Definition at line 88 of file TriggerMenuParser.h.
|
inline |
get / set the correspondence "condition chip - GTL algorithm word" in the hardware
Definition at line 81 of file TriggerMenuParser.h.
|
inline |
get / set the number of pins on the GTL condition chips
Definition at line 73 of file TriggerMenuParser.h.
|
inline |
menu associated scale key
Definition at line 127 of file TriggerMenuParser.h.
|
inline |
menu associated scales
Definition at line 132 of file TriggerMenuParser.h.
|
inline |
Definition at line 262 of file TriggerMenuParser.h.
|
inline |
Definition at line 256 of file TriggerMenuParser.h.
|
inline |
Definition at line 268 of file TriggerMenuParser.h.
|
inline |
Definition at line 120 of file TriggerMenuParser.h.
|
inline |
get / set the trigger menu names
Definition at line 106 of file TriggerMenuParser.h.
|
inline |
Definition at line 236 of file TriggerMenuParser.h.
|
inline |
get / set the XML parser creation date, author, description for menu interface, menu
Definition at line 230 of file TriggerMenuParser.h.
|
inline |
Definition at line 242 of file TriggerMenuParser.h.
|
inline |
Definition at line 113 of file TriggerMenuParser.h.
|
inline |
Definition at line 250 of file TriggerMenuParser.h.
|
private |
insert an algorithm into algorithm map
Definition at line 467 of file TriggerMenuParser.cc.
|
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 443 of file TriggerMenuParser.cc.
|
private |
Definition at line 559 of file TriggerMenuParser.cc.
|
private |
Definition at line 564 of file TriggerMenuParser.cc.
|
private |
parse all algorithms
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 2868 of file TriggerMenuParser.cc.
|
private |
Definition at line 793 of file TriggerMenuParser.cc.
|
private |
Definition at line 821 of file TriggerMenuParser.cc.
|
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 1436 of file TriggerMenuParser.cc.
|
private |
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 1765 of file TriggerMenuParser.cc.
void TriggerMenuParser::parseCondFormats | ( | const L1TUtmTriggerMenu * | utmMenu | ) |
Definition at line 239 of file TriggerMenuParser.cc.
|
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 2560 of file TriggerMenuParser.cc.
|
private |
Definition at line 871 of file TriggerMenuParser.cc.
|
private |
Definition at line 904 of file TriggerMenuParser.cc.
|
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 2018 of file TriggerMenuParser.cc.
|
private |
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 2263 of file TriggerMenuParser.cc.
|
private |
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 2466 of file TriggerMenuParser.cc.
|
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 948 of file TriggerMenuParser.cc.
|
private |
Definition at line 1211 of file TriggerMenuParser.cc.
|
private |
Definition at line 850 of file TriggerMenuParser.cc.
|
private |
parse scales
parseScales Parse Et, Eta, and Phi Scales
Definition at line 580 of file TriggerMenuParser.cc.
void TriggerMenuParser::setCorCaloTemplate | ( | const std::vector< std::vector< CaloTemplate > > & | corCaloTempl | ) |
Definition at line 169 of file TriggerMenuParser.cc.
void TriggerMenuParser::setCorEnergySumTemplate | ( | const std::vector< std::vector< EnergySumTemplate > > & | corEnergySumTempl | ) |
Definition at line 175 of file TriggerMenuParser.cc.
void TriggerMenuParser::setCorMuonTemplate | ( | const std::vector< std::vector< MuonTemplate > > & | corMuonTempl | ) |
Definition at line 163 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtAlgorithmAliasMap | ( | const AlgorithmMap & | algoMap | ) |
Definition at line 190 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtAlgorithmImplementation | ( | const std::string & | val | ) |
Definition at line 411 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtAlgorithmMap | ( | const AlgorithmMap & | algoMap | ) |
Definition at line 185 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtConditionMap | ( | const std::vector< ConditionMap > & | condMap | ) |
Definition at line 100 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtNumberConditionChips | ( | const unsigned int & | numberConditionChipsValue | ) |
Definition at line 67 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtNumberPhysTriggers | ( | const unsigned int & | numberPhysTriggersValue | ) |
Definition at line 91 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtOrderConditionChip | ( | const std::vector< int > & | orderConditionChipValue | ) |
Definition at line 83 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtPinsOnConditionChip | ( | const unsigned int & | pinsOnConditionChipValue | ) |
Definition at line 75 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtScaleDbKey | ( | const std::string & | scaleKey | ) |
Definition at line 123 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuAuthor | ( | const std::string & | val | ) |
Definition at line 399 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuDate | ( | const std::string & | val | ) |
Definition at line 393 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuDescription | ( | const std::string & | val | ) |
Definition at line 405 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuImplementation | ( | const unsigned long & | menuImplementation | ) |
Definition at line 118 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuInterface | ( | const std::string & | menuInterface | ) |
Definition at line 105 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuInterfaceAuthor | ( | const std::string & | val | ) |
Definition at line 380 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuInterfaceDate | ( | const std::string & | val | ) |
Definition at line 374 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuInterfaceDescription | ( | const std::string & | val | ) |
Definition at line 386 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuName | ( | const std::string & | menuName | ) |
Definition at line 114 of file TriggerMenuParser.cc.
void TriggerMenuParser::setGtTriggerMenuUUID | ( | const int | uuid | ) |
Definition at line 110 of file TriggerMenuParser.cc.
void TriggerMenuParser::setVecCaloTemplate | ( | const std::vector< std::vector< CaloTemplate > > & | vecCaloTempl | ) |
Definition at line 134 of file TriggerMenuParser.cc.
void TriggerMenuParser::setVecCorrelationTemplate | ( | const std::vector< std::vector< CorrelationTemplate > > & | vecCorrelationTempl | ) |
Definition at line 155 of file TriggerMenuParser.cc.
void TriggerMenuParser::setVecEnergySumTemplate | ( | const std::vector< std::vector< EnergySumTemplate > > & | vecEnergySumTempl | ) |
Definition at line 140 of file TriggerMenuParser.cc.
void TriggerMenuParser::setVecExternalTemplate | ( | const std::vector< std::vector< ExternalTemplate > > & | vecExternalTempl | ) |
Definition at line 148 of file TriggerMenuParser.cc.
void TriggerMenuParser::setVecMuonTemplate | ( | const std::vector< std::vector< MuonTemplate > > & | vecMuonTempl | ) |
Definition at line 128 of file TriggerMenuParser.cc.
|
inline |
Definition at line 145 of file TriggerMenuParser.h.
|
inline |
Definition at line 172 of file TriggerMenuParser.h.
|
inline |
Definition at line 152 of file TriggerMenuParser.h.
|
inline |
Definition at line 163 of file TriggerMenuParser.h.
|
inline |
get / set the vectors containing the conditions
Definition at line 139 of file TriggerMenuParser.h.
|
private |
map containing the physics algorithms (by alias)
Definition at line 446 of file TriggerMenuParser.h.
|
private |
Definition at line 411 of file TriggerMenuParser.h.
|
private |
map containing the physics algorithms (by name)
Definition at line 443 of file TriggerMenuParser.h.
|
private |
map containing the conditions (per condition chip) - transient
Definition at line 417 of file TriggerMenuParser.h.
|
private |
Definition at line 439 of file TriggerMenuParser.h.
|
private |
Definition at line 440 of file TriggerMenuParser.h.
|
private |
Definition at line 438 of file TriggerMenuParser.h.
|
private |
Definition at line 449 of file TriggerMenuParser.h.
|
private |
|
private |
number of physics trigger algorithms
Definition at line 394 of file TriggerMenuParser.h.
|
private |
correspondence "condition chip - GTL algorithm word" in the hardware chip 2: 0 - 95; chip 1: 96 - 128 (191)
Definition at line 391 of file TriggerMenuParser.h.
|
private |
number of pins on the GTL condition chips
Definition at line 387 of file TriggerMenuParser.h.
|
private |
menu associated scale key
Definition at line 428 of file TriggerMenuParser.h.
|
private |
Definition at line 408 of file TriggerMenuParser.h.
|
private |
Definition at line 407 of file TriggerMenuParser.h.
|
private |
Definition at line 409 of file TriggerMenuParser.h.
|
private |
Definition at line 424 of file TriggerMenuParser.h.
|
private |
menu names
Definition at line 422 of file TriggerMenuParser.h.
|
private |
Definition at line 404 of file TriggerMenuParser.h.
|
private |
number of technical triggers
Definition at line 403 of file TriggerMenuParser.h.
|
private |
Definition at line 405 of file TriggerMenuParser.h.
|
private |
Definition at line 423 of file TriggerMenuParser.h.
|
private |
Definition at line 425 of file TriggerMenuParser.h.
|
private |
Definition at line 433 of file TriggerMenuParser.h.
|
private |
Definition at line 437 of file TriggerMenuParser.h.
|
private |
Definition at line 434 of file TriggerMenuParser.h.
|
private |
Definition at line 435 of file TriggerMenuParser.h.
|
private |
vectors containing the conditions explicit, due to persistency...
Definition at line 432 of file TriggerMenuParser.h.