#include <DQMFileSaver.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &e, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) |
virtual void | endJob (void) |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
virtual void | postForkReacquireResources (unsigned int childIndex, unsigned int numberOfChildren) |
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 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) |
Private Types | |
enum | Convention { Online, Offline } |
Private Member Functions | |
void | saveForOffline (const std::string &workflow, int run, int lumi) |
void | saveForOnline (const std::string &suffix, const std::string &rewrite) |
void | saveJobReport (const std::string &filename) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 10 of file DQMFileSaver.h.
|
private |
Enumerator | |
---|---|
Online | |
Offline |
Definition at line 30 of file DQMFileSaver.h.
DQMFileSaver::DQMFileSaver | ( | const edm::ParameterSet & | ps | ) |
Definition at line 212 of file DQMFileSaver.cc.
References convention_, prof2calltree::count, dirName_, edm::hlt::Exception, fileBaseName_, forceRunNumber_, getAnInt(), edm::ParameterSet::getUntrackedParameter(), numKeepSavedFiles_, Offline, Online, producer_, runIsComplete_, alignCSCRings::s, saveAtJobEnd_, saveByEvent_, saveByLumiSection_, saveByMinute_, saveByRun_, saveByTime_, saved_, saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, DQMStore::SaveWithReference, DQMStore::SaveWithReferenceForQTest, start_, AlCaHLTBitMon_QueryRunRegistry::string, BeamSplash_cfg::version, version_, and workflow_.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 409 of file DQMFileSaver.cc.
References convention_, edm::EventID::event(), edm::hlt::Exception, edm::EventBase::id(), ievent_, irun_, nevent_, Online, saveByEvent_, saveByMinute_, saveByTime_, saved_, saveForOnline(), start_, and createPayload::suffix.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 388 of file DQMFileSaver.cc.
References ievent_, ilumi_, ilumiprev_, irun_, nevent_, nlumi_, and nrun_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 402 of file DQMFileSaver.cc.
References edm::LuminosityBlockBase::id(), ilumi_, ilumiprev_, edm::LuminosityBlockID::luminosityBlock(), and nlumi_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 395 of file DQMFileSaver.cc.
References forceRunNumber_, edm::RunBase::id(), irun_, nrun_, and edm::RunID::run().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 508 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, forceRunNumber_, Offline, saveAtJobEnd_, saveForOffline(), and workflow_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 460 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, ilumi_, ilumiprev_, irun_, nlumi_, Offline, Online, saveByLumiSection_, saveForOffline(), saveForOnline(), createPayload::suffix, and workflow_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 486 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, irun_, nrun_, Offline, Online, saveByRun_, saveForOffline(), saveForOnline(), createPayload::suffix, and workflow_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 523 of file DQMFileSaver.cc.
References child_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 33 of file DQMFileSaver.cc.
References DQMStore::bookFloat(), DQMStore::bookString(), DQMStore::cd(), child_, gather_cfg::cout, dbe_, alignCSCRings::e, enableMultiThread_, fileBaseName_, lut2db_cfg::filename, fileUpdate_, MonitorElement::Fill(), DQMStore::get(), edm::getReleaseVersion(), DQMStore::getSubdirs(), i, ilumi_, irun_, pastSavedFiles_, runIsComplete_, DQMStore::save(), saveJobReport(), saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, DQMStore::setCurrentFolder(), dqm::qstatus::STATUS_OK, AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, and reco_calib_source_client_cfg::workflow.
Referenced by endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 147 of file DQMFileSaver.cc.
References DQMStore::cd(), child_, dbe_, doSaveForOnline(), alignCSCRings::e, fileBaseName_, DQMStore::get(), DQMStore::getMatchingContents(), DQMStore::getSubdirs(), i, numKeepSavedFiles_, pastSavedFiles_, saveReference_, and saveReferenceQMin_.
Referenced by analyze(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 196 of file DQMFileSaver.cc.
References info(), edm::Service< T >::isAvailable(), and edm::JobReport::reportAnalysisFile().
Referenced by saveForOffline().
|
private |
Definition at line 40 of file DQMFileSaver.h.
Referenced by postForkReacquireResources(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 36 of file DQMFileSaver.h.
Referenced by analyze(), DQMFileSaver(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 58 of file DQMFileSaver.h.
Referenced by saveForOffline(), and saveForOnline().
|
private |
Definition at line 39 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 43 of file DQMFileSaver.h.
Referenced by saveForOffline().
|
private |
Definition at line 55 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 56 of file DQMFileSaver.h.
Referenced by saveForOffline().
|
private |
Definition at line 82 of file DQMFileSaver.h.
|
private |
Definition at line 53 of file DQMFileSaver.h.
Referenced by beginRun(), DQMFileSaver(), and endJob().
|
private |
Definition at line 77 of file DQMFileSaver.h.
|
private |
Definition at line 63 of file DQMFileSaver.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 61 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), endLuminosityBlock(), and saveForOffline().
|
private |
Definition at line 62 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 60 of file DQMFileSaver.h.
Referenced by analyze(), beginJob(), beginRun(), endLuminosityBlock(), endRun(), and saveForOffline().
|
private |
The PID associated with this job.
Definition at line 81 of file DQMFileSaver.h.
|
private |
Definition at line 66 of file DQMFileSaver.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 65 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 64 of file DQMFileSaver.h.
Referenced by beginJob(), beginRun(), and endRun().
|
private |
Definition at line 70 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and saveForOnline().
|
private |
Definition at line 71 of file DQMFileSaver.h.
Referenced by saveForOffline(), and saveForOnline().
|
private |
Current working directory of the job.
Definition at line 80 of file DQMFileSaver.h.
|
private |
Hostname of the local machine.
Definition at line 78 of file DQMFileSaver.h.
|
private |
Definition at line 38 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 42 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and saveForOffline().
|
private |
Definition at line 50 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
private |
Definition at line 46 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 45 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endLuminosityBlock().
|
private |
Definition at line 47 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 49 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endRun().
|
private |
Definition at line 48 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 68 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 51 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 52 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 67 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 73 of file DQMFileSaver.h.
|
private |
Definition at line 74 of file DQMFileSaver.h.
|
private |
Definition at line 76 of file DQMFileSaver.h.
|
private |
Definition at line 41 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 75 of file DQMFileSaver.h.
|
private |
Definition at line 37 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), endLuminosityBlock(), and endRun().
|
private |
DQM "name" of the job (eg, Hcal or DT)
Definition at line 79 of file DQMFileSaver.h.