#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 |
virtual void | saveLumi (const FileParameters &fp) const override |
virtual void | saveRun (const FileParameters &fp) const override |
Protected Member Functions inherited from dqm::DQMFileSaverBase | |
virtual void | analyze (edm::StreamID, const edm::Event &e, const edm::EventSetup &) const overridefinal |
virtual std::shared_ptr< NoCache > | globalBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const overridefinal |
virtual std::shared_ptr< NoCache > | globalBeginRun (const edm::Run &, const edm::EventSetup &) const overridefinal |
virtual void | globalEndLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const overridefinal |
virtual void | globalEndRun (const edm::Run &, const edm::EventSetup &) const overridefinal |
virtual void | initRun (void) const |
void | logFileAction (const std::string &msg, const std::string &fileName) const |
virtual void | postForkReacquireResources (unsigned int childIndex, unsigned int numberOfChildren) |
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 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_ |
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_, and edm::ParameterSet::getUntrackedParameter().
DQMFileSaverOnline::~DQMFileSaverOnline | ( | ) |
Definition at line 37 of file DQMFileSaverOnline.cc.
|
protected |
Definition at line 115 of file DQMFileSaverOnline.cc.
References checkError(), dqm::DQMFileSaverOnline::SnapshotFiles::data, CommonMethods::lock(), dqm::DQMFileSaverBase::logFileAction(), dqm::DQMFileSaverOnline::SnapshotFiles::meta, snapshots_, snapshots_lock_, and x().
Referenced by makeSnapshot().
|
protected |
Definition at line 135 of file DQMFileSaverOnline.cc.
References dqm::DQMFileSaverBase::logFileAction(), visualization-live-secondInstance_cfg::msg, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by appendSnapshot(), and makeSnapshot().
|
static |
Definition at line 167 of file DQMFileSaverOnline.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), dqm::DQMFileSaverBase::fillDescription(), and edm::ParameterSetDescription::setComment().
|
static |
Definition at line 143 of file DQMFileSaverOnline.cc.
References personalPlayback::fp, cond::hash, i, and dbtoconf::out.
Referenced by makeSnapshot().
|
protected |
Definition at line 53 of file DQMFileSaverOnline.cc.
References appendSnapshot(), checkError(), dqm::DQMFileSaverBase::filename(), MainPageGenerator::files, fillOrigin(), dqm::DQMFileSaverBase::logFileAction(), dqm::DQMFileSaverBase::FileParameters::lumi_, sysUtil::pid, prof2calltree::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 49 of file DQMFileSaverOnline.cc.
References makeSnapshot().
|
protected |
Definition at line 28 of file DQMFileSaverOnline.h.
Referenced by DQMFileSaverOnline(), and saveLumi().
|
mutableprotected |
Definition at line 40 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().
|
mutableprotected |
Definition at line 39 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().