RooCBShape Class Reference

#include <RooCBShape.h>

Inheritance diagram for RooCBShape:

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

Public Member Functions

 RooCBShape ()
 RooCBShape (const char *name, const char *title, RooAbsReal &_m, RooAbsReal &_m0, RooAbsReal &_sigma, RooAbsReal &_alpha, RooAbsReal &_n)
 RooCBShape (const RooCBShape &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooCBShape ()
virtual Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
virtual Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
virtual Int_t getMaxVal (const RooArgSet &vars) const
virtual Double_t maxVal (Int_t code) const
 RooCBShape ()
 RooCBShape (const char *name, const char *title, RooAbsReal &_m, RooAbsReal &_m0, RooAbsReal &_sigma, RooAbsReal &_alpha, RooAbsReal &_n)
 RooCBShape (const RooCBShape &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooCBShape ()
virtual Int_t getAnalyticalIntegral (RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
virtual Double_t analyticalIntegral (Int_t code, const char *rangeName=0) const
virtual Int_t getMaxVal (const RooArgSet &vars) const
virtual Double_t maxVal (Int_t code) const

Protected Member Functions

Double_t ApproxErf (Double_t arg) const
Double_t evaluate () const
Double_t ApproxErf (Double_t arg) const
Double_t evaluate () const

Protected Attributes

RooRealProxy m
RooRealProxy m0
RooRealProxy sigma
RooRealProxy alpha
RooRealProxy n

Detailed Description

Definition at line 24 of file RooCBShape.h.


Constructor & Destructor Documentation

RooCBShape::RooCBShape (  )  [inline]

Definition at line 26 of file RooCBShape.h.

Referenced by clone().

RooCBShape::RooCBShape ( const char *  name,
const char *  title,
RooAbsReal _m,
RooAbsReal _m0,
RooAbsReal _sigma,
RooAbsReal _alpha,
RooAbsReal _n 
)

Definition at line 59 of file RooCBShape.cxx.

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

Definition at line 73 of file RooCBShape.cxx.

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

Definition at line 34 of file RooCBShape.h.

RooCBShape::RooCBShape (  )  [inline]

Definition at line 26 of file RooCBShape.h.

RooCBShape::RooCBShape ( const char *  name,
const char *  title,
RooAbsReal _m,
RooAbsReal _m0,
RooAbsReal _sigma,
RooAbsReal _alpha,
RooAbsReal _n 
)

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

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

Definition at line 34 of file RooCBShape.h.


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 32 of file RooCBShape.h.

References RooCBShape().

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

Reimplemented from RooAbsReal.

Definition at line 102 of file RooCBShape.cxx.

References m, and RooAbsReal::matchArgs().

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

Reimplemented from RooAbsReal.

Definition at line 113 of file RooCBShape.cxx.

References a, alpha, ApproxErf(), b, exp(), ROOT::Math::fabs(), log(), m, m0, RooRealProxy::max(), RooRealProxy::min(), n, TMath::Power(), result(), and sigma.

Int_t RooCBShape::getMaxVal ( const RooArgSet vars  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 180 of file RooCBShape.cxx.

References dummy, m, and RooAbsReal::matchArgs().

Double_t RooCBShape::maxVal ( Int_t  code  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 194 of file RooCBShape.cxx.

Double_t RooCBShape::ApproxErf ( Double_t  arg  )  const [protected]

Definition at line 42 of file RooCBShape.cxx.

References RooMath::erf().

Referenced by analyticalIntegral().

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

Implements RooAbsReal.

Definition at line 82 of file RooCBShape.cxx.

References a, alpha, b, exp(), ROOT::Math::fabs(), m, m0, n, TMath::Power(), sigma, and t.

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

Implements RooAbsArg.

Definition at line 32 of file RooCBShape.h.

References RooCBShape().

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

Reimplemented from RooAbsReal.

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

Reimplemented from RooAbsReal.

virtual Int_t RooCBShape::getMaxVal ( const RooArgSet vars  )  const [virtual]

Reimplemented from RooAbsReal.

virtual Double_t RooCBShape::maxVal ( Int_t  code  )  const [virtual]

Reimplemented from RooAbsReal.

Double_t RooCBShape::ApproxErf ( Double_t  arg  )  const [protected]

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

Implements RooAbsReal.


Member Data Documentation

RooRealProxy RooCBShape::m [protected]

Definition at line 47 of file RooCBShape.h.

Referenced by analyticalIntegral(), evaluate(), getAnalyticalIntegral(), and getMaxVal().

RooRealProxy RooCBShape::m0 [protected]

Definition at line 48 of file RooCBShape.h.

Referenced by analyticalIntegral(), and evaluate().

RooRealProxy RooCBShape::sigma [protected]

Definition at line 49 of file RooCBShape.h.

Referenced by analyticalIntegral(), and evaluate().

RooRealProxy RooCBShape::alpha [protected]

Definition at line 50 of file RooCBShape.h.

Referenced by analyticalIntegral(), and evaluate().

RooRealProxy RooCBShape::n [protected]

Definition at line 51 of file RooCBShape.h.

Referenced by analyticalIntegral(), and evaluate().


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