#include <RooGamma.h>
Inheritance diagram for RooGamma:
Public Member Functions | |
RooGamma () | |
RooGamma (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_gamma, RooAbsReal &_beta, RooAbsReal &_mu) | |
RooGamma (const RooGamma &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooGamma () |
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) |
RooGamma () | |
RooGamma (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_gamma, RooAbsReal &_beta, RooAbsReal &_mu) | |
RooGamma (const RooGamma &other, const char *name=0) | |
virtual TObject * | clone (const char *newname) const |
virtual | ~RooGamma () |
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 | gamma |
RooRealProxy | beta |
RooRealProxy | mu |
Definition at line 22 of file RooGamma.h.
RooGamma::RooGamma | ( | ) | [inline] |
RooGamma::RooGamma | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | _x, | |||
RooAbsReal & | _gamma, | |||
RooAbsReal & | _beta, | |||
RooAbsReal & | _mu | |||
) |
RooGamma::RooGamma | ( | const RooGamma & | other, | |
const char * | name = 0 | |||
) |
Definition at line 71 of file RooGamma.cxx.
virtual RooGamma::~RooGamma | ( | ) | [inline, virtual] |
Definition at line 29 of file RooGamma.h.
RooGamma::RooGamma | ( | ) | [inline] |
Definition at line 24 of file RooGamma.h.
RooGamma::RooGamma | ( | const char * | name, | |
const char * | title, | |||
RooAbsReal & | _x, | |||
RooAbsReal & | _gamma, | |||
RooAbsReal & | _beta, | |||
RooAbsReal & | _mu | |||
) |
RooGamma::RooGamma | ( | const RooGamma & | other, | |
const char * | name = 0 | |||
) |
virtual RooGamma::~RooGamma | ( | ) | [inline, virtual] |
Definition at line 29 of file RooGamma.h.
virtual TObject* RooGamma::clone | ( | const char * | newname | ) | const [inline, virtual] |
Int_t RooGamma::getAnalyticalIntegral | ( | RooArgSet & | allVars, | |
RooArgSet & | analVars, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Definition at line 91 of file RooGamma.cxx.
References RooAbsReal::matchArgs(), and x.
Reimplemented from RooAbsReal.
Definition at line 100 of file RooGamma.cxx.
References beta, gamma, ROOT::Math::gamma_cdf(), RooRealProxy::max(), RooRealProxy::min(), mu, and x.
Int_t RooGamma::getGenerator | ( | const RooArgSet & | directVars, | |
RooArgSet & | generateVars, | |||
Bool_t | staticInitOK = kTRUE | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Definition at line 115 of file RooGamma.cxx.
References RooAbsReal::matchArgs(), and x.
void RooGamma::generateEvent | ( | Int_t | code | ) | [virtual] |
Reimplemented from RooAbsPdf.
Definition at line 124 of file RooGamma.cxx.
References beta, c, d, gamma, TRandom::Gaus(), TMath::Log(), RooRealProxy::max(), RooRealProxy::min(), mu, RooRandom::randomGenerator(), TMath::Sqrt(), u, TRandom::Uniform(), and x.
Double_t RooGamma::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
Definition at line 80 of file RooGamma.cxx.
References beta, gamma, TMath::GammaDist(), mu, and x.
virtual TObject* RooGamma::clone | ( | const char * | newname | ) | const [inline, virtual] |
Int_t RooGamma::getAnalyticalIntegral | ( | RooArgSet & | allVars, | |
RooArgSet & | analVars, | |||
const char * | rangeName = 0 | |||
) | const [virtual] |
Reimplemented from RooAbsReal.
Reimplemented from RooAbsReal.
Int_t RooGamma::getGenerator | ( | const RooArgSet & | directVars, | |
RooArgSet & | generateVars, | |||
Bool_t | staticInitOK = kTRUE | |||
) | const [virtual] |
Reimplemented from RooAbsPdf.
Double_t RooGamma::evaluate | ( | ) | const [protected, virtual] |
Implements RooAbsReal.
RooRealProxy RooGamma::x [protected] |
Definition at line 39 of file RooGamma.h.
Referenced by analyticalIntegral(), evaluate(), generateEvent(), getAnalyticalIntegral(), and getGenerator().
RooRealProxy RooGamma::gamma [protected] |
Definition at line 40 of file RooGamma.h.
Referenced by analyticalIntegral(), evaluate(), and generateEvent().
RooRealProxy RooGamma::beta [protected] |
Definition at line 41 of file RooGamma.h.
Referenced by analyticalIntegral(), evaluate(), and generateEvent().
RooRealProxy RooGamma::mu [protected] |
Definition at line 42 of file RooGamma.h.
Referenced by analyticalIntegral(), evaluate(), and generateEvent().