46 _pdf(
"pdf",
"pre-efficiency pdf", this,inPdf),
47 _eff(
"eff",
"efficiency function",this,inEff),
61 _cacheMgr(other._cacheMgr,this),
62 _pdf(
"pdf",this,other._pdf),
63 _eff(
"acc",this,other._eff),
130 const RooArgSet* normSet,
const char* rangeName)
const
134 if (normSet && normSet->
getSize()>0) {
153 analVars.
add(allVars) ;
156 Int_t sterileIndex(-1) ;
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual Double_t evaluate() const
Calculate and return 'raw' unnormalized value of p.d.f.
virtual RooArgList containedArgs(Action)
Report all RooAbsArg derived objects contained in Cache Element (used in function optimization and an...
virtual TObject * clone(const char *newname) const
virtual ~RooEffProd()
Destructor.
virtual RooAbsGenContext * genContext(const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet *auxProto, Bool_t verbose) const
Return specialized generator context for RooEffProds that implements generation in a more efficient w...
const RooAbsPdf * pdf() const
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Return internal integration capabilities of the p.d.f.
T * getObj(const RooArgSet *nset, Int_t *sterileIndex=0, const TNamed *isetRangeName=0)
Double_t getVal(const RooArgSet *set=0) const
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
TPaveLabel title(3, 27.1, 15, 28.7,"ROOT Environment and Tools")
static const TNamed * ptr(const char *stringPtr)
Return a unique TNamed pointer for given C++ string.
RooAbsCacheElement is the abstract base class for objects to be stored in RooAbsCache cache manager o...
char * Form(const char *fmt,...)
virtual const char * GetName() const
Returns name of object.
friend class RooEffGenContext
RooDataSet is a container class to hold unbinned data.
Double_t analyticalIntegralWN(Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
Return value of integral identified by code, which should be a return value of getAnalyticalIntegralW...
virtual Double_t getValV(const RooArgSet *set=0) const
Return current value, normalizated by integrating over the observables in 'nset'. ...
RooObjCacheManager _cacheMgr
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
RooArgSet * _fixedNset
Normalization set to be used in evaluation.
virtual Double_t getValV(const RooArgSet *set=0) const
Return p.d.f. value normalized over given set of observables.
T * getObjByIndex(Int_t index) const
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
const RooAbsReal * eff() const
virtual RooAbsArg * addClone(const RooAbsArg &var, Bool_t silent=kFALSE)
Add clone of specified element to an owning set.
Int_t setObj(const RooArgSet *nset, T *obj, const TNamed *isetRangeName=0)
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add element to non-owning set.
RooAbsReal * createIntegral(const RooArgSet &iset, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none()) const
Create an object that represents the integral of the function over one or more observables listed in ...