library: libRooFit #include "RooBCPGenDecay.h"

# RooBCPGenDecay

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

## class RooBCPGenDecay : public RooAbsAnaConvPdf

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

        public:

                           RooBCPGenDecay()
                           RooBCPGenDecay(const char* name, const char* title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, RooBCPGenDecay::DecayType type = DoubleSided)
                           RooBCPGenDecay(const RooBCPGenDecay& other, const char* name = "0")
                   virtual ~RooBCPGenDecay()
            static TClass* Class()
          virtual TObject* clone(const char* newname) const
          virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char* rangeName = "0") const
          virtual Double_t coefficient(Int_t basisIndex) const
              virtual void generateEvent(Int_t code)
             virtual Int_t getCoefAnalyticalIntegral(RooArgSet& allVars, RooArgSet& analVars, const char* rangeName = "0") const
             virtual Int_t getGenerator(const RooArgSet& directVars, RooArgSet& generateVars, Bool_t staticInitOK = kTRUE) const
              virtual void initGenerator(Int_t code)
           virtual TClass* IsA() const
              virtual void ShowMembers(TMemberInspector& insp, char* parent)
              virtual void Streamer(TBuffer& b)
                      void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

                       RooRealProxy _avgC
                       RooRealProxy _avgS
                       RooRealProxy _avgMistag
                       RooRealProxy _delMistag
                       RooRealProxy _mu
                       RooRealProxy _t
                       RooRealProxy _tau
                       RooRealProxy _dm
                   RooCategoryProxy _tag
                           Double_t _genB0Frac
          RooBCPGenDecay::DecayType _type
                              Int_t _basisExp
                              Int_t _basisSin
                              Int_t _basisCos

        public:

          static const RooBCPGenDecay::DecayType SingleSided
          static const RooBCPGenDecay::DecayType DoubleSided
          static const RooBCPGenDecay::DecayType Flipped

## Class Description

RooBCPGenDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& a, RooAbsReal& b, RooAbsReal& delMistag, RooAbsReal& mu, const RooResolutionModel& model, DecayType type) : RooAbsAnaConvPdf(name,title,model,t), _avgC("C","Coefficient of cos term",this,a), _avgS("S","Coefficient of cos term",this,b), _avgMistag("avgMistag","Average mistag rate",this,avgMistag), _delMistag("delMistag","Delta mistag rate",this,delMistag), _mu("mu","Tagg efficiency difference",this,mu), _t("t","time",this,t), _tau("tau","decay time",this,tau), _dm("dm","mixing frequency",this,dm), _tag("tag","CP state",this,tag), _genB0Frac(0), _type(type)

     Constructor

RooBCPGenDecay(const RooBCPGenDecay& other, const char* name) : RooAbsAnaConvPdf(other,name), _avgC("C",this,other._avgC), _avgS("S",this,other._avgS), _avgMistag("avgMistag",this,other._avgMistag), _delMistag("delMistag",this,other._delMistag), _mu("mu",this,other._mu), _t("t",this,other._t), _tau("tau",this,other._tau), _dm("dm",this,other._dm), _tag("tag",this,other._tag), _genB0Frac(other._genB0Frac), _type(other._type), _basisExp(other._basisExp), _basisSin(other._basisSin), _basisCos(other._basisCos)

     Copy constructor

~RooBCPGenDecay()

     Destructor

Double_t coefficient(Int_t basisIndex) const

     B0    : _tag = +1
     B0bar : _tag = -1

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

Double_t coefAnalyticalIntegral(Int_t basisIndex, Int_t code, const char* /*rangeName*/) const

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

void initGenerator(Int_t code)

void generateEvent(Int_t code)

     Generate mix-state dependent

### Inline Functions

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