48 _t(
"t",
"time", this, t),
49 _tau(
"tau",
"Average Decay Time", this, tau),
50 _dgamma(
"dgamma",
"Delta Gamma", this, dgamma),
51 _f0(
"f0",
"Cosh Coefficient", this, f0),
52 _f1(
"f1",
"Sinh Coefficient", this,
f1),
53 _f2(
"f2",
"Cos Coefficient", this, f2),
54 _f3(
"f3",
"Sin Coefficient", this, f3),
55 _dm(
"dm",
"Delta Mass", this, dm),
88 _t(
"t", this, other._t),
89 _tau(
"tau", this, other._tau),
90 _dgamma(
"dgamma", this, other._dgamma),
91 _f0(
"f0", this, other._f0),
92 _f1(
"f1", this, other._f1),
93 _f2(
"f2", this, other._f2),
94 _f3(
"f3", this, other._f3),
95 _dm(
"dm", this, other._dm),
96 _basisCosh(other._basisCosh),
97 _basisSinh(other._basisSinh),
98 _basisCos(other._basisCos),
99 _basisSin(other._basisSin),
211 if (
matchArgs(directVars, generateVars,
_t))
return 1;
231 cout <<
"RooBDecay::generateEvent(" <<
GetName() <<
") ERROR: PDF value less than zero" << endl;
236 cout <<
"RooBDecay::generateEvent(" <<
GetName() <<
") ERROR: Envelope function less than p.d.f. " << endl;
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.
RooArgSet * getVariables(Bool_t stripDisconnected=kTRUE) const
Return RooArgSet with all variables (tree leaf nodes of expresssion tree)
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().
virtual Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
virtual Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
Most general description of B decay time distribution with effects of CP violation,...
Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Default implementation of function advertising integration capabilities.
RooArgSet * coefVars(Int_t coefIdx) const
Return set of parameters with are used exclusively by the coefficient functions.
virtual ~RooBDecay()
Destructor.
virtual Double_t coefficient(Int_t basisIndex) const
Double_t coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=0) const
Default implementation of function implementing advertised integrals.
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...
void generateEvent(Int_t code)
Interface for generation of an event using the algorithm corresponding to the specified code.
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.
virtual const char * GetName() const
Returns name of object.
VecExpr< UnaryOp< Fabs< T >, VecExpr< A, T, D >, T >, T, D > fabs(const VecExpr< A, T, D > &rhs)