#include <RooEffProd.h>
Inheritance diagram for RooEffProd:
Public Member Functions | |
RooEffProd () | |
virtual | ~RooEffProd () |
RooEffProd (const char *name, const char *title, RooAbsPdf &pdf, RooAbsReal &efficiency) | |
RooEffProd (const RooEffProd &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual RooAbsGenContext * | genContext (const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet *auxProto, Bool_t verbose) const |
virtual Double_t | getVal (const RooArgSet *set=0) const |
virtual Bool_t | forceAnalyticalInt (const RooAbsArg &) const |
Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const |
Double_t | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const |
RooEffProd () | |
virtual | ~RooEffProd () |
RooEffProd (const char *name, const char *title, RooAbsPdf &pdf, RooAbsReal &efficiency) | |
RooEffProd (const RooEffProd &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual RooAbsGenContext * | genContext (const RooArgSet &vars, const RooDataSet *prototype, const RooArgSet *auxProto, Bool_t verbose) const |
virtual Double_t | getVal (const RooArgSet *set=0) const |
virtual Bool_t | forceAnalyticalInt (const RooAbsArg &) const |
Int_t | getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &numVars, const RooArgSet *normSet, const char *rangeName=0) const |
Double_t | analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const |
Protected Member Functions | |
const RooAbsPdf * | pdf () const |
const RooAbsReal * | eff () const |
virtual Double_t | evaluate () const |
const RooAbsPdf * | pdf () const |
const RooAbsReal * | eff () const |
virtual Double_t | evaluate () const |
Protected Attributes | |
RooObjCacheManager | _cacheMgr |
RooRealProxy | _pdf |
The cache manager. | |
RooRealProxy | _eff |
const RooArgSet * | _nset |
RooArgSet * | _fixedNset |
Normalization set to be used in evaluation. | |
const RooArgSet * | _nset |
RooArgSet * | _fixedNset |
Normalization set to be used in evaluation. | |
Classes | |
class | CacheElem |
Definition at line 20 of file RooEffProd.h.
RooEffProd::RooEffProd | ( | ) | [inline] |
RooEffProd::~RooEffProd | ( | ) | [virtual] |
Definition at line 69 of file RooEffProd.cxx.
RooEffProd::RooEffProd | ( | const char * | name, | |
const char * | title, | |||
RooAbsPdf & | pdf, | |||
RooAbsReal & | efficiency | |||
) |
Definition at line 37 of file RooEffProd.cxx.
RooEffProd::RooEffProd | ( | const RooEffProd & | other, | |
const char * | name = 0 | |||
) |
Definition at line 54 of file RooEffProd.cxx.
RooEffProd::RooEffProd | ( | ) | [inline] |
Definition at line 23 of file RooEffProd.h.
virtual RooEffProd::~RooEffProd | ( | ) | [virtual] |
RooEffProd::RooEffProd | ( | const char * | name, | |
const char * | title, | |||
RooAbsPdf & | pdf, | |||
RooAbsReal & | efficiency | |||
) |
RooEffProd::RooEffProd | ( | const RooEffProd & | other, | |
const char * | name = 0 | |||
) |
virtual TObject* RooEffProd::clone | ( | const char * | newname | ) | const [inline, virtual] |
Implements RooAbsArg.
Definition at line 28 of file RooEffProd.h.
References RooEffProd().
Referenced by getAnalyticalIntegralWN().
RooAbsGenContext * RooEffProd::genContext | ( | const RooArgSet & | vars, | |
const RooDataSet * | prototype, | |||
const RooArgSet * | auxProto, | |||
Bool_t | verbose | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Definition at line 99 of file RooEffProd.cxx.
References eff(), pdf(), and RooAbsPdf::RooEffGenContext.
Reimplemented from RooAbsPdf.
Definition at line 77 of file RooEffProd.cxx.
References _fixedNset, _nset, and RooAbsPdf::getVal().
Referenced by analyticalIntegralWN().
Int_t RooEffProd::getAnalyticalIntegralWN | ( | RooArgSet & | allVars, | |
RooArgSet & | numVars, | |||
const RooArgSet * | normSet, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 115 of file RooEffProd.cxx.
References _cacheMgr, RooEffProd::CacheElem::_clone, _fixedNset, RooEffProd::CacheElem::_int, RooEffProd::CacheElem::_intObs, RooArgSet::add(), RooArgSet::addClone(), clone(), RooAbsReal::createIntegral(), Form(), TNamed::GetName(), RooCacheManager< T >::getObj(), RooAbsCollection::getSize(), RooCacheManager< T >::lastIndex(), RooNameReg::ptr(), and RooCacheManager< T >::setObj().
Double_t RooEffProd::analyticalIntegralWN | ( | Int_t | code, | |
const RooArgSet * | normSet, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Definition at line 175 of file RooEffProd.cxx.
References _cacheMgr, RooEffProd::CacheElem::_int, RooCacheManager< T >::getObjByIndex(), getVal(), and RooAbsReal::getVal().
const RooAbsPdf* RooEffProd::pdf | ( | ) | const [inline, protected] |
Definition at line 44 of file RooEffProd.h.
References _pdf, and RooArgProxy::absArg().
Referenced by evaluate(), and genContext().
const RooAbsReal* RooEffProd::eff | ( | ) | const [inline, protected] |
Definition at line 48 of file RooEffProd.h.
References _eff, and RooArgProxy::absArg().
Referenced by evaluate(), and genContext().
Double_t RooEffProd::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 89 of file RooEffProd.cxx.
References _nset, eff(), RooAbsPdf::getVal(), RooAbsReal::getVal(), and pdf().
virtual TObject* RooEffProd::clone | ( | const char * | newname | ) | const [inline, virtual] |
virtual RooAbsGenContext* RooEffProd::genContext | ( | const RooArgSet & | vars, | |
const RooDataSet * | prototype, | |||
const RooArgSet * | auxProto, | |||
Bool_t | verbose | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Reimplemented from RooAbsPdf.
Int_t RooEffProd::getAnalyticalIntegralWN | ( | RooArgSet & | allVars, | |
RooArgSet & | numVars, | |||
const RooArgSet * | normSet, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Double_t RooEffProd::analyticalIntegralWN | ( | Int_t | code, | |
const RooArgSet * | normSet, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
const RooAbsPdf* RooEffProd::pdf | ( | ) | const [inline, protected] |
const RooAbsReal* RooEffProd::eff | ( | ) | const [inline, protected] |
virtual Double_t RooEffProd::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
RooObjCacheManager RooEffProd::_cacheMgr [mutable, protected] |
Definition at line 67 of file RooEffProd.h.
Referenced by analyticalIntegralWN(), and getAnalyticalIntegralWN().
RooRealProxy RooEffProd::_pdf [protected] |
RooRealProxy RooEffProd::_eff [protected] |
const RooArgSet* RooEffProd::_nset [mutable, protected] |
RooArgSet* RooEffProd::_fixedNset [protected] |
Normalization set to be used in evaluation.
Definition at line 75 of file RooEffProd.h.
Referenced by getAnalyticalIntegralWN(), and getVal().
const RooArgSet* RooEffProd::_nset [mutable, protected] |
Definition at line 73 of file RooEffProd.h.
RooArgSet* RooEffProd::_fixedNset [protected] |