#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) |
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 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) |
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_ |
edm::GetterOfProducts< DQMToken > | lumigetter_ |
edm::GetterOfProducts< DQMToken > | rungetter_ |
int | runNumber_ |
Additional Inherited Members | |
Public Types inherited from dqm::DQMFileSaverBase | |
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 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 30 of file DQMFileSaverOnline.cc.
References backupLumiCount_, edm::ParameterSet::getUntrackedParameter(), and keepBackupLumi_.
|
overridedefault |
|
protected |
Definition at line 113 of file DQMFileSaverOnline.cc.
References checkError(), f, keepBackupLumi_, CommonMethods::lock(), dqm::DQMFileSaverBase::logFileAction(), snapshots_, snapshots_lock_, and x.
Referenced by makeSnapshot().
|
protected |
Definition at line 135 of file DQMFileSaverOnline.cc.
References geometryDiff::file, dqm::DQMFileSaverBase::logFileAction(), mps_check::msg, mps_update::status, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by appendSnapshot(), and makeSnapshot().
|
static |
Definition at line 170 of file DQMFileSaverOnline.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and dqm::DQMFileSaverBase::fillDescription().
|
static |
Definition at line 143 of file DQMFileSaverOnline.cc.
References EVP_MD_CTX_free, EVP_MD_CTX_new, dqm::DQMFileSaverBase::filename(), personalPlayback::fp, cond::hash, mps_fire::i, createfilelist::int, cms::openssl_init(), and MillePedeFileConverter_cfg::out.
Referenced by makeSnapshot().
|
protected |
Definition at line 48 of file DQMFileSaverOnline.cc.
References appendSnapshot(), checkError(), dqm::DQMFileSaverBase::filename(), submitPVResolutionJobs::files, fillOrigin(), personalPlayback::fp, h, dqm::DQMFileSaverBase::logFileAction(), hcallasereventfilter2012_cfi::prefix, dqm::DQMFileSaverBase::saveJobReport(), AlCaHLTBitMon_QueryRunRegistry::string, and makePlotsFromDump::suffix.
Referenced by saveLumi(), and saveRun().
|
overrideprotectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 37 of file DQMFileSaverOnline.cc.
References backupLumiCount_, personalPlayback::fp, and makeSnapshot().
|
overrideprotectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 46 of file DQMFileSaverOnline.cc.
References personalPlayback::fp, and makeSnapshot().
|
protected |
Definition at line 27 of file DQMFileSaverOnline.h.
Referenced by DQMFileSaverOnline(), and saveLumi().
|
protected |
Definition at line 28 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot(), and DQMFileSaverOnline().
|
mutableprotected |
Definition at line 40 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().
|
mutableprotected |
Definition at line 39 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().