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 |
bool | replaceKeysFromMap (const std::vector< edm::ParameterSet > &alcarecoReplace, TriggerMap &triggerMap) const |
void | writeBitsToDB (AlCaRecoTriggerBits *bitsToWrite) const |
Takes over memory uresponsibility for 'bitsToWrite'. More... | |
Private Attributes | |
const std::vector< edm::ParameterSet > | alcarecoReplace_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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 63 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
inlineoverride |
|
private |
Definition at line 168 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaRecoTriggerBits::compose(), Exception, ALCARECOTkAlBeamHalo_cff::filter, AlCaRecoTriggerBits::m_alcarecoToTrig, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
override |
Definition at line 75 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References addTriggerLists(), alcarecoReplace_, createStartTriggerBits(), listNamesRemove_, AlCaRecoTriggerBits::m_alcarecoToTrig, nEventCalls_, removeKeysFromMap(), replaceKeysFromMap(), startEmpty_, triggerListsAdd_, and writeBitsToDB().
Referenced by ~AlCaRecoTriggerBitsRcdUpdate().
|
private |
Definition at line 104 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References edm::EventSetup::get().
Referenced by analyze().
|
private |
Definition at line 117 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References Exception.
Referenced by analyze().
|
private |
Definition at line 139 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Takes over memory uresponsibility for 'bitsToWrite'.
Definition at line 195 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::createNewIOV(), DEFINE_FWK_MODULE, cond::service::PoolDBOutputService::endOfTime(), Exception, firstRunIOV_, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), ntuplemaker::lastRun, lastRunIOV_, align_cfg::recordName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 56 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 51 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 52 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 54 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 50 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().