41 using namespace HistFactory;
46 LinInterpVar::LinInterpVar()
48 _paramIter = _paramList.createIterator() ;
55 LinInterpVar::LinInterpVar(
const char*
name,
const char* title,
57 double nominal, vector<double> low, vector<double> high) :
59 _paramList(
"paramList",
"List of paramficients",this),
60 _nominal(nominal), _low(low), _high(high)
68 if (!dynamic_cast<RooAbsReal*>(param)) {
70 <<
" is not of type RooAbsReal" << endl ;
84 _paramList(
"paramList",
"List of coefficients",this),
virtual const char * GetName() const
Returns name of object.
TIterator * createIterator(Bool_t dir=kIterForward) const
static long int sum(long int i)
std::vector< double > _low
Double_t getVal(const RooArgSet *set=0) const
Iterator abstract base class.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
std::vector< double > _high
constexpr Double_t E()
Base of natural log: .
Namespace for the RooStats classes.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
LinInterpVar()
Default constructor.
virtual TObject * Next()=0
virtual ~LinInterpVar()
Destructor.
RooAbsArg is the common abstract base class for objects that represent a value (of arbitrary type) an...
Double_t evaluate() const
do not persist