library: libRooFit #include "RooBDecay.h"

# RooBDecay

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

## class RooBDecay : public RooAbsAnaConvPdf

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

        public:

                           RooBDecay()
                           RooBDecay(const char* name, const char* title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, RooBDecay::DecayType type)
                           RooBDecay(const RooBDecay& other, const char* name = "0")
                   virtual ~RooBDecay()
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
          virtual Double_t coefficient(Int_t basisIndex) const
              virtual void generateEvent(Int_t code)
             virtual Int_t getGenerator(const RooArgSet& directVars, RooArgSet& generateVars, Bool_t staticInitOK = kTRUE) const
           virtual TClass* IsA() const
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                  RooRealProxy _t
                  RooRealProxy _tau
                  RooRealProxy _dgamma
                  RooRealProxy _f0
                  RooRealProxy _f1
                  RooRealProxy _f2
                  RooRealProxy _f3
                  RooRealProxy _dm
                         Int_t _basisCosh
                         Int_t _basisSinh
                         Int_t _basisCos
                         Int_t _basisSin
                         Int_t _basisB
          RooBDecay::DecayType _type

        public:

          static const RooBDecay::DecayType SingleSided
          static const RooBDecay::DecayType DoubleSided
          static const RooBDecay::DecayType Flipped

## Class Description

RooBDecay(const char *name, const char* title, RooRealVar& t, RooAbsReal& tau, RooAbsReal& dgamma, RooAbsReal& f0, RooAbsReal& f1, RooAbsReal& f2, RooAbsReal& f3, RooAbsReal& dm, const RooResolutionModel& model, DecayType type) : RooAbsAnaConvPdf(name, title, model, t), _t("t", "time", this, t), _tau("tau", "Average Decay Time", this, tau), _dgamma("dgamma", "Delta Gamma", this, dgamma), _f0("f0", "Cosh Coefficient", this, f0), _f1("f1", "Sinh Coefficient", this, f1), _f2("f2", "Cos Coefficient", this, f2), _f3("f3", "Sin Coefficient", this, f3), _dm("dm", "Delta Mass", this, dm), _type(type)

    Constructor

RooBDecay(const RooBDecay& other, const char* name) : RooAbsAnaConvPdf(other, name), _t("t", this, other._t), _tau("tau", this, other._tau), _dgamma("dgamma", this, other._dgamma), _f0("f0", this, other._f0), _f1("f1", this, other._f1), _f2("f2", this, other._f2), _f3("f3", this, other._f3), _dm("dm", this, other._dm), _basisCosh(other._basisCosh), _basisSinh(other._basisSinh), _basisCos(other._basisCos), _basisSin(other._basisSin), _type(other._type)

    Copy constructor

~RooBDecay()

    Destructor

Double_t coefficient(Int_t basisIndex) const

Int_t getGenerator(const RooArgSet& directVars, RooArgSet &generateVars, Bool_t /*staticInitOK*/) const

void generateEvent(Int_t code)

### Inline Functions

              RooBDecay RooBDecay(const RooBDecay& other, const char* name = "0")
               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:04 2005
Copyright (c) 2000-2005, Regents of the University of California *