#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 | 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 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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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<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) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
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 19 of file EcalCondDBWriter.h.
EcalCondDBWriter::EcalCondDBWriter | ( | edm::ParameterSet const & | _ps | ) |
Definition at line 19 of file EcalCondDBWriter.cc.
References BeamCalo, BeamHodo, Cluster, Cosmic, db_, Exception, MillePedeFileConverter_cfg::fileName, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), Integrity, Laser, Led, patRefSel_triggerMatching_cfi::matches, nTasks, Occupancy, DQMStore::open(), Pedestal, Presample, RawData, runNumber_, AlCaHLTBitMon_QueryRunRegistry::string, DQMStore::StripRunDirs, TestPulse, Timing, TriggerPrimitives, verbosity_, and workers_.
|
override |
Definition at line 110 of file EcalCondDBWriter.cc.
References db_, MillePedeFileConverter_cfg::e, Exception, nTasks, and workers_.
|
overrideprivatevirtual |
Implements DQMEDHarvester.
Definition at line 121 of file EcalCondDBWriter.cc.
References DQMStore::IGetter::cd(), MessageLogger_cfi::cerr, db_, DEFINE_FWK_MODULE, DQMStore::IGetter::dirExists(), heppy_check::dirs, MillePedeFileConverter_cfg::e, Exception, executed_, EcalCondDBInterface::fetchMonRunIOV(), EcalCondDBInterface::fetchRunIOV(), DQMStore::IGetter::get(), getBit(), MonitorElement::getIntValue(), ecaldqm::DBWriterWorker::getName(), RunIOV::getRunEnd(), RunIOV::getRunStart(), RunIOV::getRunTag(), DQMStore::IGetter::getSubdirs(), EcalCondDBInterface::insertMonRunIOV(), EcalCondDBInterface::insertRunIOV(), location_, monRunGeneralTag_, nTasks, ecaldqm::DBWriterWorker::retrieveSource(), writedatasetfile::run, ecaldqm::SummaryWriter::run(), runGeneralTag_, runNumber_, runType_, seconds(), setBit(), RunTag::setGeneralTag(), MonRunTag::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 38 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().
|
private |
Definition at line 48 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 43 of file EcalCondDBWriter.h.
|
private |
Definition at line 39 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 42 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 41 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 37 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), and EcalCondDBWriter().
|
private |
Definition at line 40 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 45 of file EcalCondDBWriter.h.
Referenced by dqmEndJob().
|
private |
Definition at line 47 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), and EcalCondDBWriter().
|
private |
Definition at line 44 of file EcalCondDBWriter.h.
Referenced by dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().