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 | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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 31 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
private |
Definition at line 39 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
explicit |
Definition at line 60 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
inlineoverride |
Definition at line 34 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
private |
Definition at line 156 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References bits, Exception, ALCARECOTkAlBeamHalo_cff::filter, Skims_PA_cff::paths, AlCaHLTBitMon_QueryRunRegistry::string, and CreateSqliteForCondDB_cfg::triggerListsAdd.
Referenced by analyze().
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 70 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References addTriggerLists(), alcarecoReplace_, createStartTriggerBits(), listNamesRemove_, AlCaRecoTriggerBits::m_alcarecoToTrig, nEventCalls_, removeKeysFromMap(), replaceKeysFromMap(), startEmpty_, triggerListsAdd_, and writeBitsToDB().
|
private |
Definition at line 97 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References edm::EventSetup::get(), get, and CreateSqliteForCondDB_cfg::startEmpty.
Referenced by analyze().
|
private |
Definition at line 108 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References Exception, and relativeConstraints::keys.
Referenced by analyze().
|
private |
Definition at line 128 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Takes over memory uresponsibility for 'bitsToWrite'.
Definition at line 181 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(), SiStripBadComponentsDQMServiceTemplate_cfg::lastRun, lastRunIOV_, align_cfg::recordName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 53 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 48 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 49 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by writeBitsToDB().
|
private |
Definition at line 51 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 47 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 50 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().