#include <RooMomentMorph.h>
Inheritance diagram for RooMomentMorph:
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 TObject * | clone (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 |
RooAbsPdf * | sumPdf (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 TObject * | clone (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 |
RooAbsPdf * | sumPdf (const RooArgSet *nset) |
Protected Member Functions | |
Double_t | evaluate () const |
void | initialize () |
CacheElem * | getCache (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 () |
CacheElem * | getCache (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 |
Definition at line 26 of file RooMomentMorph.h.
Definition at line 29 of file RooMomentMorph.h.
Definition at line 29 of file RooMomentMorph.h.
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] |
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] |
virtual TObject* RooMomentMorph::clone | ( | const char * | newname | ) | const [inline, virtual] |
void RooMomentMorph::setMode | ( | const Setting & | setting | ) | [inline] |
virtual Bool_t RooMomentMorph::selfNormalized | ( | ) | const [inline, virtual] |
Reimplemented from RooAbsPdf.
Definition at line 356 of file RooMomentMorph.cxx.
References _curNormSet, _varList, and RooAbsPdf::getVal().
Referenced by RooMomentMorph::CacheElem::calculateFractions().
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().
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] |
void RooMomentMorph::setMode | ( | const Setting & | setting | ) | [inline] |
virtual Bool_t RooMomentMorph::selfNormalized | ( | ) | const [inline, virtual] |
Reimplemented from RooAbsPdf.
Double_t RooMomentMorph::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
void RooMomentMorph::initialize | ( | ) | [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] |
CacheElem [friend] |
Current normalization set.
Reimplemented from RooAbsPdf.
Definition at line 70 of file RooMomentMorph.h.
Referenced by getCache().
RooObjCacheManager RooMomentMorph::_cacheMgr [mutable, protected] |
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] |
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] |
TMatrixD* RooMomentMorph::_M [mutable, protected] |
Definition at line 88 of file RooMomentMorph.h.