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());
bool createDirectoryIfNeededAndCd(const std::string &path)
std::set< HarvestedMonitorElement * > MEMap
void save(std::string const &filename, std::string const &path="", uint32_t const run=0, bool saveall=true, std::string const &fileupdate="RECREATE")
bool open(std::string const &filename, std::string const &path="", uint32_t const run=0)
LegacyIOHelper(HarvestedDQMStore *hdqmstore)
bool readdir(TDirectory *dir, const std::string &toppath)
dqm::implementation::DQMStore DQMStore
dqm::harvesting::MonitorElement HarvestedMonitorElement
void getMEName(T *h, const std::string &toppath, std::string &meName)
dqm::legacy::MonitorElement MonitorElement
dqm::harvesting::DQMStore HarvestedDQMStore
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
LegacyIOHelper(DQMStore *dqmstore)