CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
EcalCondDBWriter Class Reference

#include <EcalCondDBWriter.h>

Inheritance diagram for EcalCondDBWriter:
DQMEDHarvester edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 EcalCondDBWriter (edm::ParameterSet const &)
 
 ~EcalCondDBWriter () override
 
- Public Member Functions inherited from DQMEDHarvester
void accumulate (edm::Event const &ev, edm::EventSetup const &es) final
 
void beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void beginRun (edm::Run const &, edm::EventSetup const &) override
 
 DQMEDHarvester ()
 
virtual void dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &)
 
void endJob () final
 
void endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final
 
void endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final
 
void endRun (edm::Run const &, edm::EventSetup const &) override
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) override
 
 ~DQMEDHarvester () override=default
 
- Public Member Functions inherited from edm::one::EDProducer< edm::Accumulator, edm::EndLuminosityBlockProducer, edm::EndRunProducer, edm::one::WatchLuminosityBlocks, edm::one::WatchRuns, edm::one::SharedResources >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInLumis () const final
 
bool hasAbilityToProduceInRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

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

EcalCondDBInterfacedb_
 
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::DBWriterWorkerworkers_ [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< DQMTokenlumiToken_
 
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 10 of file EcalCondDBWriter.h.

Member Enumeration Documentation

Enumerator
Integrity 
Cosmic 
Laser 
Pedestal 
Presample 
TestPulse 
BeamCalo 
BeamHodo 
TriggerPrimitives 
Cluster 
Timing 
Led 
RawData 
Occupancy 
nTasks 

Definition at line 19 of file EcalCondDBWriter.h.

Constructor & Destructor Documentation

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_.

20  : runNumber_(0),
21  db_(nullptr),
22  location_(_ps.getUntrackedParameter<std::string>("location")),
23  runType_(_ps.getUntrackedParameter<std::string>("runType")),
24  runGeneralTag_(_ps.getUntrackedParameter<std::string>("runGeneralTag")),
25  monRunGeneralTag_(_ps.getUntrackedParameter<std::string>("monRunGeneralTag")),
26  summaryWriter_(_ps.getUntrackedParameterSet("workerParams")),
27  verbosity_(_ps.getUntrackedParameter<int>("verbosity")),
28  executed_(false) {
29  std::vector<std::string> inputRootFiles(_ps.getUntrackedParameter<std::vector<std::string>>("inputRootFiles"));
30 
31  if (inputRootFiles.empty())
32  throw cms::Exception("Configuration") << "No input ROOT file given";
33 
34  if (verbosity_ > 0)
35  edm::LogInfo("EcalDQM") << "Initializing DQMStore from input ROOT files";
36 
37  DQMStore &dqmStore(*edm::Service<DQMStore>());
38 
39  for (unsigned iF(0); iF < inputRootFiles.size(); ++iF) {
40  std::string &fileName(inputRootFiles[iF]);
41 
42  if (verbosity_ > 1)
43  edm::LogInfo("EcalDQM") << " " << fileName;
44 
45  TPRegexp pat("DQM_V[0-9]+(?:|_[0-9a-zA-Z]+)_R([0-9]+)");
46  std::unique_ptr<TObjArray> matches(pat.MatchS(fileName.c_str()));
47  if (matches->GetEntries() == 0)
48  throw cms::Exception("Configuration") << "Input file " << fileName << " is not an DQM output";
49 
50  if (iF == 0)
51  runNumber_ = TString(matches->At(1)->GetName()).Atoi();
52  else if (TString(matches->At(1)->GetName()).Atoi() != runNumber_)
53  throw cms::Exception("Configuration") << "Input files disagree in run number";
54 
55  dqmStore.open(fileName, false, "", "", DQMStore::StripRunDirs);
56  }
57 
58  std::string DBName(_ps.getUntrackedParameter<std::string>("DBName"));
59  std::string hostName(_ps.getUntrackedParameter<std::string>("hostName"));
60  int hostPort(_ps.getUntrackedParameter<int>("hostPort"));
61  std::string userName(_ps.getUntrackedParameter<std::string>("userName"));
62  std::string password(_ps.getUntrackedParameter<std::string>("password"));
63 
64  std::unique_ptr<EcalCondDBInterface> db(nullptr);
65 
66  if (verbosity_ > 0)
67  edm::LogInfo("EcalDQM") << "Establishing DB connection";
68 
69  try {
70  db = std::unique_ptr<EcalCondDBInterface>(new EcalCondDBInterface(DBName, userName, password));
71  } catch (std::runtime_error &re) {
72  if (!hostName.empty()) {
73  try {
74  db = std::unique_ptr<EcalCondDBInterface>(
75  new EcalCondDBInterface(hostName, DBName, userName, password, hostPort));
76  } catch (std::runtime_error &re2) {
77  throw cms::Exception("DBError") << re2.what();
78  }
79  } else
80  throw cms::Exception("DBError") << re.what();
81  }
82 
83  db_ = db.release();
84 
85  if (verbosity_ > 0)
86  edm::LogInfo("EcalDQM") << " Done.";
87 
88  edm::ParameterSet const &workerParams(_ps.getUntrackedParameterSet("workerParams"));
89 
90  workers_[Integrity] = new ecaldqm::IntegrityWriter(workerParams);
91  workers_[Cosmic] = nullptr;
92  workers_[Laser] = new ecaldqm::LaserWriter(workerParams);
93  workers_[Pedestal] = new ecaldqm::PedestalWriter(workerParams);
94  workers_[Presample] = new ecaldqm::PresampleWriter(workerParams);
95  workers_[TestPulse] = new ecaldqm::TestPulseWriter(workerParams);
96  workers_[BeamCalo] = nullptr;
97  workers_[BeamHodo] = nullptr;
98  workers_[TriggerPrimitives] = nullptr;
99  workers_[Cluster] = nullptr;
100  workers_[Timing] = new ecaldqm::TimingWriter(workerParams);
101  workers_[Led] = new ecaldqm::LedWriter(workerParams);
102  workers_[RawData] = nullptr;
103  workers_[Occupancy] = new ecaldqm::OccupancyWriter(workerParams);
104 
105  for (unsigned iC(0); iC < nTasks; ++iC)
106  if (workers_[iC])
107  workers_[iC]->setVerbosity(verbosity_);
108 }
std::string location_
std::string monRunGeneralTag_
std::string runGeneralTag_
Definition: HeavyIon.h:7
EcalCondDBInterface * db_
ecaldqm::DBWriterWorker * workers_[nTasks]
ecaldqm::SummaryWriter summaryWriter_
std::string runType_
EcalCondDBWriter::~EcalCondDBWriter ( )
override

Definition at line 110 of file EcalCondDBWriter.cc.

References db_, MillePedeFileConverter_cfg::e, Exception, nTasks, and workers_.

110  {
111  try {
112  delete db_;
113  } catch (std::runtime_error &e) {
114  throw cms::Exception("DBError") << e.what();
115  }
116 
117  for (unsigned iC(0); iC < nTasks; ++iC)
118  delete workers_[iC];
119 }
EcalCondDBInterface * db_
ecaldqm::DBWriterWorker * workers_[nTasks]

Member Function Documentation

void EcalCondDBWriter::dqmEndJob ( DQMStore::IBooker ,
DQMStore::IGetter _igetter 
)
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_.

121  {
122  if (executed_)
123  return;
124 
126 
127  if (verbosity_ > 1)
128  edm::LogInfo("EcalDQM") << " Searching event info";
129 
130  uint64_t timeStampInFile(0);
131  unsigned processedEvents(0);
132 
133  _igetter.cd();
134  std::vector<std::string> dirs(_igetter.getSubdirs());
135  for (unsigned iD(0); iD < dirs.size(); ++iD) {
136  if (!_igetter.dirExists(dirs[iD] + "/EventInfo"))
137  continue;
138 
139  MonitorElement *timeStampME(_igetter.get(dirs[iD] + "/EventInfo/runStartTimeStamp"));
140  if (timeStampME) {
141  double timeStampValue(timeStampME->getFloatValue());
142  uint64_t seconds(timeStampValue);
143  uint64_t microseconds((timeStampValue - seconds) * 1.e6);
144  timeStampInFile = (seconds << 32) | microseconds;
145  }
146 
147  MonitorElement *eventsME(_igetter.get(dirs[iD] + "/EventInfo/processedEvents"));
148  if (eventsME)
149  processedEvents = eventsME->getIntValue();
150 
151  if (timeStampInFile != 0 && processedEvents != 0) {
152  if (verbosity_ > 1)
153  edm::LogInfo("EcalDQM") << " Event info found; timestamp=" << timeStampInFile
154  << " processedEvents=" << processedEvents;
155  break;
156  }
157  }
158 
159  if (verbosity_ > 0)
160  edm::LogInfo("EcalDQM") << " Done.";
161 
163 
164  if (verbosity_ > 0)
165  edm::LogInfo("EcalDQM") << "Setting up source MonitorElements for given run type " << runType_;
166 
167  int taskList(0);
168  for (unsigned iC(0); iC < nTasks; ++iC) {
169  if (!workers_[iC] || !workers_[iC]->runsOn(runType_))
170  continue;
171 
172  workers_[iC]->retrieveSource(_igetter);
173 
174  setBit(taskList, iC);
175  }
176 
177  if (verbosity_ > 0)
178  edm::LogInfo("EcalDQM") << " Done.";
179 
181 
182  if (verbosity_ > 0)
183  edm::LogInfo("EcalDQM") << "Initializing DB entry";
184 
185  RunIOV runIOV;
186  RunTag runTag;
187  try {
188  runIOV = db_->fetchRunIOV(location_, runNumber_);
189  runTag = runIOV.getRunTag();
190  } catch (std::runtime_error &e) {
191  std::cerr << e.what();
192 
193  if (timeStampInFile == 0)
194  throw cms::Exception("Initialization") << "Time stamp for the run could not be found";
195 
196  LocationDef locationDef;
197  locationDef.setLocation(location_);
198  RunTypeDef runTypeDef;
199  runTypeDef.setRunType(runType_);
200  runTag.setLocationDef(locationDef);
201  runTag.setRunTypeDef(runTypeDef);
203 
204  runIOV.setRunStart(Tm(timeStampInFile));
205  runIOV.setRunNumber(runNumber_);
206  runIOV.setRunTag(runTag);
207 
208  try {
209  db_->insertRunIOV(&runIOV);
210  runIOV = db_->fetchRunIOV(&runTag, runNumber_);
211  } catch (std::runtime_error &e) {
212  throw cms::Exception("DBError") << e.what();
213  }
214  }
215 
216  // No filtering - DAQ definitions change time to time..
217  // if(runType_ != runIOV.getRunTag().getRunTypeDef().getRunType())
218  // throw cms::Exception("Configuration") << "Given run type " << runType_
219  // << " does not match the run type in DB " <<
220  // runIOV.getRunTag().getRunTypeDef().getRunType();
221 
222  MonVersionDef versionDef;
223  versionDef.setMonitoringVersion("test01"); // the only mon_ver in mon_version_def table as of September
224  // 2012
225  MonRunTag monTag;
226  monTag.setMonVersionDef(versionDef);
228 
229  MonRunIOV monIOV;
230 
231  try {
232  monIOV = db_->fetchMonRunIOV(&runTag, &monTag, runNumber_, 1);
233  } catch (std::runtime_error &e) {
234  std::cerr << e.what();
235 
236  monIOV.setRunIOV(runIOV);
237  monIOV.setSubRunNumber(1);
238  monIOV.setSubRunStart(runIOV.getRunStart());
239  monIOV.setSubRunEnd(runIOV.getRunEnd());
240  monIOV.setMonRunTag(monTag);
241 
242  try {
243  db_->insertMonRunIOV(&monIOV);
244  monIOV = db_->fetchMonRunIOV(&runTag, &monTag, runNumber_, 1);
245  } catch (std::runtime_error &e) {
246  throw cms::Exception("DBError") << e.what();
247  }
248  }
249 
250  if (verbosity_ > 0)
251  edm::LogInfo("EcalDQM") << " Done.";
252 
254 
255  if (verbosity_ > 0)
256  edm::LogInfo("EcalDQM") << "Writing to DB";
257 
258  int outcome(0);
259  for (unsigned iC(0); iC < nTasks; ++iC) {
260  if (!getBit(taskList, iC))
261  continue;
262 
263  if (verbosity_ > 1)
264  edm::LogInfo("EcalDQM") << " " << workers_[iC]->getName();
265 
266  if (workers_[iC]->isActive() && workers_[iC]->run(db_, monIOV))
267  setBit(outcome, iC);
268  }
269 
270  if (verbosity_ > 0)
271  edm::LogInfo("EcalDQM") << " Done.";
272 
273  if (verbosity_ > 0)
274  edm::LogInfo("EcalDQM") << "Registering the outcome of DB writing";
275 
276  summaryWriter_.setTaskList(taskList);
277  summaryWriter_.setOutcome(outcome);
278  summaryWriter_.setProcessedEvents(processedEvents);
279  summaryWriter_.run(db_, monIOV);
280 
281  if (verbosity_ > 0)
282  edm::LogInfo("EcalDQM") << " Done.";
283 
284  executed_ = true;
285 }
void setRunTypeDef(const RunTypeDef &runTypeDef)
Definition: RunTag.cc:70
void setRunStart(const Tm &start)
Definition: RunIOV.cc:52
int64_t getIntValue() const
bool run(EcalCondDBInterface *, MonRunIOV &) override
double seconds()
MonRunIOV fetchMonRunIOV(RunTag *runtag, MonRunTag *montag, run_t run, subrun_t monrun) noexcept(false)
void insertMonRunIOV(MonRunIOV *iov) noexcept(false)
std::string location_
std::string monRunGeneralTag_
Definition: RunTag.h:13
void setRunIOV(const RunIOV &iov)
Definition: MonRunIOV.cc:53
void setProcessedEvents(unsigned _n)
std::string runGeneralTag_
void setGeneralTag(std::string tag)
Definition: MonRunTag.cc:33
void setRunTag(const RunTag &tag)
Definition: RunIOV.cc:86
void setRunNumber(run_t run)
Definition: RunIOV.cc:29
RunTag getRunTag() const
Definition: RunIOV.cc:96
RunIOV fetchRunIOV(RunTag *tag, run_t run) noexcept(false)
Tm getRunStart() const
Definition: RunIOV.cc:62
EcalCondDBInterface * db_
void setTaskList(int _list)
void setSubRunEnd(const Tm &end)
Definition: MonRunIOV.cc:101
void setSubRunNumber(subrun_t subrun)
Definition: MonRunIOV.cc:67
void insertRunIOV(RunIOV *iov) noexcept(false)
void setMonVersionDef(const MonVersionDef &ver)
Definition: MonRunTag.cc:49
void setSubRunStart(const Tm &start)
Definition: MonRunIOV.cc:84
void setLocationDef(const LocationDef &locDef)
Definition: RunTag.cc:53
void setBit(int &_bitArray, unsigned _iBit)
MonitorElement * get(std::string const &path)
Definition: DQMStore.cc:303
unsigned long long uint64_t
Definition: Time.h:15
void setRunType(std::string runtype)
Definition: RunTypeDef.cc:33
bool dirExists(std::string const &path)
Definition: DQMStore.cc:343
Tm getRunEnd() const
Definition: RunIOV.cc:79
void setMonRunTag(const MonRunTag &tag)
Definition: MonRunIOV.cc:36
void retrieveSource(DQMStore::IGetter &)
void setMonitoringVersion(std::string ver)
std::string const & getName() const
ecaldqm::DBWriterWorker * workers_[nTasks]
std::vector< std::string > getSubdirs()
Definition: DQMStore.cc:325
void setLocation(std::string loc)
Definition: LocationDef.cc:33
ecaldqm::SummaryWriter summaryWriter_
void setGeneralTag(std::string tag)
Definition: RunTag.cc:36
Definition: RunIOV.h:13
Definition: Tm.h:13
bool getBit(int &_bitArray, unsigned _iBit)
void setOutcome(int _outcome)
std::string runType_

Member Data Documentation

EcalCondDBInterface* EcalCondDBWriter::db_
private

Definition at line 38 of file EcalCondDBWriter.h.

Referenced by dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().

bool EcalCondDBWriter::executed_
private

Definition at line 48 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

std::vector<std::string> EcalCondDBWriter::inputRootFiles_
private

Definition at line 43 of file EcalCondDBWriter.h.

std::string EcalCondDBWriter::location_
private

Definition at line 39 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

std::string EcalCondDBWriter::monRunGeneralTag_
private

Definition at line 42 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

std::string EcalCondDBWriter::runGeneralTag_
private

Definition at line 41 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

int EcalCondDBWriter::runNumber_
private

Definition at line 37 of file EcalCondDBWriter.h.

Referenced by dqmEndJob(), and EcalCondDBWriter().

std::string EcalCondDBWriter::runType_
private

Definition at line 40 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

ecaldqm::SummaryWriter EcalCondDBWriter::summaryWriter_
private

Definition at line 45 of file EcalCondDBWriter.h.

Referenced by dqmEndJob().

int EcalCondDBWriter::verbosity_
private

Definition at line 47 of file EcalCondDBWriter.h.

Referenced by dqmEndJob(), and EcalCondDBWriter().

ecaldqm::DBWriterWorker* EcalCondDBWriter::workers_[nTasks]
private

Definition at line 44 of file EcalCondDBWriter.h.

Referenced by dqmEndJob(), EcalCondDBWriter(), and ~EcalCondDBWriter().