RooProjectedPdf Class Reference

#include <RooProjectedPdf.h>

Inheritance diagram for RooProjectedPdf:

RooAbsPdf RooAbsPdf RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg List of all members.

Public Member Functions

 RooProjectedPdf ()
 RooProjectedPdf (const char *name, const char *title, RooAbsReal &_intpdf, const RooArgSet &intObs)
 RooProjectedPdf (const RooProjectedPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooProjectedPdf ()
virtual Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
virtual Double_t analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &dep) const
virtual Double_t getVal (const RooArgSet *set=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void initGenerator (Int_t)
void generateEvent (Int_t code)
virtual Bool_t selfNormalized () const
virtual RooAbsPdfcreateProjection (const RooArgSet &iset)
void printMetaArgs (ostream &os) const
 RooProjectedPdf ()
 RooProjectedPdf (const char *name, const char *title, RooAbsReal &_intpdf, const RooArgSet &intObs)
 RooProjectedPdf (const RooProjectedPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooProjectedPdf ()
virtual Int_t getAnalyticalIntegralWN (RooArgSet &allVars, RooArgSet &analVars, const RooArgSet *normSet, const char *rangeName=0) const
virtual Double_t analyticalIntegralWN (Int_t code, const RooArgSet *normSet, const char *rangeName=0) const
virtual Bool_t forceAnalyticalInt (const RooAbsArg &dep) const
virtual Double_t getVal (const RooArgSet *set=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void initGenerator (Int_t)
void generateEvent (Int_t code)
virtual Bool_t selfNormalized () const
virtual RooAbsPdfcreateProjection (const RooArgSet &iset)
void printMetaArgs (ostream &os) const

Protected Member Functions

Bool_t redirectServersHook (const RooAbsCollection &newServerList, Bool_t, Bool_t, Bool_t)
 The cache manager.
const RooAbsRealgetProjection (const RooArgSet *iset, const RooArgSet *nset, const char *rangeName, int &code) const
Double_t evaluate () const
Bool_t redirectServersHook (const RooAbsCollection &newServerList, Bool_t, Bool_t, Bool_t)
 The cache manager.
const RooAbsRealgetProjection (const RooArgSet *iset, const RooArgSet *nset, const char *rangeName, int &code) const
Double_t evaluate () const

Protected Attributes

RooRealProxy intpdf
RooSetProxy intobs
RooSetProxy deps
RooObjCacheManager _cacheMgr
RooArgSet_curNormSet
RooArgSet_curNormSet

Classes

class  CacheElem

Detailed Description

Definition at line 21 of file RooProjectedPdf.h.


Constructor & Destructor Documentation

RooProjectedPdf::RooProjectedPdf (  ) 

Definition at line 46 of file RooProjectedPdf.cxx.

Referenced by clone().

RooProjectedPdf::RooProjectedPdf ( const char *  name,
const char *  title,
RooAbsReal _intpdf,
const RooArgSet intObs 
)

Definition at line 54 of file RooProjectedPdf.cxx.

References RooSetProxy::add(), deps, RooAbsArg::getParameters(), and intobs.

RooProjectedPdf::RooProjectedPdf ( const RooProjectedPdf other,
const char *  name = 0 
)

Definition at line 74 of file RooProjectedPdf.cxx.

virtual RooProjectedPdf::~RooProjectedPdf (  )  [inline, virtual]

Definition at line 28 of file RooProjectedPdf.h.

RooProjectedPdf::RooProjectedPdf (  ) 

RooProjectedPdf::RooProjectedPdf ( const char *  name,
const char *  title,
RooAbsReal _intpdf,
const RooArgSet intObs 
)

RooProjectedPdf::RooProjectedPdf ( const RooProjectedPdf other,
const char *  name = 0 
)

virtual RooProjectedPdf::~RooProjectedPdf (  )  [inline, virtual]

Definition at line 28 of file RooProjectedPdf.h.


Member Function Documentation

virtual TObject* RooProjectedPdf::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 27 of file RooProjectedPdf.h.

References RooProjectedPdf().

Int_t RooProjectedPdf::getAnalyticalIntegralWN ( RooArgSet allVars,
RooArgSet analVars,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 175 of file RooProjectedPdf.cxx.

References RooArgSet::add(), getProjection(), and intobs.

Double_t RooProjectedPdf::analyticalIntegralWN ( Int_t  code,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 193 of file RooProjectedPdf.cxx.

References _cacheMgr, RooProjectedPdf::CacheElem::_projection, RooArgSet::add(), RooCacheManager< T >::getObjByIndex(), RooAbsArg::getParameters(), getProjection(), RooAbsReal::getVal(), intobs, RooCacheManager< T >::nameSet1ByIndex(), RooCacheManager< T >::nameSet2ByIndex(), RooAbsArg::RooArgSet, and RooNameSet::select().

Bool_t RooProjectedPdf::forceAnalyticalInt ( const RooAbsArg dep  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 165 of file RooProjectedPdf.cxx.

References kTRUE.

Double_t RooProjectedPdf::getVal ( const RooArgSet set = 0  )  const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 87 of file RooProjectedPdf.cxx.

References _curNormSet, and RooAbsPdf::getVal().

Int_t RooProjectedPdf::getGenerator ( const RooArgSet directVars,
RooArgSet generateVars,
Bool_t  staticInitOK = kTRUE 
) const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 225 of file RooProjectedPdf.cxx.

void RooProjectedPdf::initGenerator ( Int_t   )  [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 38 of file RooProjectedPdf.h.

void RooProjectedPdf::generateEvent ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.

Definition at line 234 of file RooProjectedPdf.cxx.

virtual Bool_t RooProjectedPdf::selfNormalized (  )  const [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 41 of file RooProjectedPdf.h.

References kTRUE.

RooAbsPdf * RooProjectedPdf::createProjection ( const RooArgSet iset  )  [virtual]

Reimplemented from RooAbsPdf.

Definition at line 150 of file RooProjectedPdf.cxx.

References RooArgSet::add(), RooRealProxy::arg(), intobs, and intpdf.

void RooProjectedPdf::printMetaArgs ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 289 of file RooProjectedPdf.cxx.

References RooRealProxy::arg(), TNamed::GetName(), intobs, and intpdf.

Bool_t RooProjectedPdf::redirectServersHook ( const RooAbsCollection newServerList,
Bool_t  ,
Bool_t  ,
Bool_t   
) [protected, virtual]

The cache manager.

Reimplemented from RooAbsPdf.

Definition at line 243 of file RooProjectedPdf.cxx.

References RooRealProxy::arg(), deps, RooAbsCollection::find(), TNamed::GetName(), RooAbsArg::getParameters(), RooAbsCollection::getSize(), intobs, intpdf, kFALSE, kTRUE, RooAbsCollection::remove(), and RooAbsCollection::selectCommon().

const RooAbsReal * RooProjectedPdf::getProjection ( const RooArgSet iset,
const RooArgSet nset,
const char *  rangeName,
int &  code 
) const [protected]

Definition at line 113 of file RooProjectedPdf.cxx.

References _cacheMgr, RooProjectedPdf::CacheElem::_projection, RooArgSet::add(), RooRealProxy::arg(), coutI, RooAbsReal::createIntegral(), TNamed::GetName(), RooCacheManager< T >::getObj(), RooAbsArg::getObservables(), RooFit::Integration, intpdf, RooCacheManager< T >::lastIndex(), RooNameReg::ptr(), RooAbsArg::RooArgSet, and RooCacheManager< T >::setObj().

Referenced by analyticalIntegralWN(), evaluate(), and getAnalyticalIntegralWN().

Double_t RooProjectedPdf::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

Definition at line 99 of file RooProjectedPdf.cxx.

References _curNormSet, getProjection(), RooAbsReal::getVal(), and intobs.

virtual TObject* RooProjectedPdf::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 27 of file RooProjectedPdf.h.

References RooProjectedPdf().

virtual Int_t RooProjectedPdf::getAnalyticalIntegralWN ( RooArgSet allVars,
RooArgSet analVars,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

virtual Double_t RooProjectedPdf::analyticalIntegralWN ( Int_t  code,
const RooArgSet normSet,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsPdf.

virtual Bool_t RooProjectedPdf::forceAnalyticalInt ( const RooAbsArg dep  )  const [virtual]

Reimplemented from RooAbsReal.

virtual Double_t RooProjectedPdf::getVal ( const RooArgSet set = 0  )  const [virtual]

Reimplemented from RooAbsPdf.

Int_t RooProjectedPdf::getGenerator ( const RooArgSet directVars,
RooArgSet generateVars,
Bool_t  staticInitOK = kTRUE 
) const [virtual]

Reimplemented from RooAbsPdf.

void RooProjectedPdf::initGenerator ( Int_t   )  [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 38 of file RooProjectedPdf.h.

void RooProjectedPdf::generateEvent ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.

virtual Bool_t RooProjectedPdf::selfNormalized (  )  const [inline, virtual]

Reimplemented from RooAbsPdf.

Definition at line 41 of file RooProjectedPdf.h.

References kTRUE.

virtual RooAbsPdf* RooProjectedPdf::createProjection ( const RooArgSet iset  )  [virtual]

Reimplemented from RooAbsPdf.

void RooProjectedPdf::printMetaArgs ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsArg.

Bool_t RooProjectedPdf::redirectServersHook ( const RooAbsCollection newServerList,
Bool_t  ,
Bool_t  ,
Bool_t   
) [protected, virtual]

The cache manager.

Reimplemented from RooAbsPdf.

const RooAbsReal* RooProjectedPdf::getProjection ( const RooArgSet iset,
const RooArgSet nset,
const char *  rangeName,
int &  code 
) const [protected]

Double_t RooProjectedPdf::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.


Member Data Documentation

RooRealProxy RooProjectedPdf::intpdf [protected]

Definition at line 51 of file RooProjectedPdf.h.

Referenced by createProjection(), getProjection(), printMetaArgs(), and redirectServersHook().

RooSetProxy RooProjectedPdf::intobs [protected]

Definition at line 52 of file RooProjectedPdf.h.

Referenced by analyticalIntegralWN(), createProjection(), evaluate(), getAnalyticalIntegralWN(), printMetaArgs(), redirectServersHook(), and RooProjectedPdf().

RooSetProxy RooProjectedPdf::deps [protected]

Definition at line 53 of file RooProjectedPdf.h.

Referenced by redirectServersHook(), and RooProjectedPdf().

RooObjCacheManager RooProjectedPdf::_cacheMgr [mutable, protected]

Definition at line 64 of file RooProjectedPdf.h.

Referenced by analyticalIntegralWN(), and getProjection().

RooArgSet* RooProjectedPdf::_curNormSet [mutable, protected]

Definition at line 68 of file RooProjectedPdf.h.

Referenced by evaluate(), and getVal().

RooArgSet* RooProjectedPdf::_curNormSet [mutable, protected]

Definition at line 68 of file RooProjectedPdf.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:59 2011 for ROOT_528-00b_version by  doxygen 1.5.1