11#ifndef ROOSTATS_FLEXIBLEINTERPVAR
12#define ROOSTATS_FLEXIBLEINTERPVAR
35 double nominal, std::vector<double>
low, std::vector<double>
high);
39 std::vector<double>
high,std::vector<int> code);
62 const std::vector<double>&
low()
const;
63 const std::vector<double>&
high()
const;
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDefOverride(name, id)
static void indent(ostringstream &buf, int indent_level)
static unsigned int total
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooRealVar represents a variable that can be changed from the outside.
std::vector< int > _interpCode
std::vector< double > _polCoeff
! cached polynomial coefficients
bool _logInit
! flag used for caching polynomial coefficients
std::vector< double > _high
void printMultiline(std::ostream &os, Int_t contents, bool verbose=false, TString indent="") const override
Interface for detailed printing of object.
void setInterpCode(RooAbsReal ¶m, int code)
void printAllInterpCodes()
const std::vector< double > & high() const
void setLow(RooAbsReal ¶m, double newLow)
const std::vector< double > & low() const
void setHigh(RooAbsReal ¶m, double newHigh)
const std::vector< int > & interpolationCodes() const
void setAllInterpCodes(int code)
void processParam(std::size_t i, double paramVal, double &total) const
std::vector< double > _low
void computeBatch(cudaStream_t *, double *output, size_t size, RooFit::Detail::DataMap const &) const override
Base function for computing multiple values of a RooAbsReal.
double evaluate() const override
Calculate and return value of polynomial.
TObject * clone(const char *newname) const override
void setGlobalBoundary(double boundary)
double PolyInterpValue(int i, double x) const
~FlexibleInterpVar() override
Destructor.
void setNominal(double newNominal)
virtual void printFlexibleInterpVars(std::ostream &os) const
FlexibleInterpVar()
Default constructor.
const RooListProxy & variables() const
Const getters.
Mother of all ROOT objects.
Namespace for the RooStats classes.