40 BCH1D(TH1D * hist = 0);
54 {
return fHistogram; };
59 {
return fHistogram ->
GetMean(); };
88 {
return fHistogram->GetRMS(); };
93 {
return fHistogram->GetRMS(); };
103 {
return fHistogram->GetSkewness(); };
108 {
return fHistogram->GetKurtosis(); };
115 double GetIntegral(
double valuemin,
double valuemax);
129 {
return fColors.at(index); };
150 { fHistogram = hist; };
181 void Print(
const char * filename, std::string options=
"BTsiB3CS1D0Lmeanmode", std::vector<double> intervals=std::vector<double>(0),
int ww=0,
int wh=0);
192 void Print(
const char * filename, std::string options,
double interval,
int ww=0,
int wh=0);
224 void Draw(std::string options=
"BTsiB3CS1D0Lmeanmode", std::vector<double> intervals=std::vector<double>(0));
231 void Draw(std::string options,
double interval);
283 TH1D*
GetSubHisto(
double min,
double max,
const char * name);
295 double fDefaultCLLimit;
307 std::vector<int> fColors;
311 mutable std::vector<TObject*> fROOTObjects;
315 static unsigned int getNextIndex()
316 {
return ++fHCounter; }
320 static unsigned int fHCounter;
double GetLimit(double probability)
double GetPValue(double probability)
double GetIntegral(double valuemin, double valuemax)
TH1D * GetSubHisto(double min, double max, const char *name)
void DrawDelta(double value) const
void SetColorScheme(int scheme)
void Print(const char *filename, std::string options="BTsiB3CS1D0Lmeanmode", std::vector< double > intervals=std::vector< double >(0), int ww=0, int wh=0)
TH1D * GetSmallestIntervalHistogram(double level)
double IntegralWidth(double min, double max)
void SetHistogram(TH1D *hist)
A class for handling 1D distributions.
std::vector< double > GetSmallestIntervals(double content=0.68)
void SetGlobalMode(double mode)
double GetSmallestInterval(double &min, double &max, double content=.68)
double GetQuantile(double probablity)
void SetDefaultCLLimit(double limit)
void Draw(std::string options="BTsiB3CS1D0Lmeanmode", std::vector< double > intervals=std::vector< double >(0))