Private Types | |
typedef std::map< std::string, std::string > | TriggerMap |
Private Member Functions | |
bool | addTriggerLists (const std::vector< edm::ParameterSet > &triggerListsAdd, AlCaRecoTriggerBits &bits) const |
AlCaRecoTriggerBits * | createStartTriggerBits (bool startEmpty, const edm::EventSetup &evtSetup) const |
bool | removeKeysFromMap (const std::vector< std::string > &keys, TriggerMap &triggerMap) const |
void | writeBitsToDB (AlCaRecoTriggerBits *bitsToWrite) const |
Takes over memory uresponsibility for 'bitsToWrite'. More... | |
Private Attributes | |
const unsigned int | firstRunIOV_ |
const int | lastRunIOV_ |
const std::vector< std::string > | listNamesRemove_ |
unsigned int | nEventCalls_ |
const bool | startEmpty_ |
const std::vector < edm::ParameterSet > | triggerListsAdd_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Module to write trigger bit mappings (AlCaRecoTriggerBits) to DB. Can be configured to read an old one and update this by
Definition at line 32 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
private |
Definition at line 40 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
explicit |
Definition at line 60 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
inline |
Definition at line 35 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
private |
Definition at line 132 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaRecoTriggerBits::compose(), Exception, alcazmumu_cfi::filter, AlCaRecoTriggerBits::m_alcarecoToTrig, mergeAndRegister::paths, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 71 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References addTriggerLists(), createStartTriggerBits(), listNamesRemove_, AlCaRecoTriggerBits::m_alcarecoToTrig, nEventCalls_, removeKeysFromMap(), startEmpty_, triggerListsAdd_, and writeBitsToDB().
|
private |
Definition at line 97 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References edm::EventSetup::get().
Referenced by analyze().
|
private |
Definition at line 110 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References Exception.
Referenced by analyze().
|
private |
Takes over memory uresponsibility for 'bitsToWrite'.
Definition at line 159 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), Exception, firstRunIOV_, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), MergeJob_cfg::lastRun, lastRunIOV_, align_cfg::recordName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 49 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 50 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 52 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 48 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().