#include <RooGaussian.h>
Inheritance diagram for RooGaussian:
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 TObject * | clone (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 TObject * | clone (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 |
Definition at line 24 of file RooGaussian.h.
RooGaussian::RooGaussian | ( | ) | [inline] |
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.
virtual TObject* RooGaussian::clone | ( | const char * | newname | ) | const [inline, virtual] |
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.
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] |
virtual TObject* RooGaussian::clone | ( | const char * | newname | ) | const [inline, virtual] |
Int_t RooGaussian::getAnalyticalIntegral | ( | RooArgSet & | allVars, | |
RooArgSet & | analVars, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Reimplemented from RooAbsReal.
Int_t RooGaussian::getGenerator | ( | const RooArgSet & | directVars, | |
RooArgSet & | generateVars, | |||
Bool_t | staticInitOK = kTRUE | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Double_t RooGaussian::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
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().