11 #ifndef HISTOGRAMBASE_HH 12 #define HISTOGRAMBASE_HH 53 void fillBase(
int binNum,
double weight);
void loadBase(TString filename)
double chi2(const HistogramBase &other) const
double getMaxDensity() const
double getBinError(int bin) const
virtual void merge(const HistogramBase &other)
std::vector< double > _binContents
void asymmetry(const HistogramBase &other)
void setBinError(int bin, double val)
std::vector< double > _sumW2
virtual double getBinVolume(int bin) const
double getBinContent(int bin) const
void setBinContent(int bin, double val)
void fillBase(int binNum, double weight)
void makeFrequencyDensity()
double chi2sig(const HistogramBase &other, int ndof=-1) const
double getFrequencyDensity(int bin) const
void resetBinContents(int nBins)
void multiply(const HistogramBase &other)
void drawPullHistogram(const HistogramBase &other, TString name, int nBins=50, double pmLimits=3.5) const
void reserveCapacity(int nElements)
void minus(const HistogramBase &other)
void setMinDensity(double min)
void randomiseWithinErrors(int seed)
void divide(const HistogramBase &other)
int checkBinNumber(int bin) const
void normalise(double area=1.0)
void pulls(const HistogramBase &other)
double pvalue(const HistogramBase &other, int ndof=-1) const
void setMaxDensity(double max)
double integralError() const
double getMinDensity() const
void add(const HistogramBase &other)