#include <DQMFileSaver.h>
Public Types | |
enum | Convention { Online, Offline, FilterUnit } |
enum | FileFormat { ROOT, PB } |
Public Types inherited from edm::global::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Protected Member Functions | |
virtual void | analyze (edm::StreamID, const edm::Event &e, const edm::EventSetup &) const |
virtual void | beginJob (void) |
virtual void | endJob (void) |
virtual std::shared_ptr < saverDetails::NoCache > | globalBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const |
virtual std::shared_ptr < saverDetails::NoCache > | globalBeginRun (const edm::Run &, const edm::EventSetup &) const |
virtual void | globalEndLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const |
virtual void | globalEndRun (const edm::Run &, const edm::EventSetup &) const |
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 Member Functions | |
void | fillJson (int run, int lumi, const std::string &dataFilePathName, boost::property_tree::ptree &pt) const |
void | saveForFilterUnit (const std::string &rewrite, int run, int lumi, const FileFormat fileFormat) const |
void | saveForOffline (const std::string &workflow, int run, int lumi) const |
void | saveForOfflinePB (const std::string &workflow, int run) const |
void | saveForOnline (int run, const std::string &suffix, const std::string &rewrite) const |
void | saveForOnlinePB (int run, const std::string &suffix) const |
void | saveJobReport (const std::string &filename) const |
Private Attributes | |
std::string | child_ |
Convention | convention_ |
DQMStore * | dbe_ |
std::string | dirName_ |
bool | enableMultiThread_ |
bool | fakeFilterUnitMode_ |
std::string | fileBaseName_ |
FileFormat | fileFormat_ |
std::atomic< int > | fileUpdate_ |
std::string | filterName_ |
evf::FastMonitoringService * | fms_ |
int | forceRunNumber_ |
std::atomic< int > | irun_ |
std::atomic< int > | nlumi_ |
std::atomic< int > | nrun_ |
std::string | producer_ |
bool | runIsComplete_ |
bool | saveAtJobEnd_ |
int | saveByLumiSection_ |
int | saveByRun_ |
int | saveReference_ |
int | saveReferenceQMin_ |
std::string | stream_label_ |
int | version_ |
std::string | workflow_ |
Static Private Attributes | |
static const std::string | streamPrefix_ |
static const std::string | streamSuffix_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::global::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Definition at line 15 of file DQMFileSaver.h.
Enumerator | |
---|---|
Online | |
Offline | |
FilterUnit |
Definition at line 31 of file DQMFileSaver.h.
Enumerator | |
---|---|
ROOT | |
PB |
Definition at line 38 of file DQMFileSaver.h.
DQMFileSaver::DQMFileSaver | ( | const edm::ParameterSet & | ps | ) |
Definition at line 394 of file DQMFileSaver.cc.
References eb_dqm_sourceclient-live_cfg::convention, convention_, prof2calltree::count, dirName_, edm::hlt::Exception, fakeFilterUnitMode_, fileBaseName_, fileFormat_, filterName_, FilterUnit, fms_, forceRunNumber_, getAnInt(), edm::ParameterSet::getUntrackedParameter(), Offline, Online, PB, producer_, ROOT, runIsComplete_, alignCSCRings::s, saveAtJobEnd_, saveByLumiSection_, saveByRun_, saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, DQMStore::SaveWithReference, DQMStore::SaveWithReferenceForQTest, stream_label_, streamPrefix_, streamSuffix_, AlCaHLTBitMon_QueryRunRegistry::string, BeamSplash_cfg::version, version_, and workflow_.
|
protectedvirtual |
Implements edm::global::EDAnalyzerBase.
Definition at line 635 of file DQMFileSaver.cc.
|
protectedvirtual |
Reimplemented from edm::global::EDAnalyzerBase.
Definition at line 600 of file DQMFileSaver.cc.
References dbe_, enableMultiThread_, DQMStore::enableMultiThread_, irun_, nlumi_, and nrun_.
|
protectedvirtual |
Reimplemented from edm::global::EDAnalyzerBase.
Definition at line 768 of file DQMFileSaver.cc.
References child_, convention_, edm::hlt::Exception, fileBaseName_, fileFormat_, lut2db_cfg::filename, forceRunNumber_, irun_, Offline, onlineOfflineFileName(), saveAtJobEnd_, saveForOffline(), saveJobReport(), AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, and workflow_.
|
private |
Definition at line 238 of file DQMFileSaver.cc.
References data, edm::hlt::Exception, fakeFilterUnitMode_, fms_, evf::FastMonitoringService::getEventsProcessedForLumi(), query::host, merge::inputFiles, cmsHarvester::path, sysUtil::pid, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by saveForFilterUnit().
|
protectedvirtual |
|
protectedvirtual |
Definition at line 609 of file DQMFileSaver.cc.
References convention_, fakeFilterUnitMode_, mergeVDriftHistosByStation::file, FilterUnit, evf::EvFDaqDirector::getInitFilePath(), nrun_, stream_label_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
Definition at line 643 of file DQMFileSaver.cc.
References convention_, edm::hlt::Exception, fileFormat_, FilterUnit, fms_, evf::FastMonitoringService::getEventsProcessedForLumi(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nlumi_, Offline, Online, PB, ROOT, edm::LuminosityBlockID::run(), saveByLumiSection_, saveForFilterUnit(), saveForOffline(), saveForOnline(), saveForOnlinePB(), createPayload::suffix, and workflow_.
|
protectedvirtual |
Definition at line 699 of file DQMFileSaver.cc.
References convention_, data, dirName_, edm::hlt::Exception, fakeFilterUnitMode_, mergeVDriftHistosByStation::file, fileFormat_, cmsPerfStripChart::format, edm::RunBase::id(), irun_, nlumi_, nrun_, Offline, Online, PB, RecoTauCleanerPlugins::pt, ROOT, edm::RunID::run(), saveByRun_, saveForOffline(), saveForOfflinePB(), saveForOnline(), saveForOnlinePB(), AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, and workflow_.
|
protectedvirtual |
Definition at line 790 of file DQMFileSaver.cc.
References child_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 301 of file DQMFileSaver.cc.
References dataFileExtension(), dbe_, dirName_, enableMultiThread_, edm::hlt::Exception, fakeFilterUnitMode_, fileUpdate_, fillJson(), filterName_, cmsPerfStripChart::format, PB, RecoTauCleanerPlugins::pt, ROOT, DQMStore::save(), DQMStore::savePB(), saveReference_, saveReferenceQMin_, stream_label_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by globalEndLuminosityBlock().
|
private |
Definition at line 86 of file DQMFileSaver.cc.
References DQMStore::cd(), child_, gather_cfg::cout, dbe_, alignCSCRings::e, enableMultiThread_, fileBaseName_, lut2db_cfg::filename, fileUpdate_, DQMStore::getSubdirs(), i, onlineOfflineFileName(), ROOT, DQMStore::save(), saveReference_, saveReferenceQMin_, DQMStore::SaveWithoutReference, dqm::qstatus::STATUS_OK, AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
Referenced by endJob(), globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 77 of file DQMFileSaver.cc.
References child_, dbe_, fileBaseName_, lut2db_cfg::filename, filterName_, onlineOfflineFileName(), PB, DQMStore::savePB(), AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
Referenced by globalEndRun().
|
private |
Definition at line 185 of file DQMFileSaver.cc.
References DQMStore::cd(), child_, dbe_, doSaveForOnline(), alignCSCRings::e, enableMultiThread_, fileBaseName_, DQMStore::get(), DQMStore::getMatchingContents(), DQMStore::getSubdirs(), i, ROOT, saveReference_, and saveReferenceQMin_.
Referenced by globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 168 of file DQMFileSaver.cc.
References child_, dbe_, doSaveForOnline(), enableMultiThread_, fileBaseName_, lut2db_cfg::filename, filterName_, onlineOfflineFileName(), PB, saveReference_, saveReferenceQMin_, AlCaHLTBitMon_QueryRunRegistry::string, and workflow_.
Referenced by globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 378 of file DQMFileSaver.cc.
References info(), edm::Service< T >::isAvailable(), and edm::JobReport::reportAnalysisFile().
Referenced by endJob().
|
private |
Definition at line 61 of file DQMFileSaver.h.
Referenced by endJob(), postForkReacquireResources(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 55 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), globalBeginRun(), globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 78 of file DQMFileSaver.h.
Referenced by beginJob(), saveForFilterUnit(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 60 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), globalEndRun(), and saveForFilterUnit().
|
private |
Definition at line 65 of file DQMFileSaver.h.
Referenced by beginJob(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 66 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), fillJson(), globalBeginRun(), globalEndRun(), and saveForFilterUnit().
|
private |
Definition at line 75 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 56 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), globalEndLuminosityBlock(), and globalEndRun().
|
mutableprivate |
Definition at line 76 of file DQMFileSaver.h.
Referenced by saveForFilterUnit(), and saveForOffline().
|
private |
Definition at line 62 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOfflinePB(), and saveForOnlinePB().
|
private |
Definition at line 86 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), fillJson(), and globalEndLuminosityBlock().
|
private |
Definition at line 73 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
mutableprivate |
Definition at line 83 of file DQMFileSaver.h.
Referenced by beginJob(), endJob(), and globalEndRun().
|
mutableprivate |
Definition at line 80 of file DQMFileSaver.h.
Referenced by beginJob(), globalBeginLuminosityBlock(), globalEndLuminosityBlock(), and globalEndRun().
|
mutableprivate |
Definition at line 79 of file DQMFileSaver.h.
Referenced by beginJob(), globalBeginRun(), and globalEndRun().
|
private |
Definition at line 58 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 64 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 70 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
private |
Definition at line 68 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and globalEndLuminosityBlock().
|
private |
Definition at line 69 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and globalEndRun().
|
private |
Definition at line 71 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 72 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 59 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), globalBeginRun(), and saveForFilterUnit().
|
staticprivate |
Definition at line 88 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
staticprivate |
Definition at line 89 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 63 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 57 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), globalEndLuminosityBlock(), globalEndRun(), and saveForOnlinePB().