#include <TriggerSystem.h>
Public Member Functions | |
void | addDaq (const char *daq, const char *role, const char *crate) |
void | addMask (const char *id, const char *procOrRoleOrDaq) |
void | addParameter (const char *id, const char *procOrRole, const char *type, const char *value, const char *delim=",") |
void | addProcessor (const char *processor, const char *role, const char *crate, const char *slot) |
void | addTable (const char *id, const char *procOrRole, const char *columns, const char *types, const std::vector< std::string > &rows, const char *delim) |
void | configureSystemFromFiles (const char *hwCfgFile, const char *topCfgFile, const char *key) |
void | disableProcOrRoleOrDaq (const char *procOrRoleOrDaq) |
const std::map< std::string, Mask > & | getMasks (const char *processor) const |
const std::map< std::string, Parameter > & | getParameters (const char *processor) const |
const std::map< std::string, std::string > & | getProcToRoleAssignment (void) const noexcept |
const std::map< std::string, std::set< std::string > > & | getRoleToProcsAssignment (void) const noexcept |
bool | isMasked (const char *proccessor, const char *id) const |
bool | isProcEnabled (const char *proccessor) const |
void | setConfigured (bool state=true) noexcept |
void | setLogStream (std::ostream *s) const noexcept |
void | setSystemId (const char *id) noexcept |
std::string | systemId (void) const noexcept |
TriggerSystem (void) | |
~TriggerSystem (void) | |
Private Attributes | |
std::map< std::string, std::set< std::string > > | crateForProcs |
std::map< std::string, std::string > | daqttcToCrate |
std::map< std::string, std::string > | daqttcToRole |
bool | isConfigured |
std::ostream * | logs |
std::map< std::string, bool > | procEnabled |
std::map< std::string, std::map< std::string, Mask > > | procMasks |
std::map< std::string, std::map< std::string, Parameter > > | procParameters |
std::map< std::string, std::string > | procToRole |
std::map< std::string, std::string > | procToSlot |
std::map< std::string, std::set< std::string > > | roleForDaqttcs |
std::map< std::string, std::set< std::string > > | roleForProcs |
std::string | sysId |
Definition at line 14 of file TriggerSystem.h.
|
inline |
|
inline |
Definition at line 82 of file TriggerSystem.h.
void l1t::TriggerSystem::addDaq | ( | const char * | daq, |
const char * | role, | ||
const char * | crate | ||
) |
Definition at line 43 of file TriggerSystem.cc.
Referenced by l1t::XmlConfigParser::readHwDescription().
void l1t::TriggerSystem::addMask | ( | const char * | id, |
const char * | procOrRoleOrDaq | ||
) |
Definition at line 179 of file TriggerSystem.cc.
References l1ctLayer2EG_cff::id, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, and ValidateTausOnZEEFastSim_cff::proc.
Referenced by l1t::XmlConfigParser::readContext().
void l1t::TriggerSystem::addParameter | ( | const char * | id, |
const char * | procOrRole, | ||
const char * | type, | ||
const char * | value, | ||
const char * | delim = "," |
||
) |
Definition at line 54 of file TriggerSystem.cc.
References eostools::move(), ValidateTausOnZEEFastSim_cff::proc, and createJobs::tmp.
Referenced by metTools.AddMETCollection::__init__(), trackTools.MakeAODTrackCandidates::__init__(), coreTools.RunOnData::__init__(), runJetUncertainties.RunJetUncertainties::__init__(), runMETCorrectionsAndUncertainties.RunMETCorrectionsAndUncertainties::__init__(), cmsswVersionTools.PickRelValInputFiles::__init__(), coreTools.RemoveMCMatching::__init__(), trackTools.MakePATTrackCandidates::__init__(), trigTools.SwitchOnTrigger::__init__(), trigTools.SwitchOnTriggerStandAlone::__init__(), tauTools.AddTauCollection::__init__(), trackTools.MakeTrackCandidates::__init__(), trigTools.SwitchOnTriggerMatching::__init__(), trigTools.SwitchOnTriggerMatchingStandAlone::__init__(), trigTools.SwitchOnTriggerMatchEmbedding::__init__(), jetTools.AddJetCollection::__init__(), jetTools.SwitchJetCollection::__init__(), jetTools.UpdateJetCollection::__init__(), jetTools.AddJetID::__init__(), jetTools.SetTagInfos::__init__(), and l1t::XmlConfigParser::readContext().
void l1t::TriggerSystem::addProcessor | ( | const char * | processor, |
const char * | role, | ||
const char * | crate, | ||
const char * | slot | ||
) |
Definition at line 26 of file TriggerSystem.cc.
Referenced by L1TGlobalPrescalesVetosESProducer::L1TGlobalPrescalesVetosESProducer(), L1TGlobalPrescalesVetosFractESProducer::L1TGlobalPrescalesVetosFractESProducer(), L1TMuonOverlapFwVersionOnlineProd::newObject(), L1TCaloParamsOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), and l1t::XmlConfigParser::readHwDescription().
void l1t::TriggerSystem::addTable | ( | const char * | id, |
const char * | procOrRole, | ||
const char * | columns, | ||
const char * | types, | ||
const std::vector< std::string > & | rows, | ||
const char * | delim | ||
) |
Definition at line 111 of file TriggerSystem.cc.
References mps_check::columns, eostools::move(), ValidateTausOnZEEFastSim_cff::proc, mysort::rows, and createJobs::tmp.
Referenced by l1t::XmlConfigParser::readContext().
void l1t::TriggerSystem::configureSystemFromFiles | ( | const char * | hwCfgFile, |
const char * | topCfgFile, | ||
const char * | key | ||
) |
Definition at line 8 of file TriggerSystem.cc.
References l1t::XmlConfigParser::buildGlobalDoc(), submitPVResolutionJobs::key, l1t::XmlConfigParser::readContexts(), l1t::XmlConfigParser::readDOMFromFile(), and l1t::XmlConfigParser::readRootElement().
Referenced by L1TMuonBarrelParamsESProducer::L1TMuonBarrelParamsESProducer(), and L1TMuonGlobalParamsESProducer::L1TMuonGlobalParamsESProducer().
void l1t::TriggerSystem::disableProcOrRoleOrDaq | ( | const char * | procOrRoleOrDaq | ) |
Definition at line 282 of file TriggerSystem.cc.
References ValidateTausOnZEEFastSim_cff::proc.
Referenced by l1t::XmlConfigParser::readContext(), and l1t::XmlConfigParser::readHwDescription().
const map< string, Mask > & l1t::TriggerSystem::getMasks | ( | const char * | processor | ) | const |
Definition at line 261 of file TriggerSystem.cc.
References AlCaHLTBitMon_ParallelJobs::p.
const map< string, Parameter > & l1t::TriggerSystem::getParameters | ( | const char * | processor | ) | const |
Definition at line 168 of file TriggerSystem.cc.
References AlCaHLTBitMon_ParallelJobs::p.
Referenced by L1TMuonBarrelParamsHelper::configFromDB(), L1TMuonEndCapObjectKeysOnlineProd::fillObjectKeys(), L1TGlobalPrescalesVetosESProducer::L1TGlobalPrescalesVetosESProducer(), L1TGlobalPrescalesVetosFractESProducer::L1TGlobalPrescalesVetosFractESProducer(), L1TMuonGlobalParamsHelper::loadFromOnline(), L1TMuonEndCapParamsOnlineProd::newObject(), L1TMuonOverlapFwVersionOnlineProd::newObject(), L1TGlobalPrescalesVetosOnlineProd::newObject(), and L1TCaloParamsOnlineProd::newObject().
|
inlinenoexcept |
Definition at line 60 of file TriggerSystem.h.
References procToRole.
Referenced by L1TMuonBarrelParamsHelper::configFromDB(), and L1TMuonGlobalParamsHelper::loadFromOnline().
|
inlinenoexcept |
Definition at line 61 of file TriggerSystem.h.
References roleForProcs.
bool l1t::TriggerSystem::isMasked | ( | const char * | proccessor, |
const char * | id | ||
) | const |
Definition at line 272 of file TriggerSystem.cc.
References visualization-live-secondInstance_cfg::m, ALPAKA_ACCELERATOR_NAMESPACE::pixelClustering::pixelStatus::mask, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by L1TMuonGlobalParamsHelper::loadFromOnline().
bool l1t::TriggerSystem::isProcEnabled | ( | const char * | proccessor | ) | const |
Definition at line 339 of file TriggerSystem.cc.
References AlCaHLTBitMon_ParallelJobs::p.
|
inlinenoexcept |
Definition at line 74 of file TriggerSystem.h.
References isConfigured.
Referenced by L1TMuonEndCapObjectKeysOnlineProd::fillObjectKeys(), L1TGlobalPrescalesVetosESProducer::L1TGlobalPrescalesVetosESProducer(), L1TGlobalPrescalesVetosFractESProducer::L1TGlobalPrescalesVetosFractESProducer(), L1TMuonGlobalParamsOnlineProd::newObject(), L1TMuonEndCapParamsOnlineProd::newObject(), L1TMuonBarrelParamsOnlineProd::newObject(), L1TMuonOverlapFwVersionOnlineProd::newObject(), L1TCaloParamsOnlineProd::newObject(), and L1TGlobalPrescalesVetosOnlineProd::newObject().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 72 of file TriggerSystem.h.
References l1ctLayer2EG_cff::id, and sysId.
Referenced by l1t::XmlConfigParser::readHwDescription().
|
inlinenoexcept |
Definition at line 71 of file TriggerSystem.h.
References sysId.
Referenced by l1t::XmlConfigParser::readContext().
|
private |
Definition at line 24 of file TriggerSystem.h.
|
private |
Definition at line 22 of file TriggerSystem.h.
|
private |
Definition at line 21 of file TriggerSystem.h.
|
private |
Definition at line 33 of file TriggerSystem.h.
Referenced by setConfigured(), and TriggerSystem().
|
mutableprivate |
Definition at line 34 of file TriggerSystem.h.
Referenced by setLogStream(), and TriggerSystem().
|
private |
Definition at line 20 of file TriggerSystem.h.
|
private |
Definition at line 31 of file TriggerSystem.h.
|
private |
Definition at line 29 of file TriggerSystem.h.
|
private |
Definition at line 18 of file TriggerSystem.h.
Referenced by getProcToRoleAssignment().
|
private |
Definition at line 19 of file TriggerSystem.h.
|
private |
Definition at line 26 of file TriggerSystem.h.
|
private |
Definition at line 23 of file TriggerSystem.h.
Referenced by getRoleToProcsAssignment().
|
private |
Definition at line 16 of file TriggerSystem.h.
Referenced by setSystemId(), and systemId().