46 _pdf(
"pdf",
"pre-efficiency pdf", this,inPdf),
47 _eff(
"eff",
"efficiency function",this,inEff),
130 const RooArgSet* normSet,
const char* rangeName)
const 134 if (normSet && normSet->
getSize()>0) {
153 analVars.
add(allVars) ;
156 Int_t sterileIndex(-1) ;
virtual const char * GetName() const
Returns name of object.
virtual Bool_t add(const RooAbsArg &var, Bool_t silent=kFALSE)
Add the specified argument to list.
virtual Bool_t add(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling add() for each element in the source coll...
RooRealProxy _pdf
The cache manager.
virtual RooArgList containedArgs(Action)
Report all RooAbsArg derived objects contained in Cache Element (used in function optimization and an...
Double_t getVal(const RooArgSet *set=0) const
virtual ~RooEffProd()
Destructor.
T * getObjByIndex(Int_t index) const
virtual Double_t evaluate() const
Calculate and return 'raw' unnormalized value of p.d.f.
T * getObj(const RooArgSet *nset, Int_t *sterileIndex=0, const TNamed *isetRangeName=0)
const RooAbsPdf * pdf() const
RooAbsGenContext is the abstract base class for generator contexts of RooAbsPdf objects.
virtual void addClone(const RooAbsCollection &col, Bool_t silent=kFALSE)
Add a collection of arguments to this collection by calling addOwned() for each element in the source...
virtual Double_t getValV(const RooArgSet *set=0) const
Return current value, normalizated by integrating over the observables in 'nset'. ...
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 ...
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,...)
friend class RooEffGenContext
RooDataSet is a container class to hold unbinned data.
RooObjCacheManager _cacheMgr
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...
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.
Int_t getAnalyticalIntegralWN(RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const
Return internal integration capabilities of the p.d.f.
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...
RooAbsPdf is the abstract interface for all probability density functions The class provides hybrid a...
virtual Double_t getValV(const RooArgSet *set=0) const
Return p.d.f. value normalized over given set of observables.
virtual TObject * clone(const char *newname) const
Int_t setObj(const RooArgSet *nset, T *obj, const TNamed *isetRangeName=0)
const RooAbsReal * eff() const