#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(), dataset::end, Exception, class-composition::o, command_line::start, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by save().
|
inlineprivate |
Definition at line 46 of file LegacyIOHelper.h.
References das_client::fullpath(), and AlCaHLTBitMon_QueryRunRegistry::string.
bool LegacyIOHelper::open | ( | std::string const & | filename, |
std::string const & | path = "" , |
||
uint32_t const | run = 0 |
||
) |
Definition at line 257 of file LegacyIOHelper.cc.
References validate-o2o-wbm::f1, readdir(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 170 of file LegacyIOHelper.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book1DD(), dqm::implementation::IBooker::book1S(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book2DD(), dqm::implementation::IBooker::book2S(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::IBooker::bookProfile2D(), haddnano::cl, data_, dbe_, h, submitPVResolutionJobs::key, LogDebug, GetRecoTauVFromDQM_MC_cff::next, and AlCaHLTBitMon_QueryRunRegistry::string.
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, ws_sso_content_reader::content, gather_cfg::cout, createDirectoryIfNeededAndCd(), dbe_, TrackerOfflineValidation_Dqm_cff::dirName, mergeVDriftHistosByStation::file, dqm::implementation::IGetter::getAllContents(), MonitorElementData::INT, hlt_dqm_clientPB-live_cfg::me, summarizeEdmComparisonLogfiles::objectName, runTheMatrix::opt, MonitorElementData::REAL, mps_fire::result, str, MonitorElementData::STRING, AlCaHLTBitMon_QueryRunRegistry::string, makePlotsFromDump::suffix, cond::impl::to_string(), and relativeConstraints::value.
Referenced by dqm::DQMFileSaverOnline::makeSnapshot(), dqm::implementation::DQMStore::save(), and DQMFileSaver::saveForOffline().
|
private |
Definition at line 65 of file LegacyIOHelper.h.
Referenced by readdir().
|
private |
Definition at line 64 of file LegacyIOHelper.h.