#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 | |
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 | |
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 () noexcept |
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... | |
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, EcalCondDB::db, db_, Exception, MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), Integrity, Laser, Led, nTasks, Occupancy, dqm::implementation::DQMStore::open(), Pedestal, Presample, RawData, runNumber_, AlCaHLTBitMon_QueryRunRegistry::string, dqm::implementation::DQMStore::StripRunDirs, TestPulse, Timing, TriggerPrimitives, verbosity_, and workers_.
|
override |
Definition at line 111 of file EcalCondDBWriter.cc.
References db_, alignCSCRings::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(), EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, db_, dqm::implementation::IGetter::dirExists(), heppy_check::dirs, alignCSCRings::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(), ecaldqm::SummaryWriter::run(), submitPVValidationJobs::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().