1 #ifndef __BCTF1PRIOR__H 2 #define __BCTF1PRIOR__H 42 BCTF1Prior(
const std::string& formula,
double xmin,
double xmax);
66 virtual double GetPrior(
double x,
bool normalize =
false)
A class to represent the prior of a parameter.
virtual bool IsValid() const
A class to represent the prior of a parameter by a formula through a TF1.
virtual BCPrior * Clone() const
Clone function.
virtual ~BCTF1Prior()
Destrcutor.
BCTF1Prior(TF1 &f)
Constructor taking TF1.
virtual double GetPrior(double x, bool normalize=false)
Get prior.
virtual double GetLogPrior(double x)
Get prior.
double fLogIntegral
Log of integral of unnormalized pdf over the range.