RooGamma Class Reference

#include <RooGamma.h>

Inheritance diagram for RooGamma:

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

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 TObjectclone (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 TObjectclone (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

Detailed Description

Definition at line 22 of file RooGamma.h.


Constructor & Destructor Documentation

RooGamma::RooGamma (  )  [inline]

Definition at line 24 of file RooGamma.h.

Referenced by clone().

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.


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 28 of file RooGamma.h.

References RooGamma().

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.

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

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]

Implements RooAbsArg.

Definition at line 28 of file RooGamma.h.

References RooGamma().

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

Reimplemented from RooAbsReal.

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

Reimplemented from RooAbsReal.

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

Reimplemented from RooAbsPdf.

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

Reimplemented from RooAbsPdf.

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

Implements RooAbsReal.


Member Data Documentation

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().


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