47 _nominal(
"nominal",
"nominal",this, nominal, false, false),
48 _obsSet(
"!obsSet",
"Observables",this, false, false),
49 _paramSet(
"!paramSet",
"Parameters",this),
50 _cacheMgr(this, 1, true, false)
52 for (
const auto comp : obsSet) {
55 <<
" in observable list is not of type RooAbsReal" << endl ;
61 for (
const auto comp : paramSet) {
64 <<
" in parameter list is not of type RooAbsReal" << endl ;
80 _nominal(
"!nominal",this,other._nominal),
81 _obsSet(
"!obsSet",this,other._obsSet),
82 _paramSet(
"!paramSet",this,other._paramSet),
83 _cacheMgr(this, 1, true, false)
113 for (
auto varTmp : *vars) {
114 auto& var =
static_cast<RooRealVar&
>(*varTmp);
116 double span = range.second - range.first;
117 var.setRange(range.first - 0.1*span, range.second + 0.1 * span);
121 cacheElm->
_pdf.reset(clonePdf);
127 auto& cachedPdf = *cacheElm->
_pdf;
RooArgSet * getParameters(const RooAbsData *data, Bool_t stripDisconnected=kTRUE) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
std::pair< double, double > getRange(const char *name=0) const
Get low and high bound of the variable.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooNumIntConfig * specialIntegratorConfig() const
Returns the specialized integrator configuration for this RooAbsReal.
RooArgList is a container object that can hold multiple RooAbsArg objects.
T * getObj(const RooArgSet *nset, Int_t *sterileIndex=0, const TNamed *isetRangeName=0)
Int_t setObj(const RooArgSet *nset, T *obj, const TNamed *isetRangeName=0)
virtual Bool_t setLabel(const char *label, Bool_t printError=kTRUE)
Set value by specifying the name of the desired state If printError is set, a message will be printed...
Switches the message service to verbose while the instance alive.
Implementation of Jeffrey's prior.
virtual ~RooJeffreysPrior()
Destructor.
Double_t evaluate() const
Calculate and return current value of self.
RooObjCacheManager _cacheMgr
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Reimplementation of standard RooArgList::add()
RooRealVar represents a variable that can be changed from the outside.
const T & arg() const
Return reference to object held in proxy.
virtual Double_t Determinant() const
TMatrixTSym< Element > & Invert(Double_t *det=0)
Invert the matrix and calculate its determinant Notice that the LU decomposition is used instead of B...
virtual const char * GetName() const
Returns name of object.
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
RooCmdArg Minos(Bool_t flag=kTRUE)
std::unique_ptr< RooAbsPdf > _pdf
std::unique_ptr< RooArgSet > _pdfVariables