16 #ifndef ROO_EFF_RES_MODEL 17 #define ROO_EFF_RES_MODEL 21 #include "RooRealProxy.h" 22 #include "RooSetProxy.h" 23 #include "RooObjCacheManager.h" 25 #include "RooResolutionModel.h" 27 class RooAbsAnaConvPdf;
34 RooResolutionModel&
model, RooAbsReal& eff);
39 virtual Int_t
basisCode(
const char* name)
const;
41 RooArgSet& allVars, RooArgSet& analVars,
42 const char* rangeName=0)
const;
44 Int_t code,
const char* rangeName)
const;
48 const RooArgSet& directVars, RooArgSet &generateVars,
49 Bool_t staticInitOK = kTRUE)
const;
54 const RooAbsAnaConvPdf& convPdf,
const RooArgSet &vars,
55 const RooDataSet *prototype = 0,
const RooArgSet* auxProto = 0,
56 Bool_t verbose= kFALSE)
const;
64 virtual RooResolutionModel&
model()
const;
70 const RooArgSet& iset,
const char* rangeName = 0)
const;
76 RooFormulaVar* inBasis, RooAbsArg* owner)
const;
83 const TNamed *rangeName);
87 Double_t
getVal(
const RooArgSet* nset = 0)
const;
101 const RooArgSet* iset,
const TNamed* rangeName = 0)
const;
108 typedef std::map<std::string, RooArgList*>
RangeMap;
virtual void generateEvent(Int_t code)
virtual Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
std::vector< double > _bounds
virtual RooArgSet * observables() const
Return pointer to pdf in product.
virtual RooResolutionModel & model() const
const RooArgList & getIntegralRanges(const RooArgSet &iset, const char *rangeName=0) const
virtual Double_t evaluate() const
virtual RooEffResModel * convolution(RooFormulaVar *inBasis, RooAbsArg *owner) const
std::map< std::string, RooArgList * > RangeMap
virtual Bool_t forceAnalyticalInt(const RooAbsArg &dep) const
virtual std::vector< RooAbsReal * > efficiencies() const
Return pointer to pdf in product.
virtual Int_t basisCode(const char *name) const
virtual RooEffResModel * clone(const char *newname) const
virtual void initGenerator(Int_t code)
virtual Double_t analyticalIntegral(Int_t code, const char *rangeName) const
Double_t getVal(const RooArgSet *nset=0) const
virtual ~RooEffResModel()
CacheElem(const RooEffResModel &parent, const RooArgSet &iset, const TNamed *rangeName)
virtual RooAbsReal * efficiency() const
Return pointer to pdf in product.
virtual RooArgList containedArgs(Action)
friend class RooMultiEffResModel
virtual RooAbsGenContext * modelGenContext(const RooAbsAnaConvPdf &convPdf, const RooArgSet &vars, const RooDataSet *prototype=0, const RooArgSet *auxProto=0, Bool_t verbose=kFALSE) const
CacheElem * getCache(const RooArgSet *iset, const TNamed *rangeName=0) const
RooObjCacheManager _cacheMgr
virtual Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const