1 #ifndef DALITZ_HISTOGRAM_TAMMTAMM_HH 2 #define DALITZ_HISTOGRAM_TAMMTAMM_HH 39 ,
const char* theName=0)
const;
41 ,
const char* theName=0)
const;
42 bool saveValues(
const std::string& inDir=
".")
const;
44 ,
const char* theName=0);
45 bool saveHisto(
const std::string& inDir=
".")
const;
47 ,
const char* theName=0);
64 const std::string
hname()
const;
65 const std::string&
htitle()
const;
66 const std::string&
dirName()
const;
75 bool saveAsDir(
const std::string& asSubdirOf=
".")
const;
77 ,
const char* theName=0);
92 void scale(
double sf);
93 void setTitle(
const std::string& title);
96 bool draw(
const std::string& baseName=
"" 97 ,
const std::string& drawOpt=
"" 98 ,
const std::string& format=
"eps" 102 ,
const std::string& baseName=
"" 103 ,
const std::string& format=
"eps" 104 ,
const std::string& fitDrawOpt=
"HIST C SAME" 109 ,
const std::string& baseName=
"" 110 ,
const std::string& format=
"eps" 111 ,
const std::string& fitDrawOpt=
"HIST C SAME" 115 ,
const std::string& baseName=
"" 116 ,
const std::string& drawOpt=
"SAME" 117 ,
const std::string& format=
"eps" bool retrieveHisto(const std::string &fromDir, const char *theName=0)
std::string valueFileName(const std::string &asSubdirOf=".", const char *theName=0) const
bool saveAsDir(const std::string &asSubdirOf=".") const
DalitzHistogram & operator=(const DalitzHistogram &other)
std::string histoFileName(const std::string &asSubdirOf=".", const char *theName=0) const
const std::string smartTitle() const
const std::string & dirName() const
bool saveHisto(const std::string &inDir=".") const
MINT::counted_ptr< TH1 > _h
std::vector< int > _patForTree
MINT::const_counted_ptr< TH1 > histo() const
MINT::counted_ptr< TH1 > getHisto()
const std::string & name() const
void setTitle(const std::string &title)
bool retrieveValues(const std::string &fromDirectory, const char *theName=0)
void init(const DalitzCoordSet &c, const DalitzEventPattern &p, int bins=100, double units=GeV *GeV)
bool draw(const std::string &baseName="", const std::string &drawOpt="", const std::string &format="eps") const
void addEvent(const IDalitzEvent &evt, double weight=1)
void divide(const DalitzHistogram ÷By)
bool drawWithFit(const DalitzHistogram &fit, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const
const std::string hname() const
const DalitzEventPattern & pattern() const
bool retrieveFromDir(const std::string &asSubdirOf=".", const char *theName=0)
MINT::counted_ptr< TH1 > histo()
bool saveValues(const std::string &inDir=".") const
bool makeDirectory(const std::string &asSubdirOf=".") const
const DalitzCoordSet & coord() const
const std::string & htitle() const
bool drawEachAmp(TCanvas &can, const std::string &baseName="", const std::string &drawOpt="SAME", const std::string &format="eps") const
virtual ~DalitzHistogram()
void add(const DalitzHistogram &addMeToYou, double weight=1)
void setNormFactor(double f=1)
void multiply(const DalitzHistogram &multiplyWith)