1 #ifndef GAUDISVC_THISTSVC_H
2 #define GAUDISVC_THISTSVC_H
4 #include "GaudiKernel/Service.h"
5 #include "GaudiKernel/ITHistSvc.h"
6 #include "GaudiKernel/IFileMgr.h"
7 #include "GaudiKernel/IIncidentListener.h"
8 #include "GaudiKernel/IIoComponent.h"
9 #include "GaudiKernel/MsgStream.h"
55 virtual std::vector<std::string>
getHists()
const;
56 virtual std::vector<std::string>
getTrees()
const;
57 virtual std::vector<std::string>
getGraphs()
const;
60 bool recurse=
false)
const;
62 bool recurse=
false)
const;
65 bool recurse=
false,
bool reg=
false);
67 bool recurse=
false,
bool reg=
false);
70 bool recurse=
false)
const;
72 bool recurse=
false)
const;
75 bool recurse=
false,
bool reg=
false);
77 bool recurse=
false,
bool reg=
false);
79 virtual bool exists(
const std::string& name)
const;
124 THistID(std::string&
i,
bool& t, TObject* o, TFile* f)
132 return (obj < rhs.
obj);
137 template <
typename T>
139 template <
typename T>
141 template <
typename T>
154 std::string
dirname(std::string& dir)
const;
160 std::string& rem, TFile*&
file)
const;
161 void parseString(
const std::string&
id, std::string&
root, std::string& rem)
194 typedef std::map<std::string, THistID>
uidMap;
195 typedef std::multimap<std::string, THistID>
idMap;
196 typedef std::map<TObject*, THistID>
objMap;
197 typedef std::multimap<std::string, std::string>
streamMap;
203 std::map<std::string, std::pair<TFile*,Mode> >
m_files;
221 #ifndef GAUDISVC_THISTSVC_ICC