library: libRooFit #include "RooDecay.h"

# RooDecay

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

## class RooDecay : public RooAbsAnaConvPdf

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsArg`

<-

`RooAbsReal`

<-

`RooAbsPdf`

<-

`RooAbsAnaConvPdf`

<-

`RooDecay`

        public:

                           RooDecay()
                           RooDecay(const char* name, const char* title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, RooDecay::DecayType type)
                           RooDecay(const RooDecay& other, const char* name = "0")
                   virtual ~RooDecay()
            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
          RooDecay::DecayType _type
                        Int_t _basisExp

        public:

          static const RooDecay::DecayType SingleSided
          static const RooDecay::DecayType DoubleSided
          static const RooDecay::DecayType Flipped

## Class Description

RooDecay(const char *name, const char *title, RooRealVar& t, RooAbsReal& tau, const RooResolutionModel& model, DecayType type) : RooAbsAnaConvPdf(name,title,model,t), _t("t","time",this,t), _tau("tau","decay time",this,tau), _type(type)

     Constructor

RooDecay(const RooDecay& other, const char* name) : RooAbsAnaConvPdf(other,name), _t("t",this,other._t), _tau("tau",this,other._tau), _type(other._type), _basisExp(other._basisExp)

     Copy constructor

~RooDecay()

     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

               RooDecay RooDecay(const RooDecay& 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:12:01 2005
Copyright (c) 2000-2005, Regents of the University of California *