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_ |
edm::ESGetToken< AlCaRecoTriggerBits, AlCaRecoTriggerBitsRcd > | triggerBitsToken_ |
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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
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 = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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 61 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
inlineoverride |
Definition at line 34 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
private |
Definition at line 157 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaRecoTriggerBits::compose(), Exception, ALCARECOTkAlBeamHalo_cff::filter, AlCaRecoTriggerBits::m_alcarecoToTrig, Skims_PA_cff::paths, AlCaHLTBitMon_QueryRunRegistry::string, and CreateSqliteForCondDB_cfg::triggerListsAdd.
Referenced by analyze().
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 72 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References addTriggerLists(), alcarecoReplace_, createStartTriggerBits(), listNamesRemove_, AlCaRecoTriggerBits::m_alcarecoToTrig, nEventCalls_, removeKeysFromMap(), replaceKeysFromMap(), startEmpty_, triggerListsAdd_, and writeBitsToDB().
|
private |
Definition at line 99 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References edm::EventSetup::getData(), CreateSqliteForCondDB_cfg::startEmpty, and triggerBitsToken_.
Referenced by analyze().
|
private |
Definition at line 109 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References Exception, and relativeConstraints::keys.
Referenced by analyze().
|
private |
Definition at line 129 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Takes over memory uresponsibility for 'bitsToWrite'.
Definition at line 182 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(), BeamSpotPI::lastRun, lastRunIOV_, align_cfg::recordName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 54 of file AlCaRecoTriggerBitsRcdUpdate.cc.
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 47 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by createStartTriggerBits().
|
private |
Definition at line 53 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().