#include <DQMFileSaver.h>
Public Member Functions | |
DQMFileSaver (const edm::ParameterSet &ps) | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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 &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Definition at line 10 of file DQMFileSaver.h.
|
private |
Enumerator | |
---|---|
Online | |
Offline |
Definition at line 29 of file DQMFileSaver.h.
DQMFileSaver::DQMFileSaver | ( | const edm::ParameterSet & | ps | ) |
Definition at line 184 of file DQMFileSaver.cc.
References convention_, prof2calltree::count, dirName_, edm::hlt::Exception, fileBaseName_, forceRunNumber_, getAnInt(), edm::ParameterSet::getUntrackedParameter(), numKeepSavedFiles_, Offline, Online, producer_, runIsComplete_, asciidump::s, saveAtJobEnd_, saveByEvent_, saveByLumiSection_, saveByMinute_, saveByRun_, saveByTime_, saved_, saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, DQMStore::SaveWithReference, DQMStore::SaveWithReferenceForQTest, start_, BeamSplash_cfg::version, version_, and workflow_.
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 379 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 358 of file DQMFileSaver.cc.
References ievent_, ilumi_, ilumiprev_, irun_, nevent_, nlumi_, and nrun_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 372 of file DQMFileSaver.cc.
References edm::LuminosityBlockBase::id(), ilumi_, ilumiprev_, edm::LuminosityBlockID::luminosityBlock(), and nlumi_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 365 of file DQMFileSaver.cc.
References forceRunNumber_, edm::RunBase::id(), irun_, nrun_, and edm::RunID::run().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 478 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, forceRunNumber_, Offline, saveAtJobEnd_, saveForOffline(), and workflow_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 430 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 456 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, irun_, nrun_, Offline, Online, saveByRun_, saveForOffline(), saveForOnline(), createPayload::suffix, and workflow_.
|
private |
Definition at line 32 of file DQMFileSaver.cc.
References DQMStore::bookFloat(), DQMStore::bookString(), DQMStore::cd(), gather_cfg::cout, dbe_, fileBaseName_, lut2db_cfg::filename, fileUpdate_, MonitorElement::Fill(), DQMStore::get(), edm::getReleaseVersion(), DQMStore::getSubdirs(), i, ilumi_, irun_, pastSavedFiles_, pos, runIsComplete_, DQMStore::save(), saveJobReport(), saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, DQMStore::setCurrentFolder(), dqm::qstatus::STATUS_OK, createPayload::suffix, and reco_calib_source_client_cfg::workflow.
Referenced by endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 136 of file DQMFileSaver.cc.
References DQMStore::cd(), dbe_, doSaveForOnline(), fileBaseName_, DQMStore::get(), DQMStore::getSubdirs(), i, numKeepSavedFiles_, pastSavedFiles_, saveReference_, and saveReferenceQMin_.
Referenced by analyze(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 168 of file DQMFileSaver.cc.
References info, edm::Service< T >::isAvailable(), and edm::JobReport::reportAnalysisFile().
Referenced by saveForOffline().
|
private |
Definition at line 35 of file DQMFileSaver.h.
Referenced by analyze(), DQMFileSaver(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 55 of file DQMFileSaver.h.
Referenced by saveForOffline(), and saveForOnline().
|
private |
Definition at line 38 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 52 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 53 of file DQMFileSaver.h.
Referenced by saveForOffline().
|
private |
Definition at line 79 of file DQMFileSaver.h.
|
private |
Definition at line 50 of file DQMFileSaver.h.
Referenced by beginRun(), DQMFileSaver(), and endJob().
|
private |
Definition at line 74 of file DQMFileSaver.h.
|
private |
Definition at line 60 of file DQMFileSaver.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 58 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), endLuminosityBlock(), and saveForOffline().
|
private |
Definition at line 59 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 57 of file DQMFileSaver.h.
Referenced by analyze(), beginJob(), beginRun(), endLuminosityBlock(), endRun(), and saveForOffline().
|
private |
The PID associated with this job.
Definition at line 78 of file DQMFileSaver.h.
|
private |
Definition at line 63 of file DQMFileSaver.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 62 of file DQMFileSaver.h.
Referenced by beginJob(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 61 of file DQMFileSaver.h.
Referenced by beginJob(), beginRun(), and endRun().
|
private |
Definition at line 67 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and saveForOnline().
|
private |
Definition at line 68 of file DQMFileSaver.h.
Referenced by saveForOffline(), and saveForOnline().
|
private |
Current working directory of the job.
Definition at line 77 of file DQMFileSaver.h.
|
private |
Hostname of the local machine.
Definition at line 75 of file DQMFileSaver.h.
|
private |
Definition at line 37 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 40 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and saveForOffline().
|
private |
Definition at line 47 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
private |
Definition at line 43 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 42 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endLuminosityBlock().
|
private |
Definition at line 44 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 46 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endRun().
|
private |
Definition at line 45 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 65 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 48 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 49 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForOffline(), and saveForOnline().
|
private |
Definition at line 64 of file DQMFileSaver.h.
Referenced by analyze(), and DQMFileSaver().
|
private |
Definition at line 70 of file DQMFileSaver.h.
|
private |
Definition at line 71 of file DQMFileSaver.h.
|
private |
Definition at line 73 of file DQMFileSaver.h.
|
private |
Definition at line 39 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 72 of file DQMFileSaver.h.
|
private |
Definition at line 36 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), endLuminosityBlock(), and endRun().
|
private |
DQM "name" of the job (eg, Hcal or DT)
Definition at line 76 of file DQMFileSaver.h.