42 _nominal(
"nominal",
"nominal",this, nominal, false, false),
43 _obsSet(
"!obsSet",
"Observables",this, false, false),
44 _paramSet(
"!paramSet",
"Parameters",this),
45 _cacheMgr(this, 1, true, false)
51 if(paramSet.
size()==1)
60 _nominal(
"!nominal",this,other._nominal),
61 _obsSet(
"!obsSet",this,other._obsSet),
62 _paramSet(
"!paramSet",this,other._paramSet),
63 _cacheMgr(this, 1, true, false)
85 for (
auto* var : static_range_cast<RooRealVar*>(*vars)) {
86 auto range = var->getRange();
87 double span = range.second - range.first;
88 var->setRange(range.first - 0.1*span, range.second + 0.1 * span);
92 cacheElm->
_pdf.reset(clonePdf);
98 auto& cachedPdf = *cacheElm->
_pdf;
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
RooFit::OwningPtr< RooArgSet > getParameters(const RooAbsData *data, bool stripDisconnected=true) const
Create a list of leaf nodes in the arg tree starting with ourself as top node that don't match any of...
Storage_t::size_type size() const
bool addTyped(const RooAbsCollection &list, bool silent=false)
Adds elements of a given RooAbsCollection to the container if they match the specified type.
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value and implements functionality common to al...
RooNumIntConfig * specialIntegratorConfig() const
Returns the specialized integrator configuration for this RooAbsReal.
RooArgList is a container object that can hold multiple RooAbsArg objects.
Int_t setObj(const RooArgSet *nset, T *obj, const TNamed *isetRangeName=nullptr)
Setter function without integration set.
T * getObj(const RooArgSet *nset, Int_t *sterileIndex=nullptr, const TNamed *isetRangeName=nullptr)
Getter function without integration set.
bool setLabel(const char *label, bool printError=true) override
Set value by specifying the name of the desired state.
Switches the message service to a different level while the instance is alive.
Implementation of Jeffrey's prior.
RooTemplateProxy< RooAbsPdf > _nominal
double evaluate() const override
Calculate and return current value of self.
RooObjCacheManager _cacheMgr
!
const T & arg() const
Return reference to object held in proxy.
Double_t Determinant() const override
TMatrixTSym< Element > & Invert(Double_t *det=nullptr)
Invert the matrix and calculate its determinant Notice that the LU decomposition is used instead of B...
RooCmdArg Save(bool flag=true)
RooCmdArg SumW2Error(bool flag)
RooCmdArg Minos(bool flag=true)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg ExpectedData(bool flag=true)
The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or othe...
std::unique_ptr< RooAbsPdf > _pdf
std::unique_ptr< RooArgSet > _pdfVariables