59 _t(
"t",
"time",
this, t),
60 _tau(
"tau",
"Average Decay Time",
this, tau),
61 _dgamma(
"dgamma",
"Delta Gamma",
this,
dgamma),
62 _f0(
"f0",
"Cosh Coefficient",
this,
f0),
63 _f1(
"f1",
"Sinh Coefficient",
this,
f1),
64 _f2(
"f2",
"Cos Coefficient",
this, f2),
65 _f3(
"f3",
"Sin Coefficient",
this, f3),
66 _dm(
"dm",
"Delta Mass",
this, dm),
107 _basisCosh(
other._basisCosh),
108 _basisSinh(
other._basisSinh),
109 _basisCos(
other._basisCos),
110 _basisSin(
other._basisSin),
145 return _f0.
arg().getVariables();
149 return _f1.
arg().getVariables();
153 return _f2.
arg().getVariables();
157 return _f3.
arg().getVariables();
169 return _f0.
arg().getAnalyticalIntegral(allVars,
analVars,rangeName) ;
173 return _f1.
arg().getAnalyticalIntegral(allVars,
analVars,rangeName) ;
177 return _f2.
arg().getAnalyticalIntegral(allVars,
analVars,rangeName) ;
181 return _f3.
arg().getAnalyticalIntegral(allVars,
analVars,rangeName) ;
193 return _f0.
arg().analyticalIntegral(code,rangeName) ;
197 return _f1.
arg().analyticalIntegral(code,rangeName) ;
201 return _f2.
arg().analyticalIntegral(code,rangeName) ;
205 return _f3.
arg().analyticalIntegral(code,rangeName) ;
232 double ft = std::abs(t);
235 std::cout <<
"RooBDecay::generateEvent(" <<
GetName() <<
") ERROR: PDF value less than zero" << std::endl;
240 std::cout <<
"RooBDecay::generateEvent(" <<
GetName() <<
") ERROR: Envelope function less than p.d.f. " << std::endl;
241 std::cout <<
_f0 << std::endl;
242 std::cout <<
_f1 << std::endl;
243 std::cout <<
_f2 << std::endl;
244 std::cout <<
_f3 << std::endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Base class for PDFs that represent a physics model that can be analytically convolved with a resoluti...
Int_t declareBasis(const char *expression, const RooArgList ¶ms)
Declare a basis function for use in this physics model.
Abstract base class for objects that represent a real value and implements functionality common to al...
bool 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.
Most general description of B decay time distribution with effects of CP violation,...
Int_t getGenerator(const RooArgSet &directVars, RooArgSet &generateVars, bool staticInitOK=true) const override
Load generatedVars with the subset of directVars that we can generate events for, and return a code t...
double coefAnalyticalIntegral(Int_t coef, Int_t code, const char *rangeName=nullptr) const override
Default implementation of function implementing advertised integrals.
void generateEvent(Int_t code) override
Interface for generation of an event using the algorithm corresponding to the specified code.
double coefficient(Int_t basisIndex) const override
Int_t getCoefAnalyticalIntegral(Int_t coef, RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Default implementation of function advertising integration capabilities.
RooFit::OwningPtr< RooArgSet > coefVars(Int_t coefIdx) const override
Return set of parameters with are used exclusively by the coefficient functions.
static double uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
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 max(const char *rname=nullptr) 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.
double min(const char *rname=nullptr) const
Query lower limit of range. This requires the payload to be RooAbsRealLValue or derived.
const char * GetName() const override
Returns name of object.
T * OwningPtr
An alias for raw pointers for indicating that the return type of a RooFit function is an owning point...