Go to the documentation of this file. 1 #ifndef DQMSERVICES_CORE_LEGACYIOHELPER_H
2 #define DQMSERVICES_CORE_LEGACYIOHELPER_H
24 using MEMap = std::set<HarvestedMonitorElement*>;
38 uint32_t
const run = 0,
48 fullpath << gDirectory->GetPath() <<
"/" <<
h->GetName();
51 size_t pos = dirpath.find(toppath);
52 if (
pos != std::string::npos) {
53 dirpath.erase(
pos, toppath.length());
56 pos = dirpath.find(rsummary);
57 if (
pos != std::string::npos) {
58 dirpath.erase(
pos, rsummary.length());
void save(std::string const &filename, std::string const &path="", uint32_t const run=0, bool saveall=true, std::string const &fileupdate="RECREATE")
bool readdir(TDirectory *dir, const std::string &toppath)
dqm::harvesting::MonitorElement HarvestedMonitorElement
dqm::harvesting::DQMStore HarvestedDQMStore
bool open(std::string const &filename, std::string const &path="", uint32_t const run=0)
dqm::legacy::MonitorElement MonitorElement
LegacyIOHelper(HarvestedDQMStore *hdqmstore)
void getMEName(T *h, const std::string &toppath, std::string &meName)
dqm::implementation::DQMStore DQMStore
LegacyIOHelper(DQMStore *dqmstore)
bool createDirectoryIfNeededAndCd(const std::string &path)
std::set< HarvestedMonitorElement * > MEMap