3 #if !defined(TH1Store_H)
13 #include "TDirectory.h"
23 typedef std::vector< std::string >
SVec;
24 typedef std::map< std::string, std::string >
SSMap;
36 friend std::ostream&
operator<< (std::ostream& o_stream,
71 {
return hist( (
const char*) name ); }
77 void write (TFile *filePtr,
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
std::map< std::string, TH1 * > STH1PtrMap
STH1PtrMap::const_iterator STH1PtrMapConstIter
friend std::ostream & operator<<(std::ostream &o_stream, const TH1Store &rhs)
std::vector< std::string > SVec
STH1PtrMap::iterator STH1PtrMapIter
std::map< std::string, std::string > SSMap
TH1 * hist(const char *name)
SSMap::const_iterator SSMapConstIter
TH1 * hist(const std::string &name)
TH1 * hist(const TString &name)