library: libRooFit #include "RooBCPEffDecay.h"

# RooBCPEffDecay

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

## class RooBCPEffDecay : public RooAbsAnaConvPdf

| Inheritance Chart:

`TObject`

<-

`TNamed`

`RooPrintable`

<-

`RooAbsArg`

<-

`RooAbsReal`

<-

`RooAbsPdf`

<-

`RooAbsAnaConvPdf`

<-

`RooBCPEffDecay`

        public:

                           RooBCPEffDecay()
                           RooBCPEffDecay(const char* name, const char* title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, RooBCPEffDecay::DecayType type = DoubleSided)
                           RooBCPEffDecay(const RooBCPEffDecay& other, const char* name = "0")
                   virtual ~RooBCPEffDecay()
            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 _absLambda
                       RooRealProxy _argLambda
                       RooRealProxy _effRatio
                       RooRealProxy _CPeigenval
                       RooRealProxy _avgMistag
                       RooRealProxy _delMistag
                       RooRealProxy _t
                       RooRealProxy _tau
                       RooRealProxy _dm
                   RooCategoryProxy _tag
                           Double_t _genB0Frac
          RooBCPEffDecay::DecayType _type
                              Int_t _basisExp
                              Int_t _basisSin
                              Int_t _basisCos

        public:

          static const RooBCPEffDecay::DecayType SingleSided
          static const RooBCPEffDecay::DecayType DoubleSided
          static const RooBCPEffDecay::DecayType Flipped

## Class Description

RooBCPEffDecay(const char *name, const char *title, RooRealVar& t, RooAbsCategory& tag, RooAbsReal& tau, RooAbsReal& dm, RooAbsReal& avgMistag, RooAbsReal& CPeigenval, RooAbsReal& a, RooAbsReal& b, RooAbsReal& effRatio, RooAbsReal& delMistag, const RooResolutionModel& model, DecayType type) : RooAbsAnaConvPdf(name,title,model,t), _absLambda("absLambda","Absolute value of lambda",this,a), _argLambda("argLambda","Arg(Lambda)",this,b), _effRatio("effRatio","B0/B0bar efficiency ratio",this,effRatio), _CPeigenval("CPeigenval","CP eigen value",this,CPeigenval), _avgMistag("avgMistag","Average mistag rate",this,avgMistag), _delMistag("delMistag","Delta mistag rate",this,delMistag), _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

RooBCPEffDecay(const RooBCPEffDecay& other, const char* name) : RooAbsAnaConvPdf(other,name), _absLambda("absLambda",this,other._absLambda), _argLambda("argLambda",this,other._argLambda), _effRatio("effRatio",this,other._effRatio), _CPeigenval("CPeigenval",this,other._CPeigenval), _avgMistag("avgMistag",this,other._avgMistag), _delMistag("delMistag",this,other._delMistag), _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

~RooBCPEffDecay()

     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

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