48 _absLambda(
"absLambda",
"Absolute value of lambda",this,
a),
49 _argLambda(
"argLambda",
"Arg(Lambda)",this,
b),
50 _effRatio(
"effRatio",
"B0/B0bar efficiency ratio",this,effRatio),
51 _CPeigenval(
"CPeigenval",
"CP eigen value",this,CPeigenval),
52 _avgMistag(
"avgMistag",
"Average mistag rate",this,avgMistag),
53 _delMistag(
"delMistag",
"Delta mistag rate",this,delMistag),
54 _t(
"t",
"time",this,t),
55 _tau(
"tau",
"decay time",this,tau),
56 _dm(
"dm",
"mixing frequency",this,dm),
57 _tag(
"tag",
"CP state",this,tag),
85 _absLambda(
"absLambda",this,other._absLambda),
86 _argLambda(
"argLambda",this,other._argLambda),
87 _effRatio(
"effRatio",this,other._effRatio),
88 _CPeigenval(
"CPeigenval",this,other._CPeigenval),
89 _avgMistag(
"avgMistag",this,other._avgMistag),
90 _delMistag(
"delMistag",this,other._delMistag),
91 _t(
"t",this,other._t),
92 _tau(
"tau",this,other._tau),
93 _dm(
"dm",this,other._dm),
94 _tag(
"tag",this,other._tag),
95 _genB0Frac(other._genB0Frac),
97 _basisExp(other._basisExp),
98 _basisSin(other._basisSin),
99 _basisCos(other._basisCos)
143 if (rangeName)
return 0 ;
182 if (
matchArgs(directVars,generateVars,
_t))
return 1 ;
217 tval = -
_tau*log(rand);
220 tval= +
_tau*log(rand);
223 tval = (rand<=0.5) ? -
_tau*log(2*rand) : +
_tau*log(2*(rand-0.5)) ;
237 if (tval<
_t.
max() && tval>
_t.
min() && accept) {
RooAbsAnaConvPdf is the base class for PDFs that represent a physics model that can be analytically c...
Int_t declareBasis(const char *expression, const RooArgList ¶ms)
Declare a basis function for use in this physics model.
RooAbsCategory is the base class for objects that represent a discrete value with a finite number of ...
friend class RooRealIntegral
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
Bool_t matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
PDF describing decay time distribution of B meson including effects of standard model CP violation.
virtual Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
virtual Double_t coefficient(Int_t basisIndex) const
B0 : _tag = +1.
virtual Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
void initGenerator(Int_t code)
Interface for one-time initialization to setup the generator for the specified code.
void generateEvent(Int_t code)
Generates mix-state dependent.
virtual ~RooBCPEffDecay()
Destructor.
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...
static Double_t uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
RooRealVar represents a variable that can be changed from the outside.
RooResolutionModel is the base class for PDFs that represent a resolution model that can be convolute...
double min(const char *rname=0) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
double max(const char *rname=0) const
Query upper limit of range. This requires the payload to be RooAbsRealLValue or derived.
const T & arg() const
Return reference to object held in proxy.