#include <DQMFileSaver.h>
Public Types | |
enum | Convention { Online, Offline, FilterUnit } |
enum | FileFormat { ROOT, PB } |
Public Types inherited from edm::global::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static boost::property_tree::ptree | fillJson (int run, int lumi, const std::string &dataFilePathName, const std::string transferDestinationStr, evf::FastMonitoringService *fms) |
Static Public Member Functions inherited from edm::global::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 | 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_ |
std::string | transferDestination_ |
int | version_ |
std::string | workflow_ |
Static Private Attributes | |
static const std::string | streamPrefix_ |
static const std::string | streamSuffix_ |
Definition at line 15 of file DQMFileSaver.h.
Enumerator | |
---|---|
Online | |
Offline | |
FilterUnit |
Definition at line 39 of file DQMFileSaver.h.
Enumerator | |
---|---|
ROOT | |
PB |
Definition at line 46 of file DQMFileSaver.h.
DQMFileSaver::DQMFileSaver | ( | const edm::ParameterSet & | ps | ) |
Definition at line 432 of file DQMFileSaver.cc.
References convention_, prof2calltree::count, dirName_, 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, relval_steps::version, version_, and workflow_.
|
protectedvirtual |
Implements edm::global::EDAnalyzerBase.
Definition at line 678 of file DQMFileSaver.cc.
|
protectedvirtual |
Reimplemented from edm::global::EDAnalyzerBase.
Definition at line 638 of file DQMFileSaver.cc.
References convention_, dbe_, enableMultiThread_, fakeFilterUnitMode_, FilterUnit, irun_, nlumi_, nrun_, stream_label_, and transferDestination_.
|
protectedvirtual |
Reimplemented from edm::global::EDAnalyzerBase.
Definition at line 814 of file DQMFileSaver.cc.
References child_, convention_, Exception, fileBaseName_, fileFormat_, lut2db_cfg::filename, forceRunNumber_, irun_, Offline, onlineOfflineFileName(), saveAtJobEnd_, saveForOffline(), saveJobReport(), AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, and workflow_.
|
static |
Definition at line 260 of file DQMFileSaver.cc.
References data, Exception, evf::FastMonitoringService::getEventsProcessedForLumi(), query::host, merge::inputFiles, fed_dqm_sourceclient-live_cfg::path, sysUtil::pid, EnergyCorrector::pt, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmservices::JsonWritingTimeoutPoolOutputModule::doExtrasAfterCloseFile(), and saveForFilterUnit().
|
protectedvirtual |
|
protectedvirtual |
Definition at line 652 of file DQMFileSaver.cc.
References convention_, fakeFilterUnitMode_, mergeVDriftHistosByStation::file, FilterUnit, evf::EvFDaqDirector::getInitFilePath(), nrun_, stream_label_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
protectedvirtual |
Definition at line 686 of file DQMFileSaver.cc.
References convention_, dbe_, enableMultiThread_, Exception, fileFormat_, FilterUnit, fms_, edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nlumi_, Offline, Online, PB, ROOT, edm::LuminosityBlockID::run(), saveByLumiSection_, saveForFilterUnit(), saveForOffline(), saveForOnline(), saveForOnlinePB(), evf::FastMonitoringService::shouldWriteFiles(), createPayload::suffix, and workflow_.
|
protectedvirtual |
Definition at line 745 of file DQMFileSaver.cc.
References convention_, data, dirName_, Exception, fakeFilterUnitMode_, mergeVDriftHistosByStation::file, fileFormat_, cmsPerfStripChart::format, edm::RunBase::id(), irun_, nlumi_, nrun_, Offline, Online, PB, EnergyCorrector::pt, ROOT, edm::RunID::run(), saveByRun_, saveForOffline(), saveForOfflinePB(), saveForOnline(), saveForOnlinePB(), AlCaHLTBitMon_QueryRunRegistry::string, createPayload::suffix, and workflow_.
|
protectedvirtual |
Reimplemented from edm::global::EDAnalyzerBase.
Definition at line 836 of file DQMFileSaver.cc.
References child_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 338 of file DQMFileSaver.cc.
References dataFileExtension(), dbe_, dirName_, enableMultiThread_, Exception, fakeFilterUnitMode_, fileUpdate_, fillJson(), filterName_, fms_, cmsPerfStripChart::format, evf::FastMonitoringService::getEventsProcessedForLumi(), PB, EnergyCorrector::pt, ROOT, saveReference_, saveReferenceQMin_, stream_label_, AlCaHLTBitMon_QueryRunRegistry::string, and transferDestination_.
Referenced by globalEndLuminosityBlock().
|
private |
Definition at line 86 of file DQMFileSaver.cc.
References child_, dbe_, alignCSCRings::e, enableMultiThread_, fileBaseName_, lut2db_cfg::filename, fileUpdate_, MonitorElement::Fill(), edm::getReleaseVersion(), i, visualization-live-secondInstance_cfg::msg, onlineOfflineFileName(), ROOT, runIsComplete_, 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, AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
Referenced by globalEndRun().
|
private |
Definition at line 207 of file DQMFileSaver.cc.
References child_, dbe_, doSaveForOnline(), alignCSCRings::e, enableMultiThread_, fileBaseName_, i, ROOT, saveReference_, and saveReferenceQMin_.
Referenced by globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 190 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 416 of file DQMFileSaver.cc.
References info(), edm::Service< T >::isAvailable(), and edm::JobReport::reportAnalysisFile().
Referenced by endJob().
|
private |
Definition at line 68 of file DQMFileSaver.h.
Referenced by endJob(), postForkReacquireResources(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 62 of file DQMFileSaver.h.
Referenced by beginJob(), DQMFileSaver(), endJob(), globalBeginRun(), globalEndLuminosityBlock(), and globalEndRun().
|
private |
Definition at line 85 of file DQMFileSaver.h.
Referenced by beginJob(), globalEndLuminosityBlock(), saveForFilterUnit(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 67 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), globalEndRun(), and saveForFilterUnit().
|
private |
Definition at line 72 of file DQMFileSaver.h.
Referenced by beginJob(), globalEndLuminosityBlock(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 73 of file DQMFileSaver.h.
Referenced by beginJob(), DQMFileSaver(), globalBeginRun(), globalEndRun(), and saveForFilterUnit().
|
private |
Definition at line 82 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), saveForOffline(), saveForOfflinePB(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 63 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), globalEndLuminosityBlock(), and globalEndRun().
|
mutableprivate |
Definition at line 83 of file DQMFileSaver.h.
Referenced by saveForFilterUnit(), and saveForOffline().
|
private |
Definition at line 69 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOfflinePB(), and saveForOnlinePB().
|
private |
Definition at line 93 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), globalEndLuminosityBlock(), and saveForFilterUnit().
|
private |
Definition at line 80 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
mutableprivate |
Definition at line 90 of file DQMFileSaver.h.
Referenced by beginJob(), endJob(), and globalEndRun().
|
mutableprivate |
Definition at line 87 of file DQMFileSaver.h.
Referenced by beginJob(), globalBeginLuminosityBlock(), globalEndLuminosityBlock(), and globalEndRun().
|
mutableprivate |
Definition at line 86 of file DQMFileSaver.h.
Referenced by beginJob(), globalBeginRun(), and globalEndRun().
|
private |
Definition at line 65 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 71 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and saveForOffline().
|
private |
Definition at line 77 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and endJob().
|
private |
Definition at line 75 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and globalEndLuminosityBlock().
|
private |
Definition at line 76 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), and globalEndRun().
|
private |
Definition at line 78 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 79 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), saveForFilterUnit(), saveForOffline(), saveForOnline(), and saveForOnlinePB().
|
private |
Definition at line 66 of file DQMFileSaver.h.
Referenced by beginJob(), DQMFileSaver(), globalBeginRun(), and saveForFilterUnit().
|
staticprivate |
Definition at line 95 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
staticprivate |
Definition at line 96 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 97 of file DQMFileSaver.h.
Referenced by beginJob(), and saveForFilterUnit().
|
private |
Definition at line 70 of file DQMFileSaver.h.
Referenced by DQMFileSaver().
|
private |
Definition at line 64 of file DQMFileSaver.h.
Referenced by DQMFileSaver(), endJob(), globalEndLuminosityBlock(), globalEndRun(), and saveForOnlinePB().