library: libRooFit #include "RooCBShape.h"

# RooCBShape

class description - source file - inheritance tree (.pdf)

## class RooCBShape : public RooAbsPdf

| Inheritance Chart:
`TObject`
| <- | `TNamed`
`RooPrintable`
| <- | `RooAbsArg`
| <- | `RooAbsReal`
| <- | `RooAbsPdf`
| <- | `RooCBShape` |

        protected:

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

        public:

                           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 ~RooCBShape()
          virtual Double_t analyticalIntegral(Int_t code, const char* rangeName = "0") const
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
             virtual Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName = "0") const
             virtual Int_t getMaxVal(const RooArgSet& vars) const
           virtual TClass* IsA() const
          virtual Double_t maxVal(Int_t code)
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          RooRealProxy m
          RooRealProxy m0
          RooRealProxy sigma
          RooRealProxy alpha
          RooRealProxy n

## Class Description

Double_t ApproxErf(Double_t arg) const

RooCBShape(const char *name, const char *title, RooAbsReal& _m, RooAbsReal& _m0, RooAbsReal& _sigma, RooAbsReal& _alpha, RooAbsReal& _n) : RooAbsPdf(name, title), m("m", "Dependent", this, _m), m0("m0", "M0", this, _m0), sigma("sigma", "Sigma", this, _sigma), alpha("alpha", "Alpha", this, _alpha), n("n", "Order", this, _n)

RooCBShape(const RooCBShape& other, const char* name) : RooAbsPdf(other, name), m("m", this, other.m), m0("m0", this, other.m0), sigma("sigma", this, other.sigma), alpha("alpha", this, other.alpha), n("n", this, other.n)

Double_t evaluate() const

Int_t getAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* /*rangeName*/) const

Double_t analyticalIntegral(Int_t code, const char* rangeName) const

Int_t getMaxVal(const RooArgSet& vars) const

     Advertise that we know the maximum of self for given (m0,alpha,n,sigma)

Double_t maxVal(Int_t code)

### Inline Functions

                   void ~RooCBShape()
               TObject* clone(const char* newname) const
                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)

Last update: Tue Jun 28 18:11:14 2005
Copyright (c) 2000-2005, Regents of the University of California *