52 _absLambda(
"absLambda",
"Absolute value of lambda",this,a),
53 _argLambda(
"argLambda",
"Arg(Lambda)",this,b),
54 _effRatio(
"effRatio",
"B0/B0bar efficiency ratio",this,effRatio),
55 _CPeigenval(
"CPeigenval",
"CP eigen value",this,CPeigenval),
56 _avgMistag(
"avgMistag",
"Average mistag rate",this,avgMistag),
57 _delMistag(
"delMistag",
"Delta mistag rate",this,delMistag),
58 _t(
"t",
"time",this,t),
59 _tau(
"tau",
"decay time",this,tau),
60 _dm(
"dm",
"mixing frequency",this,dm),
61 _tag(
"tag",
"CP state",this,tag),
91 _absLambda(
"absLambda",this,other._absLambda),
92 _argLambda(
"argLambda",this,other._argLambda),
93 _effRatio(
"effRatio",this,other._effRatio),
94 _CPeigenval(
"CPeigenval",this,other._CPeigenval),
95 _avgMistag(
"avgMistag",this,other._avgMistag),
96 _delMistag(
"delMistag",this,other._delMistag),
97 _t(
"t",this,other._t),
98 _tau(
"tau",this,other._tau),
99 _dm(
"dm",this,other._dm),
100 _tag(
"tag",this,other._tag),
101 _genB0Frac(other._genB0Frac),
103 _basisExp(other._basisExp),
104 _basisSin(other._basisSin),
105 _basisCos(other._basisCos)
155 if (rangeName)
return 0 ;
198 if (
matchArgs(directVars,generateVars,
_t))
return 1 ;
243 tval = (rand<=0.5) ? -
_tau*
log(2*rand) : +
_tau*
log(2*(rand-0.5)) ;
257 if (tval<
_t.
max() && tval>
_t.
min() && accept) {
const RooAbsReal & arg() const
PDF describing decay time distribution of B meson including effects of standard model CP violation...
void generateEvent(Int_t code)
Generates mix-state dependent.
virtual ~RooBCPEffDecay()
Destructor.
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
static Double_t uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Int_t declareBasis(const char *expression, const RooArgList ¶ms)
Declare a basis function for use in this physics model.
virtual Double_t coefficient(Int_t basisIndex) const
B0 : _tag = +1.
friend class RooRealIntegral
Double_t min(const char *rname=0) const
const RooAbsCategory & arg() const
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
Double_t max(const char *rname=0) const
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, Bool_t staticInitOK=kTRUE) const
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...