RooMoment Class Reference

#include <RooMoment.h>

Inheritance diagram for RooMoment:

RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed RooPrintable TNamed List of all members.

Public Member Functions

 RooMoment ()
 RooMoment (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, Int_t order=1, Bool_t central=kFALSE, Bool_t takeRoot=kFALSE)
 RooMoment (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, const RooArgSet &nset, Int_t order=1, Bool_t central=kFALSE, Bool_t takeRoot=kFALSE, Bool_t intNSet=kFALSE)
virtual ~RooMoment ()
 RooMoment (const RooMoment &other, const char *name=0)
virtual TObjectclone (const char *newname) const
Int_t order () const
Bool_t central () const
RooAbsRealmean ()
const RooAbsRealxF ()
const RooAbsRealixF ()
const RooAbsRealiF ()
 RooMoment ()
 RooMoment (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, Int_t order=1, Bool_t central=kFALSE, Bool_t takeRoot=kFALSE)
 RooMoment (const char *name, const char *title, RooAbsReal &func, RooRealVar &x, const RooArgSet &nset, Int_t order=1, Bool_t central=kFALSE, Bool_t takeRoot=kFALSE, Bool_t intNSet=kFALSE)
virtual ~RooMoment ()
 RooMoment (const RooMoment &other, const char *name=0)
virtual TObjectclone (const char *newname) const
Int_t order () const
Bool_t central () const
RooAbsRealmean ()
const RooAbsRealxF ()
const RooAbsRealixF ()
const RooAbsRealiF ()

Protected Member Functions

Double_t evaluate () const
Double_t evaluate () const

Protected Attributes

Int_t _order
Int_t _takeRoot
RooSetProxy _nset
RooRealProxy _func
RooRealProxy _x
RooRealProxy _mean
RooRealProxy _xf
RooRealProxy _ixf
RooRealProxy _if

Detailed Description

Definition at line 27 of file RooMoment.h.


Constructor & Destructor Documentation

RooMoment::RooMoment (  ) 

Definition at line 55 of file RooMoment.cxx.

Referenced by clone().

RooMoment::RooMoment ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
Int_t  order = 1,
Bool_t  central = kFALSE,
Bool_t  takeRoot = kFALSE 
)

Definition at line 63 of file RooMoment.cxx.

References _if, _ixf, _mean, _order, _xf, RooAbsArg::addOwnedComponents(), RooAbsReal::createIntegral(), Form(), func(), TNamed::GetName(), kTRUE, RooAbsArg::RooArgSet, RooRealProxy::setArg(), RooRealIntegral::setCacheNumeric(), RooAbsArg::setExpensiveObjectCache(), and x.

RooMoment::RooMoment ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
const RooArgSet nset,
Int_t  order = 1,
Bool_t  central = kFALSE,
Bool_t  takeRoot = kFALSE,
Bool_t  intNSet = kFALSE 
)

Definition at line 109 of file RooMoment.cxx.

References _if, _ixf, _mean, _nset, _order, _xf, RooSetProxy::add(), RooArgSet::add(), RooAbsArg::addOwnedComponents(), RooAbsReal::createIntegral(), Form(), func(), TNamed::GetName(), kTRUE, RooAbsArg::RooArgSet, RooRealProxy::setArg(), RooRealIntegral::setCacheNumeric(), RooAbsArg::setExpensiveObjectCache(), and x.

RooMoment::~RooMoment (  )  [virtual]

Definition at line 181 of file RooMoment.cxx.

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

Definition at line 165 of file RooMoment.cxx.

RooMoment::RooMoment (  ) 

RooMoment::RooMoment ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
Int_t  order = 1,
Bool_t  central = kFALSE,
Bool_t  takeRoot = kFALSE 
)

RooMoment::RooMoment ( const char *  name,
const char *  title,
RooAbsReal func,
RooRealVar x,
const RooArgSet nset,
Int_t  order = 1,
Bool_t  central = kFALSE,
Bool_t  takeRoot = kFALSE,
Bool_t  intNSet = kFALSE 
)

virtual RooMoment::~RooMoment (  )  [virtual]

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


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 37 of file RooMoment.h.

References RooMoment().

Int_t RooMoment::order (  )  const [inline]

Definition at line 39 of file RooMoment.h.

References _order.

Bool_t RooMoment::central (  )  const [inline]

Definition at line 40 of file RooMoment.h.

References _mean, RooArgProxy::absArg(), kFALSE, and kTRUE.

RooAbsReal* RooMoment::mean (  )  [inline]

Definition at line 42 of file RooMoment.h.

References _mean, and RooArgProxy::absArg().

Referenced by RooMomentMorph::getCache().

const RooAbsReal& RooMoment::xF (  )  [inline]

Definition at line 44 of file RooMoment.h.

References _xf, and RooRealProxy::arg().

const RooAbsReal& RooMoment::ixF (  )  [inline]

Definition at line 45 of file RooMoment.h.

References _ixf, and RooRealProxy::arg().

const RooAbsReal& RooMoment::iF (  )  [inline]

Definition at line 46 of file RooMoment.h.

References _if, and RooRealProxy::arg().

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

Implements RooAbsReal.

Definition at line 189 of file RooMoment.cxx.

References _if, _ixf, _order, _takeRoot, pow(), and ratio.

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

Implements RooAbsArg.

Definition at line 37 of file RooMoment.h.

References RooMoment().

Int_t RooMoment::order (  )  const [inline]

Definition at line 39 of file RooMoment.h.

References _order.

Bool_t RooMoment::central (  )  const [inline]

Definition at line 40 of file RooMoment.h.

References _mean, RooArgProxy::absArg(), kFALSE, and kTRUE.

RooAbsReal* RooMoment::mean (  )  [inline]

Definition at line 42 of file RooMoment.h.

References _mean, and RooArgProxy::absArg().

const RooAbsReal& RooMoment::xF (  )  [inline]

Definition at line 44 of file RooMoment.h.

References _xf, and RooRealProxy::arg().

const RooAbsReal& RooMoment::ixF (  )  [inline]

Definition at line 45 of file RooMoment.h.

References _ixf, and RooRealProxy::arg().

const RooAbsReal& RooMoment::iF (  )  [inline]

Definition at line 46 of file RooMoment.h.

References _if, and RooRealProxy::arg().

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

Implements RooAbsReal.


Member Data Documentation

Int_t RooMoment::_order [protected]

Definition at line 50 of file RooMoment.h.

Referenced by evaluate(), order(), and RooMoment().

Int_t RooMoment::_takeRoot [protected]

Definition at line 51 of file RooMoment.h.

Referenced by evaluate().

RooSetProxy RooMoment::_nset [protected]

Definition at line 52 of file RooMoment.h.

Referenced by RooMoment().

RooRealProxy RooMoment::_func [protected]

Definition at line 53 of file RooMoment.h.

RooRealProxy RooMoment::_x [protected]

Definition at line 54 of file RooMoment.h.

RooRealProxy RooMoment::_mean [protected]

Definition at line 55 of file RooMoment.h.

Referenced by central(), mean(), and RooMoment().

RooRealProxy RooMoment::_xf [protected]

Definition at line 57 of file RooMoment.h.

Referenced by RooMoment(), and xF().

RooRealProxy RooMoment::_ixf [protected]

Definition at line 58 of file RooMoment.h.

Referenced by evaluate(), ixF(), and RooMoment().

RooRealProxy RooMoment::_if [protected]

Definition at line 59 of file RooMoment.h.

Referenced by evaluate(), iF(), and RooMoment().


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