Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::map< std::string, std::string > | TriggerMap |
Private Member Functions | |
bool | addPathsFromMap (const std::vector< edm::ParameterSet > &pathsToAdd, AlCaRecoTriggerBits &bits) const |
bool | addTriggerLists (const std::vector< edm::ParameterSet > &triggerListsAdd, AlCaRecoTriggerBits &bits) const |
bool | removeKeysFromMap (const std::vector< std::string > &keys, TriggerMap &triggerMap) const |
bool | removePathsFromMap (const std::vector< edm::ParameterSet > &pathsToRemove, AlCaRecoTriggerBits &bits) const |
bool | replaceKeysFromMap (const std::vector< edm::ParameterSet > &alcarecoReplace, TriggerMap &triggerMap) const |
void | writeBitsToDB (const AlCaRecoTriggerBits &bitsToWrite) const |
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 std::vector< edm::ParameterSet > | pathsToAdd_ |
const std::vector< edm::ParameterSet > | pathsToRemove_ |
const bool | startEmpty_ |
const edm::ESGetToken< AlCaRecoTriggerBits, AlCaRecoTriggerBitsRcd > | triggerBitsToken_ |
const std::vector< edm::ParameterSet > | triggerListsAdd_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 41 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
explicit |
Definition at line 98 of file AlCaRecoTriggerBitsRcdUpdate.cc.
|
overridedefault |
|
private |
Definition at line 216 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References gpuClustering::pixelStatus::bits, filterCSVwithJSON::copy, Exception, ALCARECOTkAlBeamHalo_cff::filter, Skims_PA_cff::paths, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 192 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References gpuClustering::pixelStatus::bits, Exception, ALCARECOTkAlBeamHalo_cff::filter, Skims_PA_cff::paths, AlCaHLTBitMon_QueryRunRegistry::string, and CreateSqliteForCondDB_cfg::triggerListsAdd.
Referenced by analyze().
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 111 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References addPathsFromMap(), addTriggerLists(), alcarecoReplace_, edm::EventSetup::getData(), listNamesRemove_, nEventCalls_, pathsToAdd_, pathsToRemove_, removeKeysFromMap(), removePathsFromMap(), replaceKeysFromMap(), startEmpty_, triggerBitsToken_, triggerListsAdd_, and writeBitsToDB().
|
static |
Definition at line 62 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 148 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References Exception, and relativeConstraints::keys.
Referenced by analyze().
|
private |
Definition at line 255 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References gpuClustering::pixelStatus::bits, Exception, ALCARECOTkAlBeamHalo_cff::filter, castor_dqm_sourceclient_file_cfg::path, Skims_PA_cff::paths, MatrixUtil::remove(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 164 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 294 of file AlCaRecoTriggerBitsRcdUpdate.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::commitTransaction(), cond::service::PoolDBOutputService::createNewIOV(), Exception, firstRunIOV_, cond::service::PoolDBOutputService::forceInit(), edm::Service< T >::isAvailable(), cond::TagInfo_t::lastInterval, lastRunIOV_, cond::Iov_t::payloadId, align_cfg::recordName, cond::service::PoolDBOutputService::session(), cond::service::PoolDBOutputService::startTransaction(), cond::persistency::Session::storePayload(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::service::PoolDBOutputService::tagInfo().
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 57 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 58 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 53 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 49 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().
|
private |
Definition at line 55 of file AlCaRecoTriggerBitsRcdUpdate.cc.
Referenced by analyze().