46 _nominal(
"nominal",
"nominal",this, nominal, false, false),
47 _obsSet(
"!obsSet",
"Observables",this, false, false),
48 _paramSet(
"!paramSet",
"Parameters",this),
49 _cacheMgr(this, 1, true, false)
51 for (
const auto comp : obsSet) {
54 <<
" in observable list is not of type RooAbsReal" << endl ;
60 for (
const auto comp : paramSet) {
63 <<
" in parameter list is not of type RooAbsReal" << endl ;
79 _nominal(
"!nominal",this,other._nominal),
80 _obsSet(
"!obsSet",this,other._obsSet),
81 _paramSet(
"!paramSet",this,other._paramSet),
82 _cacheMgr(this, 1, true, false)
112 for (
auto varTmp : *vars) {
113 auto& var =
static_cast<RooRealVar&
>(*varTmp);
115 double span = range.second - range.first;
116 var.setRange(range.first - 0.1*span, range.second + 0.1 * span);
120 cacheElm->
_pdf.reset(clonePdf);
126 auto& cachedPdf = *cacheElm->
_pdf;
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...
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 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.
virtual ~RooJeffreysPrior()
Destructor.
RooTemplateProxy< RooAbsPdf > _nominal
Double_t evaluate() const
Calculate and return current value of self.
RooObjCacheManager _cacheMgr
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE) override
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.
RooCmdArg SumW2Error(Bool_t flag)
RooCmdArg Save(Bool_t flag=kTRUE)
RooCmdArg PrintLevel(Int_t code)
RooCmdArg Minos(Bool_t flag=kTRUE)
RooCmdArg ExpectedData(Bool_t flag=kTRUE)
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