1 #ifndef DALITZ_HISTO_SET_HH 2 #define DALITZ_HISTO_SET_HH 27 std::map< DalitzCoordSet, DalitzHistogram>
_theMap;
42 void scale(
double sf);
46 const std::string&
name()
const;
47 const std::string&
dirName()
const;
49 bool saveAsDir(
const std::string& asSubdirOf=
".")
const;
51 bool save(
const std::string& filename=
"DalitzHistos.root")
const;
52 bool draw(
const std::string& baseName=
"" 53 ,
const std::string& drawOpt=
"" 54 ,
const std::string& format=
"eps")
const;
57 ,
const std::string& baseName=
"" 58 ,
const std::string& format=
"eps" 59 ,
const std::string& fitDrawOpt=
"HIST C SAME" 64 , std::vector<DalitzHistoSet>& amps
65 ,
const std::string& baseName =
"" 66 ,
const std::string& format =
"eps" 67 ,
const std::string& fitDrawOpt =
"HIST C SAME" 73 , std::vector<DalitzHistoSet>& amps
74 ,
const std::string& baseName =
"" 75 ,
const std::string& format =
"eps" 76 ,
const std::string& fitDrawOpt =
"HIST C SAME" 80 ,
const std::string& baseName=
"" 81 ,
const std::string& format=
"eps" 82 ,
const std::string& fitDrawOpt=
"HIST C SAME" 86 void setTitle(
const std::string& title);
DalitzHistoSet & operator *=(double sf)
bool drawWithFitNorm(const DalitzHistoSet &fit, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const
void setFillColour(Color_t fcolor)
const std::string & name() const
std::string fullDirListFname(const std::string &asSubdirOf=".") const
DalitzHistoSet operator *(double sf) const
void divide(const DalitzHistogram &hL)
void makeHistograms(const DalitzEventPattern &pat)
DalitzHistoSet operator+(const DalitzHistoSet &rhs) const
void multiply(const DalitzHistogram &hL)
bool drawWithFit(const DalitzHistoSet &fit, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const
bool retrieveFromDir(const std::string &asSubDirOf=".")
DalitzHistoSet & operator+=(const DalitzHistoSet &rhs)
DalitzHistoSet & operator-=(const DalitzHistoSet &rhs)
bool draw(const std::string &baseName="", const std::string &drawOpt="", const std::string &format="eps") const
void setLineColour(Color_t fcolor)
void setTitle(const std::string &title)
DalitzHistoSet operator/(double sf) const
bool drawWithFitAndEachAmps(DalitzHistoSet &data, DalitzHistoSet &fit, std::vector< DalitzHistoSet > &s, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const
std::map< DalitzCoordSet, DalitzHistogram > _theMap
DalitzHistoSet operator-(const DalitzHistoSet &rhs) const
bool makeDirectory(const std::string &asSubdirOf) const
void addEvent(const IDalitzEvent &evt, double weight=1)
bool drawWithFitAndEachAmpsAndInterference(DalitzHistoSet &data, DalitzHistoSet &fit, DalitzHistoSet &interference, std::vector< DalitzHistoSet > &s, const std::string &baseName="", const std::string &format="eps", const std::string &fitDrawOpt="HIST C SAME") const
void setNormFactor(double sf=1)
bool saveAsDir(const std::string &asSubdirOf=".") const
virtual ~DalitzHistoSet()
DalitzHistoSet operator *(double sf, const DalitzHistoSet &dhs)
DalitzHistoSet & operator/=(double sf)
const std::string & dirName() const
bool save(const std::string &filename="DalitzHistos.root") const
void add(const DalitzHistogram &histo, double weight=1)
const std::string & makeName()