3 #if !defined(TH1Store_H)
13 #include "TDirectory.h"
21 typedef std::vector<std::string>
SVec;
22 typedef std::map<std::string, std::string>
SSMap;
65 TH1 *
hist(
const TString &
name) {
return hist((
const char *)name); }
static void setVerbose(bool verbose=true)
bool m_deleteOnDestruction
void add(TH1 *histPtr, const std::string &directory="")
TDirectory * _createDir(const std::string &dirname, TFile *filePtr) const
void setDeleteOnDestruction(bool deleteOnDestruction=true)
static const SVec kEmptyVec
void write(const std::string &filename, const SVec &argsVec=kEmptyVec, const SVec &inputFilesVec=kEmptyVec) const
static constexpr int verbose
STH1PtrMap::const_iterator STH1PtrMapConstIter
friend std::ostream & operator<<(std::ostream &o_stream, const TH1Store &rhs)
std::map< std::string, TH1 * > STH1PtrMap
STH1PtrMap::iterator STH1PtrMapIter
TH1 * hist(const char *name)
std::vector< std::string > SVec
std::map< std::string, std::string > SSMap
SSMap::const_iterator SSMapConstIter
TH1 * hist(const std::string &name)
TH1 * hist(const TString &name)