RooBMixDecay Class Reference

#include <RooBMixDecay.h>

Inheritance diagram for RooBMixDecay:

RooAbsAnaConvPdf RooAbsAnaConvPdf RooAbsPdf RooAbsPdf RooAbsPdf RooAbsPdf RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal List of all members.

Public Types

enum  DecayType
enum  DecayType

Public Member Functions

 RooBMixDecay ()
 RooBMixDecay (const char *name, const char *title, RooRealVar &t, RooAbsCategory &mixState, RooAbsCategory &tagFlav, RooAbsReal &tau, RooAbsReal &dm, RooAbsReal &mistag, RooAbsReal &delMistag, const RooResolutionModel &model, DecayType type=DoubleSided)
 RooBMixDecay (const RooBMixDecay &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooBMixDecay ()
virtual Double_t coefficient (Int_t basisIndex) const
virtual Int_t getCoefAnalyticalIntegral (Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
virtual Double_t coefAnalyticalIntegral (Int_t coef, Int_t code, const char *rangeName=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void initGenerator (Int_t code)
void generateEvent (Int_t code)
 RooBMixDecay ()
 RooBMixDecay (const char *name, const char *title, RooRealVar &t, RooAbsCategory &mixState, RooAbsCategory &tagFlav, RooAbsReal &tau, RooAbsReal &dm, RooAbsReal &mistag, RooAbsReal &delMistag, const RooResolutionModel &model, DecayType type=DoubleSided)
 RooBMixDecay (const RooBMixDecay &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooBMixDecay ()
virtual Double_t coefficient (Int_t basisIndex) const
virtual Int_t getCoefAnalyticalIntegral (Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
virtual Double_t coefAnalyticalIntegral (Int_t coef, Int_t code, const char *rangeName=0) const
Int_t getGenerator (const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
void initGenerator (Int_t code)
void generateEvent (Int_t code)

Protected Attributes

DecayType _type
RooRealProxy _mistag
RooRealProxy _delMistag
RooCategoryProxy _mixState
RooCategoryProxy _tagFlav
RooRealProxy _tau
RooRealProxy _dm
RooRealProxy _t
Int_t _basisExp
Int_t _basisCos
Double_t _genMixFrac
Double_t _genFlavFrac
 do not persist
Double_t _genFlavFracMix
Double_t _genFlavFracUnmix

Detailed Description

Definition at line 23 of file RooBMixDecay.h.


Member Enumeration Documentation

enum RooBMixDecay::DecayType

Definition at line 26 of file RooBMixDecay.h.

enum RooBMixDecay::DecayType

Definition at line 26 of file RooBMixDecay.h.


Constructor & Destructor Documentation

RooBMixDecay::RooBMixDecay (  )  [inline]

Definition at line 29 of file RooBMixDecay.h.

Referenced by clone().

RooBMixDecay::RooBMixDecay ( const char *  name,
const char *  title,
RooRealVar t,
RooAbsCategory mixState,
RooAbsCategory tagFlav,
RooAbsReal tau,
RooAbsReal dm,
RooAbsReal mistag,
RooAbsReal delMistag,
const RooResolutionModel model,
DecayType  type = DoubleSided 
)

Definition at line 41 of file RooBMixDecay.cxx.

References _basisCos, _basisExp, RooAbsAnaConvPdf::declareBasis(), DoubleSided, Flipped, and SingleSided.

RooBMixDecay::RooBMixDecay ( const RooBMixDecay other,
const char *  name = 0 
)

Definition at line 78 of file RooBMixDecay.cxx.

RooBMixDecay::~RooBMixDecay (  )  [virtual]

Definition at line 101 of file RooBMixDecay.cxx.

RooBMixDecay::RooBMixDecay (  )  [inline]

Definition at line 29 of file RooBMixDecay.h.

RooBMixDecay::RooBMixDecay ( const char *  name,
const char *  title,
RooRealVar t,
RooAbsCategory mixState,
RooAbsCategory tagFlav,
RooAbsReal tau,
RooAbsReal dm,
RooAbsReal mistag,
RooAbsReal delMistag,
const RooResolutionModel model,
DecayType  type = DoubleSided 
)

RooBMixDecay::RooBMixDecay ( const RooBMixDecay other,
const char *  name = 0 
)

virtual RooBMixDecay::~RooBMixDecay (  )  [virtual]


Member Function Documentation

virtual TObject* RooBMixDecay::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 37 of file RooBMixDecay.h.

References RooBMixDecay().

Double_t RooBMixDecay::coefficient ( Int_t  basisIndex  )  const [virtual]

Implements RooAbsAnaConvPdf.

Definition at line 109 of file RooBMixDecay.cxx.

References _basisCos, _basisExp, _delMistag, _mistag, _mixState, and _tagFlav.

Referenced by coefAnalyticalIntegral().

Int_t RooBMixDecay::getCoefAnalyticalIntegral ( Int_t  coef,
RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsAnaConvPdf.

Definition at line 126 of file RooBMixDecay.cxx.

References _mixState, _tagFlav, and RooAbsReal::matchArgs().

Double_t RooBMixDecay::coefAnalyticalIntegral ( Int_t  coef,
Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsAnaConvPdf.

Definition at line 142 of file RooBMixDecay.cxx.

References _basisCos, _basisExp, and coefficient().

Int_t RooBMixDecay::getGenerator ( const RooArgSet directVars,
RooArgSet generateVars,
Bool_t  staticInitOK = kTRUE 
) const [virtual]

Reimplemented from RooAbsPdf.

Definition at line 188 of file RooBMixDecay.cxx.

References _mixState, _t, _tagFlav, and RooAbsReal::matchArgs().

void RooBMixDecay::initGenerator ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.

Definition at line 203 of file RooBMixDecay.cxx.

References _genFlavFrac, _genFlavFracMix, _genFlavFracUnmix, _genMixFrac, _mixState, _t, _tagFlav, RooCategoryProxy::arg(), RooRealProxy::arg(), RooAbsReal::getVal(), RooAbsArg::RooArgSet, and RooAbsPdf::RooRealIntegral.

void RooBMixDecay::generateEvent ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.

Definition at line 249 of file RooBMixDecay.cxx.

References _delMistag, _dm, _genFlavFrac, _genFlavFracMix, _genFlavFracUnmix, _genMixFrac, _mistag, _mixState, _t, _tagFlav, _tau, _type, TMath::Abs(), cos(), DoubleSided, Flipped, kFALSE, kTRUE, log(), RooRealProxy::max(), RooRealProxy::min(), SingleSided, tval, and RooRandom::uniform().

virtual TObject* RooBMixDecay::clone ( const char *  newname  )  const [inline, virtual]

Implements RooAbsArg.

Definition at line 37 of file RooBMixDecay.h.

References RooBMixDecay().

virtual Double_t RooBMixDecay::coefficient ( Int_t  basisIndex  )  const [virtual]

Implements RooAbsAnaConvPdf.

virtual Int_t RooBMixDecay::getCoefAnalyticalIntegral ( Int_t  coef,
RooArgSet allVars,
RooArgSet analVars,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsAnaConvPdf.

virtual Double_t RooBMixDecay::coefAnalyticalIntegral ( Int_t  coef,
Int_t  code,
const char *  rangeName = 0 
) const [virtual]

Reimplemented from RooAbsAnaConvPdf.

Int_t RooBMixDecay::getGenerator ( const RooArgSet directVars,
RooArgSet generateVars,
Bool_t  staticInitOK = kTRUE 
) const [virtual]

Reimplemented from RooAbsPdf.

void RooBMixDecay::initGenerator ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.

void RooBMixDecay::generateEvent ( Int_t  code  )  [virtual]

Reimplemented from RooAbsPdf.


Member Data Documentation

DecayType RooBMixDecay::_type [protected]

Definition at line 51 of file RooBMixDecay.h.

Referenced by generateEvent().

RooRealProxy RooBMixDecay::_mistag [protected]

Definition at line 52 of file RooBMixDecay.h.

Referenced by coefficient(), and generateEvent().

RooRealProxy RooBMixDecay::_delMistag [protected]

Definition at line 53 of file RooBMixDecay.h.

Referenced by coefficient(), and generateEvent().

RooCategoryProxy RooBMixDecay::_mixState [protected]

Definition at line 54 of file RooBMixDecay.h.

Referenced by coefficient(), generateEvent(), getCoefAnalyticalIntegral(), getGenerator(), and initGenerator().

RooCategoryProxy RooBMixDecay::_tagFlav [protected]

Definition at line 55 of file RooBMixDecay.h.

Referenced by coefficient(), generateEvent(), getCoefAnalyticalIntegral(), getGenerator(), and initGenerator().

RooRealProxy RooBMixDecay::_tau [protected]

Definition at line 56 of file RooBMixDecay.h.

Referenced by generateEvent().

RooRealProxy RooBMixDecay::_dm [protected]

Definition at line 57 of file RooBMixDecay.h.

Referenced by generateEvent().

RooRealProxy RooBMixDecay::_t [protected]

Definition at line 58 of file RooBMixDecay.h.

Referenced by generateEvent(), getGenerator(), and initGenerator().

Int_t RooBMixDecay::_basisExp [protected]

Definition at line 59 of file RooBMixDecay.h.

Referenced by coefAnalyticalIntegral(), coefficient(), and RooBMixDecay().

Int_t RooBMixDecay::_basisCos [protected]

Definition at line 60 of file RooBMixDecay.h.

Referenced by coefAnalyticalIntegral(), coefficient(), and RooBMixDecay().

Double_t RooBMixDecay::_genMixFrac [protected]

Definition at line 62 of file RooBMixDecay.h.

Referenced by generateEvent(), and initGenerator().

Double_t RooBMixDecay::_genFlavFrac [protected]

do not persist

Definition at line 63 of file RooBMixDecay.h.

Referenced by generateEvent(), and initGenerator().

Double_t RooBMixDecay::_genFlavFracMix [protected]

Definition at line 64 of file RooBMixDecay.h.

Referenced by generateEvent(), and initGenerator().

Double_t RooBMixDecay::_genFlavFracUnmix [protected]

Definition at line 65 of file RooBMixDecay.h.

Referenced by generateEvent(), and initGenerator().


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:02 2011 for ROOT_528-00b_version by  doxygen 1.5.1