RooGaussian Class Reference

#include <RooGaussian.h>

Inheritance diagram for RooGaussian:

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

Public Member Functions

 RooGaussian ()
 RooGaussian (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_mean, RooAbsReal &_sigma)
 RooGaussian (const RooGaussian &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooGaussian ()
Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void generateEvent (Int_t code)
 RooGaussian ()
 RooGaussian (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_mean, RooAbsReal &_sigma)
 RooGaussian (const RooGaussian &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooGaussian ()
Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void generateEvent (Int_t code)

Protected Member Functions

Double_t evaluate () const
Double_t evaluate () const

Protected Attributes

RooRealProxy x
RooRealProxy mean
RooRealProxy sigma

Detailed Description

Definition at line 24 of file RooGaussian.h.


Constructor & Destructor Documentation

RooGaussian::RooGaussian (  )  [inline]

Definition at line 26 of file RooGaussian.h.

Referenced by clone().

RooGaussian::RooGaussian ( const char *  name,
const char *  title,
RooAbsReal _x,
RooAbsReal _mean,
RooAbsReal _sigma 
)

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

Definition at line 53 of file RooGaussian.cxx.

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

Definition at line 31 of file RooGaussian.h.

RooGaussian::RooGaussian (  )  [inline]

Definition at line 26 of file RooGaussian.h.

RooGaussian::RooGaussian ( const char *  name,
const char *  title,
RooAbsReal _x,
RooAbsReal _mean,
RooAbsReal _sigma 
)

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

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

Definition at line 31 of file RooGaussian.h.


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 30 of file RooGaussian.h.

References RooGaussian().

Int_t RooGaussian::getAnalyticalIntegral ( RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 73 of file RooGaussian.cxx.

References RooAbsReal::matchArgs(), mean, and x.

Double_t RooGaussian::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Definition at line 83 of file RooGaussian.cxx.

References atan2(), RooMath::erf(), RooRealProxy::max(), mean, RooRealProxy::min(), sigma, sqrt(), and x.

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

Reimplemented from RooAbsPdf.

Definition at line 107 of file RooGaussian.cxx.

References RooAbsReal::matchArgs(), mean, and x.

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

Reimplemented from RooAbsPdf.

Definition at line 117 of file RooGaussian.cxx.

References TRandom::Gaus(), RooRealProxy::max(), mean, RooRealProxy::min(), RooRandom::randomGenerator(), sigma, and x.

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

Implements RooAbsReal.

Definition at line 62 of file RooGaussian.cxx.

References exp(), mean, sigma, and x.

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

Implements RooAbsArg.

Definition at line 30 of file RooGaussian.h.

References RooGaussian().

Int_t RooGaussian::getAnalyticalIntegral ( RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

Double_t RooGaussian::analyticalIntegral ( Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsReal.

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

Reimplemented from RooAbsPdf.

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

Reimplemented from RooAbsPdf.

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

Implements RooAbsReal.


Member Data Documentation

RooRealProxy RooGaussian::x [protected]

Definition at line 41 of file RooGaussian.h.

Referenced by analyticalIntegral(), evaluate(), generateEvent(), getAnalyticalIntegral(), and getGenerator().

RooRealProxy RooGaussian::mean [protected]

Definition at line 42 of file RooGaussian.h.

Referenced by analyticalIntegral(), evaluate(), generateEvent(), getAnalyticalIntegral(), and getGenerator().

RooRealProxy RooGaussian::sigma [protected]

Definition at line 43 of file RooGaussian.h.

Referenced by analyticalIntegral(), evaluate(), and generateEvent().


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