#include <LegacyIOHelper.h>
Public Types | |
typedef dqm::implementation::DQMStore | DQMStore |
typedef dqm::harvesting::DQMStore | HarvestedDQMStore |
typedef dqm::harvesting::MonitorElement | HarvestedMonitorElement |
using | MEMap = std::set< HarvestedMonitorElement * > |
typedef dqm::legacy::MonitorElement | MonitorElement |
Public Member Functions | |
LegacyIOHelper (DQMStore *dqmstore) | |
LegacyIOHelper (HarvestedDQMStore *hdqmstore) | |
bool | open (std::string const &filename, std::string const &path="", uint32_t const run=0) |
void | save (std::string const &filename, std::string const &path="", uint32_t const run=0, bool saveall=true, std::string const &fileupdate="RECREATE") |
Private Member Functions | |
bool | createDirectoryIfNeededAndCd (const std::string &path) |
template<class T > | |
void | getMEName (T *h, const std::string &toppath, std::string &meName) |
bool | readdir (TDirectory *dir, const std::string &toppath) |
Private Attributes | |
MEMap | data_ |
DQMStore * | dbe_ |
Definition at line 15 of file LegacyIOHelper.h.
Definition at line 18 of file LegacyIOHelper.h.
Definition at line 21 of file LegacyIOHelper.h.
Definition at line 22 of file LegacyIOHelper.h.
using LegacyIOHelper::MEMap = std::set<HarvestedMonitorElement*> |
Definition at line 24 of file LegacyIOHelper.h.
Definition at line 19 of file LegacyIOHelper.h.
|
inline |
Definition at line 26 of file LegacyIOHelper.h.
|
inline |
Definition at line 27 of file LegacyIOHelper.h.
|
private |
Definition at line 126 of file LegacyIOHelper.cc.
References cms::cuda::assert(), mps_fire::end, Exception, EcalTangentSkim_cfg::o, castor_dqm_sourceclient_file_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by save().
|
inlineprivate |
Definition at line 46 of file LegacyIOHelper.h.
References reco_skim_cfg_mod::fullpath, h, and AlCaHLTBitMon_QueryRunRegistry::string.
bool LegacyIOHelper::open | ( | std::string const & | filename, |
std::string const & | path = "" , |
||
uint32_t const | run = 0 |
||
) |
Definition at line 271 of file LegacyIOHelper.cc.
References DeadROC_duringRun::f1, corrVsCorr::filename, RemoveAddSevLevel::flag, readdir(), writedatasetfile::run, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripOfflineDQM::openInputFile().
|
private |
Definition at line 170 of file LegacyIOHelper.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book1DD(), dqm::implementation::IBooker::book1I(), dqm::implementation::IBooker::book1S(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book2DD(), dqm::implementation::IBooker::book2I(), dqm::implementation::IBooker::book2S(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), haddnano::cl, data_, dbe_, DeadROC_duringRun::dir, h, crabWrapper::key, LogDebug, GetRecoTauVFromDQM_MC_cff::next, AlCaHLTBitMon_QueryRunRegistry::string, and mkLumiAveragedPlots::subdir.
Referenced by open().
void LegacyIOHelper::save | ( | std::string const & | filename, |
std::string const & | path = "" , |
||
uint32_t const | run = 0 , |
||
bool | saveall = true , |
||
std::string const & | fileupdate = "RECREATE" |
||
) |
Definition at line 15 of file LegacyIOHelper.cc.
References visDQMUpload::buf, Skims_PA_cff::content, gather_cfg::cout, createDirectoryIfNeededAndCd(), dbe_, TrackerOfflineValidation_Dqm_cff::dirName, geometryDiff::file, corrVsCorr::filename, dqm::implementation::IGetter::getAllContents(), MonitorElementData::INT, hlt_dqm_clientPB-live_cfg::me, summarizeEdmComparisonLogfiles::objectName, runTheMatrix::opt, castor_dqm_sourceclient_file_cfg::path, MonitorElementData::REAL, mps_fire::result, writedatasetfile::run, str, MonitorElementData::STRING, AlCaHLTBitMon_QueryRunRegistry::string, makePlotsFromDump::suffix, and to_string().
|
private |
Definition at line 65 of file LegacyIOHelper.h.
Referenced by readdir().
|
private |
Definition at line 64 of file LegacyIOHelper.h.