#include <EcalCondDBWriter.h>
Private Types | |
enum | Tasks { Integrity = 0, Cosmic = 1, Laser = 2, Pedestal = 3, Presample = 4, TestPulse = 5, BeamCalo = 6, BeamHodo = 7, TriggerPrimitives = 8, Cluster = 9, Timing = 10, Led = 11, RawData = 12, Occupancy = 13, nTasks = 14 } |
Private Member Functions | |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
Private Attributes | |
EcalCondDBInterface * | db_ |
bool | executed_ |
std::vector< std::string > | inputRootFiles_ |
std::string | location_ |
std::string | monRunGeneralTag_ |
std::string | runGeneralTag_ |
int | runNumber_ |
std::string | runType_ |
ecaldqm::SummaryWriter | summaryWriter_ |
int | verbosity_ |
ecaldqm::DBWriterWorker * | workers_ [nTasks] |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
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 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) |
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) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 10 of file EcalCondDBWriter.h.
|
private |
Enumerator | |
---|---|
Integrity | |
Cosmic | |
Laser | |
Pedestal | |
Presample | |
TestPulse | |
BeamCalo | |
BeamHodo | |
TriggerPrimitives | |
Cluster | |
Timing | |
Led | |
RawData | |
Occupancy | |
nTasks |
Definition at line 20 of file EcalCondDBWriter.h.
EcalCondDBWriter::EcalCondDBWriter | ( | edm::ParameterSet const & | _ps | ) |
Definition at line 21 of file EcalCondDBWriter.cc.
References BeamCalo, BeamHodo, Cluster, Cosmic, dqmiodatasetharvest::db, db_, EcalCondDBWriter_cfi::DBName, L1TBPTX_cfi::dqmStore, Exception, MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), EcalCondDBWriter_cfi::hostName, EcalCondDBWriter_cfi::hostPort, EcalCondDBWriter_cfi::inputRootFiles, Integrity, Laser, Led, oniaPATMuonsWithTrigger_cff::matches, nTasks, Occupancy, EcalCondDBWriter_cfi::password, Pedestal, Presample, RawData, runNumber_, ecaldqm::DBWriterWorker::setVerbosity(), AlCaHLTBitMon_QueryRunRegistry::string, dqm::implementation::DQMStore::StripRunDirs, TestPulse, Timing, TriggerPrimitives, EcalCondDBWriter_cfi::userName, verbosity_, EcalCondDBWriter_cfi::workerParams, and workers_.
|
override |
Definition at line 111 of file EcalCondDBWriter.cc.
References db_, MillePedeFileConverter_cfg::e, Exception, nTasks, and workers_.
|
overrideprivate |
Definition at line 122 of file EcalCondDBWriter.cc.
References nTasks, ecaldqm::DQWorker::setSetupObjects(), and workers_.
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 128 of file EcalCondDBWriter.cc.
References dqm::implementation::NavigatorBase::cd(), DMR_cfg::cerr, db_, dqm::implementation::IGetter::dirExists(), heppy_check::dirs, MillePedeFileConverter_cfg::e, Exception, executed_, EcalCondDBInterface::fetchMonRunIOV(), EcalCondDBInterface::fetchRunIOV(), dqm::implementation::IGetter::get(), getBit(), dqm::impl::MonitorElement::getIntValue(), ecaldqm::DBWriterWorker::getName(), RunIOV::getRunEnd(), RunIOV::getRunStart(), RunIOV::getRunTag(), dqm::implementation::IGetter::getSubdirs(), EcalCondDBInterface::insertMonRunIOV(), EcalCondDBInterface::insertRunIOV(), location_, monRunGeneralTag_, nTasks, ecaldqm::DBWriterWorker::retrieveSource(), writedatasetfile::run, ecaldqm::SummaryWriter::run(), runGeneralTag_, runNumber_, runType_, seconds(), setBit(), MonRunTag::setGeneralTag(), RunTag::setGeneralTag(), LocationDef::setLocation(), RunTag::setLocationDef(), MonVersionDef::setMonitoringVersion(), MonRunIOV::setMonRunTag(), MonRunTag::setMonVersionDef(), ecaldqm::SummaryWriter::setOutcome(), ecaldqm::SummaryWriter::setProcessedEvents(), MonRunIOV::setRunIOV(), RunIOV::setRunNumber(), RunIOV::setRunStart(), RunIOV::setRunTag(), RunTypeDef::setRunType(), RunTag::setRunTypeDef(), MonRunIOV::setSubRunEnd(), MonRunIOV::setSubRunNumber(), MonRunIOV::setSubRunStart(), ecaldqm::SummaryWriter::setTaskList(), summaryWriter_, verbosity_, and workers_.
|
private |
Definition at line 39 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().
|
private |
Definition at line 49 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 44 of file EcalCondDBWriter.h.
|
private |
Definition at line 40 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 43 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 42 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 38 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), and EcalCondDBWriter().
|
private |
Definition at line 41 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 46 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 48 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), and EcalCondDBWriter().
|
private |
Definition at line 45 of file EcalCondDBWriter.h.
Referenced by beginRun(), dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().