45 _nominal(
"nominal",
"nominal",this, nominal, false, false),
46 _obsSet(
"!obsSet",
"Observables",this, false, false),
47 _paramSet(
"!paramSet",
"Parameters",this),
48 _cacheMgr(this, 1, true, false)
50 for (
const auto comp : obsSet) {
53 <<
" in observable list is not of type RooAbsReal" << endl ;
59 for (
const auto comp : paramSet) {
62 <<
" in parameter list is not of type RooAbsReal" << endl ;
69 if(paramSet.
size()==1)
78 _nominal(
"!nominal",this,other._nominal),
79 _obsSet(
"!obsSet",this,other._obsSet),
80 _paramSet(
"!paramSet",this,other._paramSet),
81 _cacheMgr(this, 1, true, false)
103 for (
auto varTmp : *vars) {
104 auto& var =
static_cast<RooRealVar&
>(*varTmp);
106 double span = range.second - range.first;
107 var.setRange(range.first - 0.1*span, range.second + 0.1 * span);
111 cacheElm->
_pdf.reset(clonePdf);
117 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
Abstract interface for all probability density functions.
std::pair< double, double > getRange(const char *name=nullptr) const
Get low and high bound of the variable.
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.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
static void softAbort()
Soft abort function that interrupts macro execution but doesn't kill ROOT.
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
Variable that can be changed from the outside.
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...
const char * GetName() const override
Returns name of object.
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