#include <DQMFileSaverOnline.h>
Classes | |
struct | SnapshotFiles |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static const std::string | fillOrigin (const std::string &filename, const std::string &final_filename) |
Static Public Member Functions inherited from dqm::DQMFileSaverBase | |
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 | appendSnapshot (SnapshotFiles new_snap) const |
void | checkError (const char *msg, const std::string &file, int status) const |
void | makeSnapshot (const FileParameters &fp, bool final) const |
void | saveLumi (const FileParameters &fp) const override |
void | saveRun (const FileParameters &fp) const override |
Protected Member Functions inherited from dqm::DQMFileSaverBase | |
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 |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes | |
int | backupLumiCount_ |
bool | keepBackupLumi_ |
std::list< SnapshotFiles > | snapshots_ |
std::mutex | snapshots_lock_ |
Protected Attributes inherited from dqm::DQMFileSaverBase | |
FileParameters | initial_fp_ |
std::mutex | initial_fp_lock_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Protected Member Functions inherited from dqm::DQMFileSaverBase | |
static const std::string | filename (const FileParameters &fp, bool useLumi=false) |
Definition at line 15 of file DQMFileSaverOnline.h.
DQMFileSaverOnline::DQMFileSaverOnline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 31 of file DQMFileSaverOnline.cc.
References backupLumiCount_, edm::ParameterSet::getUntrackedParameter(), keepBackupLumi_, and ~DQMFileSaverOnline().
|
overridedefault |
Referenced by DQMFileSaverOnline().
|
protected |
Definition at line 116 of file DQMFileSaverOnline.cc.
References checkError(), dqm::DQMFileSaverOnline::SnapshotFiles::data, keepBackupLumi_, CommonMethods::lock(), dqm::DQMFileSaverBase::logFileAction(), dqm::DQMFileSaverOnline::SnapshotFiles::meta, snapshots_, and snapshots_lock_.
Referenced by makeSnapshot().
|
protected |
Definition at line 138 of file DQMFileSaverOnline.cc.
References dqm::DQMFileSaverBase::logFileAction(), mps_check::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by appendSnapshot(), and makeSnapshot().
|
static |
Definition at line 168 of file DQMFileSaverOnline.cc.
References edm::ConfigurationDescriptions::addDefault(), edm::ParameterSetDescription::addUntracked(), DEFINE_FWK_MODULE, dqm::DQMFileSaverBase::fillDescription(), and edm::ParameterSetDescription::setComment().
|
static |
Definition at line 147 of file DQMFileSaverOnline.cc.
References cond::hash, mps_fire::i, createfilelist::int, and MillePedeFileConverter_cfg::out.
Referenced by makeSnapshot().
|
protected |
Definition at line 52 of file DQMFileSaverOnline.cc.
References appendSnapshot(), checkError(), dqm::DQMFileSaverBase::filename(), PatBasicFWLiteAnalyzer::files, fillOrigin(), dqm::DQMFileSaverBase::logFileAction(), dqm::DQMFileSaverBase::FileParameters::lumi_, sysUtil::pid, tablePrinter::prefix, dqm::DQMFileSaverBase::FileParameters::run_, dqm::DQMFileSaverBase::saveJobReport(), dqm::DQMFileSaverBase::FileParameters::saveReference_, dqm::DQMFileSaverBase::FileParameters::saveReferenceQMin_, AlCaHLTBitMon_QueryRunRegistry::string, and createPayload::suffix.
Referenced by saveLumi(), and saveRun().
|
overrideprotectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 39 of file DQMFileSaverOnline.cc.
References backupLumiCount_, dqm::DQMFileSaverBase::FileParameters::lumi_, and makeSnapshot().
|
overrideprotectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 48 of file DQMFileSaverOnline.cc.
References makeSnapshot().
|
protected |
Definition at line 28 of file DQMFileSaverOnline.h.
Referenced by DQMFileSaverOnline(), and saveLumi().
|
protected |
Definition at line 29 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot(), and DQMFileSaverOnline().
|
mutableprotected |
Definition at line 41 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().
|
mutableprotected |
Definition at line 40 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().