#include <DQMFileSaverOnline.h>
Classes | |
struct | SnapshotFiles |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 (FileParameters fp) const |
virtual void | saveRun (FileParameters fp) const |
Protected Member Functions inherited from dqm::DQMFileSaverBase | |
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< NoCache > | globalBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const |
virtual std::shared_ptr< 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 |
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 |
Static Protected Member Functions inherited from dqm::DQMFileSaverBase | |
static const std::string | filename (FileParameters fp, bool useLumi=false) |
static boost::property_tree::ptree | fillJson (int run, int lumi, const std::string &dataFilePathName, const std::string transferDestinationStr, evf::FastMonitoringService *fms) |
static const std::string | fillOrigin (const std::string filename, const std::string final_filename) |
Definition at line 15 of file DQMFileSaverOnline.h.
DQMFileSaverOnline::DQMFileSaverOnline | ( | const edm::ParameterSet & | ps | ) |
Definition at line 27 of file DQMFileSaverOnline.cc.
References backupLumiCount_, and edm::ParameterSet::getUntrackedParameter().
DQMFileSaverOnline::~DQMFileSaverOnline | ( | ) |
Definition at line 33 of file DQMFileSaverOnline.cc.
|
protected |
Definition at line 111 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 131 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 139 of file DQMFileSaverOnline.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), dqm::DQMFileSaverBase::fillDescription(), and edm::ParameterSetDescription::setComment().
|
protected |
Definition at line 49 of file DQMFileSaverOnline.cc.
References appendSnapshot(), checkError(), dqm::DQMFileSaverBase::filename(), MainPageGenerator::files, dqm::DQMFileSaverBase::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().
|
protectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 35 of file DQMFileSaverOnline.cc.
References backupLumiCount_, dqm::DQMFileSaverBase::FileParameters::lumi_, and makeSnapshot().
|
protectedvirtual |
Reimplemented from dqm::DQMFileSaverBase.
Definition at line 45 of file DQMFileSaverOnline.cc.
References makeSnapshot().
|
protected |
Definition at line 25 of file DQMFileSaverOnline.h.
Referenced by DQMFileSaverOnline(), and saveLumi().
|
mutableprotected |
Definition at line 37 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().
|
mutableprotected |
Definition at line 36 of file DQMFileSaverOnline.h.
Referenced by appendSnapshot().