#include <DQMFileSaverBase.h>
Classes | |
struct | FileParameters |
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Types inherited from edm::global::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static void | fillDescription (edm::ParameterSetDescription &d) |
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 | |
void | analyze (edm::StreamID, const edm::Event &e, const edm::EventSetup &) const final |
std::shared_ptr< NoCache > | globalBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const final |
std::shared_ptr< NoCache > | globalBeginRun (const edm::Run &, const edm::EventSetup &) const final |
void | globalEndLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const final |
void | globalEndRun (const edm::Run &, const edm::EventSetup &) const final |
virtual void | initRun () const |
void | logFileAction (const std::string &msg, const std::string &fileName) const |
void | saveJobReport (const std::string &filename) const |
virtual void | saveLumi (const FileParameters &fp) const |
virtual void | saveRun (const FileParameters &fp) const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Static Protected Member Functions | |
static const std::string | filename (const FileParameters &fp, bool useLumi=false) |
Protected Attributes | |
FileParameters | initial_fp_ |
std::mutex | initial_fp_lock_ |
int | runNumber_ |
Definition at line 23 of file DQMFileSaverBase.h.
Definition at line 26 of file DQMFileSaverBase.h.
Definition at line 25 of file DQMFileSaverBase.h.
DQMFileSaverBase::DQMFileSaverBase | ( | const edm::ParameterSet & | ps | ) |
Definition at line 29 of file DQMFileSaverBase.cc.
References dqm::DQMFileSaverBase::FileParameters::child_, personalPlayback::fp, edm::ParameterSet::getUntrackedParameter(), initial_fp_, initial_fp_lock_, dqm::DQMFileSaverBase::FileParameters::lumi_, dqm::DQMFileSaverBase::FileParameters::path_, dqm::DQMFileSaverBase::FileParameters::producer_, dqm::DQMFileSaverBase::FileParameters::run_, runNumber_, AlCaHLTBitMon_QueryRunRegistry::string, dqm::DQMFileSaverBase::FileParameters::tag_, and dqm::DQMFileSaverBase::FileParameters::version_.
|
overridedefault |
|
finalprotectedvirtual |
Implements edm::global::EDAnalyzerBase.
Definition at line 63 of file DQMFileSaverBase.cc.
|
staticprotected |
Definition at line 92 of file DQMFileSaverBase.cc.
References visDQMUpload::buf, dqm::DQMFileSaverBase::FileParameters::child_, mergeVDriftHistosByStation::file, compareTotals::fs, dqm::DQMFileSaverBase::FileParameters::lumi_, fed_dqm_sourceclient-live_cfg::path, dqm::DQMFileSaverBase::FileParameters::path_, dqm::DQMFileSaverBase::FileParameters::producer_, dqm::DQMFileSaverBase::FileParameters::run_, dqm::DQMFileSaverBase::FileParameters::tag_, and dqm::DQMFileSaverBase::FileParameters::version_.
Referenced by dqm::DQMFileSaverOnline::makeSnapshot().
|
static |
Definition at line 139 of file DQMFileSaverBase.cc.
References edm::ParameterSetDescription::addUntracked(), dqm::qstatus::STATUS_OK, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqm::DQMFileSaverPB::fillDescriptions(), and dqm::DQMFileSaverOnline::fillDescriptions().
|
finalprotected |
Definition at line 58 of file DQMFileSaverBase.cc.
|
finalprotected |
|
finalprotected |
Definition at line 67 of file DQMFileSaverBase.cc.
References personalPlayback::fp, edm::LuminosityBlockBase::id(), initial_fp_, initial_fp_lock_, dqm::DQMFileSaverBase::FileParameters::lumi_, edm::LuminosityBlockID::luminosityBlock(), edm::LuminosityBlockID::run(), dqm::DQMFileSaverBase::FileParameters::run_, runNumber_, and saveLumi().
|
finalprotected |
Definition at line 81 of file DQMFileSaverBase.cc.
References personalPlayback::fp, edm::RunBase::id(), initial_fp_, initial_fp_lock_, edm::RunID::run(), dqm::DQMFileSaverBase::FileParameters::run_, runNumber_, and saveRun().
|
inlineprotectedvirtual |
Reimplemented in dqm::DQMFileSaverPB.
Definition at line 59 of file DQMFileSaverBase.h.
Referenced by globalBeginRun().
|
protected |
Definition at line 134 of file DQMFileSaverBase.cc.
References MillePedeFileConverter_cfg::fileName, and edm::FlushMessageLog().
Referenced by dqm::DQMFileSaverOnline::appendSnapshot(), dqm::DQMFileSaverOnline::checkError(), and dqm::DQMFileSaverOnline::makeSnapshot().
|
protected |
Definition at line 123 of file DQMFileSaverBase.cc.
References info(), edm::Service< T >::isAvailable(), and edm::JobReport::reportAnalysisFile().
Referenced by dqm::DQMFileSaverOnline::makeSnapshot().
|
inlineprotectedvirtual |
Reimplemented in dqm::DQMFileSaverPB, and dqm::DQMFileSaverOnline.
Definition at line 60 of file DQMFileSaverBase.h.
Referenced by globalEndLuminosityBlock().
|
inlineprotectedvirtual |
Reimplemented in dqm::DQMFileSaverPB, and dqm::DQMFileSaverOnline.
Definition at line 61 of file DQMFileSaverBase.h.
Referenced by globalEndRun().
|
protected |
Definition at line 71 of file DQMFileSaverBase.h.
Referenced by DQMFileSaverBase(), globalEndLuminosityBlock(), and globalEndRun().
|
mutableprotected |
Definition at line 70 of file DQMFileSaverBase.h.
Referenced by DQMFileSaverBase(), globalEndLuminosityBlock(), and globalEndRun().
|
protected |
Definition at line 72 of file DQMFileSaverBase.h.
Referenced by DQMFileSaverBase(), globalEndLuminosityBlock(), and globalEndRun().