RooMomentMorph Class Reference

#include <RooMomentMorph.h>

Inheritance diagram for RooMomentMorph:

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

Public Types

enum  Setting
enum  Setting

Public Member Functions

 RooMomentMorph ()
 RooMomentMorph (const char *name, const char *title, RooAbsReal &_m, const RooArgList &varList, const RooArgList &pdfList, const RooArgList &mrefList, const Setting &setting=NonLinearPosFractions)
 RooMomentMorph (const char *name, const char *title, RooAbsReal &_m, const RooArgList &varList, const RooArgList &pdfList, const TVectorD &mrefpoints, const Setting &setting=NonLinearPosFractions)
 RooMomentMorph (const RooMomentMorph &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooMomentMorph ()
void setMode (const Setting &setting)
virtual Bool_t selfNormalized () const
virtual Double_t getVal (const RooArgSet *set=0) const
RooAbsPdfsumPdf (const RooArgSet *nset)
 RooMomentMorph ()
 RooMomentMorph (const char *name, const char *title, RooAbsReal &_m, const RooArgList &varList, const RooArgList &pdfList, const RooArgList &mrefList, const Setting &setting=NonLinearPosFractions)
 RooMomentMorph (const char *name, const char *title, RooAbsReal &_m, const RooArgList &varList, const RooArgList &pdfList, const TVectorD &mrefpoints, const Setting &setting=NonLinearPosFractions)
 RooMomentMorph (const RooMomentMorph &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooMomentMorph ()
void setMode (const Setting &setting)
virtual Bool_t selfNormalized () const
virtual Double_t getVal (const RooArgSet *set=0) const
RooAbsPdfsumPdf (const RooArgSet *nset)

Protected Member Functions

Double_t evaluate () const
void initialize ()
CacheElemgetCache (const RooArgSet *nset) const
Int_t ij (const Int_t &i, const Int_t &j) const
int idxmin (const double &m) const
int idxmax (const double &m) const
Double_t evaluate () const
void initialize ()
CacheElemgetCache (const RooArgSet *nset) const
Int_t ij (const Int_t &i, const Int_t &j) const
int idxmin (const double &m) const
int idxmax (const double &m) const

Protected Attributes

RooObjCacheManager _cacheMgr
RooArgSet_curNormSet
 The cache manager.
RooRealProxy m
RooSetProxy _varList
RooListProxy _pdfList
TVectorD_mref
TIterator_varItr
TIterator_pdfItr
 do not persist
TMatrixD_M
Setting _setting
RooArgSet_curNormSet
 The cache manager.
TVectorD_mref
TIterator_varItr
TIterator_pdfItr
 do not persist
TMatrixD_M

Friends

class CacheElem
 Current normalization set.

Classes

class  CacheElem

Detailed Description

Definition at line 26 of file RooMomentMorph.h.


Member Enumeration Documentation

enum RooMomentMorph::Setting

Definition at line 29 of file RooMomentMorph.h.

enum RooMomentMorph::Setting

Definition at line 29 of file RooMomentMorph.h.


Constructor & Destructor Documentation

RooMomentMorph::RooMomentMorph (  ) 

Referenced by clone().

RooMomentMorph::RooMomentMorph ( const char *  name,
const char *  title,
RooAbsReal _m,
const RooArgList varList,
const RooArgList pdfList,
const RooArgList mrefList,
const Setting setting = NonLinearPosFractions 
)

Definition at line 90 of file RooMomentMorph.cxx.

References _mref, _pdfItr, _pdfList, _varItr, _varList, RooSetProxy::add(), RooListProxy::add(), coutE, coutW, RooAbsCollection::createIterator(), TNamed::GetName(), RooAbsCollection::getSize(), i, initialize(), RooFit::InputArguments, and TIterator::Next().

RooMomentMorph::RooMomentMorph ( const char *  name,
const char *  title,
RooAbsReal _m,
const RooArgList varList,
const RooArgList pdfList,
const TVectorD mrefpoints,
const Setting setting = NonLinearPosFractions 
)

Definition at line 40 of file RooMomentMorph.cxx.

References _mref, _pdfItr, _pdfList, _varItr, _varList, RooSetProxy::add(), RooListProxy::add(), coutE, RooAbsCollection::createIterator(), TNamed::GetName(), i, initialize(), RooFit::InputArguments, and TIterator::Next().

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

Definition at line 155 of file RooMomentMorph.cxx.

References _mref, _pdfItr, _pdfList, _varItr, _varList, RooAbsCollection::createIterator(), and initialize().

RooMomentMorph::~RooMomentMorph (  )  [virtual]

Definition at line 173 of file RooMomentMorph.cxx.

References _M, _mref, _pdfItr, and _varItr.

RooMomentMorph::RooMomentMorph (  ) 

RooMomentMorph::RooMomentMorph ( const char *  name,
const char *  title,
RooAbsReal _m,
const RooArgList varList,
const RooArgList pdfList,
const RooArgList mrefList,
const Setting setting = NonLinearPosFractions 
)

RooMomentMorph::RooMomentMorph ( const char *  name,
const char *  title,
RooAbsReal _m,
const RooArgList varList,
const RooArgList pdfList,
const TVectorD mrefpoints,
const Setting setting = NonLinearPosFractions 
)

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

virtual RooMomentMorph::~RooMomentMorph (  )  [virtual]


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 38 of file RooMomentMorph.h.

References RooMomentMorph().

void RooMomentMorph::setMode ( const Setting setting  )  [inline]

Definition at line 41 of file RooMomentMorph.h.

References _setting.

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

Reimplemented from RooAbsPdf.

Definition at line 43 of file RooMomentMorph.h.

References kTRUE.

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

Reimplemented from RooAbsPdf.

Definition at line 356 of file RooMomentMorph.cxx.

References _curNormSet, _varList, and RooAbsPdf::getVal().

Referenced by RooMomentMorph::CacheElem::calculateFractions().

RooAbsPdf * RooMomentMorph::sumPdf ( const RooArgSet nset  ) 

Definition at line 366 of file RooMomentMorph.cxx.

References _curNormSet, RooMomentMorph::CacheElem::_sumPdf, RooMomentMorph::CacheElem::_tracker, RooMomentMorph::CacheElem::calculateFractions(), getCache(), RooChangeTracker::hasChanged(), kFALSE, and kTRUE.

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

Implements RooAbsReal.

Definition at line 379 of file RooMomentMorph.cxx.

References _curNormSet, _pdfList, RooMomentMorph::CacheElem::_sumPdf, RooMomentMorph::CacheElem::_tracker, RooMomentMorph::CacheElem::calculateFractions(), getCache(), RooAbsPdf::getVal(), RooChangeTracker::hasChanged(), kFALSE, kTRUE, and RooAbsProxy::nset().

void RooMomentMorph::initialize (  )  [protected]

Definition at line 184 of file RooMomentMorph.cxx.

References _M, _mref, _pdfList, coutE, TNamed::GetName(), TVectorT< Element >::GetNrows(), RooAbsCollection::getSize(), i, RooFit::InputArguments, TMatrixT< Element >::Invert(), j, and TMath::Power().

Referenced by RooMomentMorph().

RooMomentMorph::CacheElem * RooMomentMorph::getCache ( const RooArgSet nset  )  const [protected]

Definition at line 216 of file RooMomentMorph.cxx.

References _cacheMgr, _pdfItr, _pdfList, _varItr, _varList, RooArgSet::add(), RooAbsCollection::add(), RooAbsArg::addOwnedComponents(), RooRealProxy::arg(), RooArgList::at(), CacheElem, Form(), TNamed::GetName(), RooCacheManager< T >::getObj(), RooAbsCollection::getSize(), i, ij(), j, kTRUE, m, RooMoment::mean(), TIterator::Next(), TMVA::null(), TIterator::Reset(), RooAbsReal::RooAddPdf, RooAbsArg::RooArgSet, RooCacheManager< T >::setObj(), and RooAbsReal::sigma().

Referenced by evaluate(), and sumPdf().

Int_t RooMomentMorph::ij ( const Int_t i,
const Int_t j 
) const [inline, protected]

Definition at line 77 of file RooMomentMorph.h.

References _varList, and RooAbsCollection::getSize().

Referenced by getCache().

int RooMomentMorph::idxmin ( const double m  )  const [protected]

Definition at line 468 of file RooMomentMorph.cxx.

References _mref, _pdfList, RooAbsCollection::getSize(), and i.

int RooMomentMorph::idxmax ( const double m  )  const [protected]

Definition at line 480 of file RooMomentMorph.cxx.

References _mref, _pdfList, RooAbsCollection::getSize(), and i.

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

Implements RooAbsArg.

Definition at line 38 of file RooMomentMorph.h.

References RooMomentMorph().

void RooMomentMorph::setMode ( const Setting setting  )  [inline]

Definition at line 41 of file RooMomentMorph.h.

References _setting.

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

Reimplemented from RooAbsPdf.

Definition at line 43 of file RooMomentMorph.h.

References kTRUE.

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

Reimplemented from RooAbsPdf.

RooAbsPdf* RooMomentMorph::sumPdf ( const RooArgSet nset  ) 

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

Implements RooAbsReal.

void RooMomentMorph::initialize (  )  [protected]

CacheElem* RooMomentMorph::getCache ( const RooArgSet nset  )  const [protected]

Int_t RooMomentMorph::ij ( const Int_t i,
const Int_t j 
) const [inline, protected]

Definition at line 77 of file RooMomentMorph.h.

References _varList, and RooAbsCollection::getSize().

int RooMomentMorph::idxmin ( const double m  )  const [protected]

int RooMomentMorph::idxmax ( const double m  )  const [protected]


Friends And Related Function Documentation

CacheElem [friend]

Current normalization set.

Reimplemented from RooAbsPdf.

Definition at line 70 of file RooMomentMorph.h.

Referenced by getCache().


Member Data Documentation

RooObjCacheManager RooMomentMorph::_cacheMgr [mutable, protected]

Definition at line 67 of file RooMomentMorph.h.

Referenced by getCache().

RooArgSet* RooMomentMorph::_curNormSet [mutable, protected]

The cache manager.

Definition at line 68 of file RooMomentMorph.h.

Referenced by evaluate(), getVal(), and sumPdf().

RooRealProxy RooMomentMorph::m [protected]

Definition at line 81 of file RooMomentMorph.h.

Referenced by RooMomentMorph::CacheElem::calculateFractions(), and getCache().

RooSetProxy RooMomentMorph::_varList [protected]

Definition at line 82 of file RooMomentMorph.h.

Referenced by getCache(), getVal(), ij(), and RooMomentMorph().

RooListProxy RooMomentMorph::_pdfList [protected]

Definition at line 83 of file RooMomentMorph.h.

Referenced by evaluate(), getCache(), idxmax(), idxmin(), initialize(), and RooMomentMorph().

TVectorD* RooMomentMorph::_mref [mutable, protected]

Definition at line 84 of file RooMomentMorph.h.

Referenced by RooMomentMorph::CacheElem::calculateFractions(), idxmax(), idxmin(), initialize(), RooMomentMorph(), and ~RooMomentMorph().

TIterator* RooMomentMorph::_varItr [protected]

Definition at line 86 of file RooMomentMorph.h.

Referenced by getCache(), RooMomentMorph(), and ~RooMomentMorph().

TIterator* RooMomentMorph::_pdfItr [protected]

do not persist

Definition at line 87 of file RooMomentMorph.h.

Referenced by getCache(), RooMomentMorph(), and ~RooMomentMorph().

TMatrixD* RooMomentMorph::_M [mutable, protected]

Definition at line 88 of file RooMomentMorph.h.

Referenced by RooMomentMorph::CacheElem::calculateFractions(), initialize(), and ~RooMomentMorph().

Setting RooMomentMorph::_setting [protected]

Definition at line 90 of file RooMomentMorph.h.

Referenced by RooMomentMorph::CacheElem::calculateFractions(), and setMode().

RooArgSet* RooMomentMorph::_curNormSet [mutable, protected]

The cache manager.

Definition at line 68 of file RooMomentMorph.h.

TVectorD* RooMomentMorph::_mref [mutable, protected]

Definition at line 84 of file RooMomentMorph.h.

TIterator* RooMomentMorph::_varItr [protected]

Definition at line 86 of file RooMomentMorph.h.

TIterator* RooMomentMorph::_pdfItr [protected]

do not persist

Definition at line 87 of file RooMomentMorph.h.

TMatrixD* RooMomentMorph::_M [mutable, protected]

Definition at line 88 of file RooMomentMorph.h.


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