47 m(
"m",
"Mass",this,_m),
48 m0(
"m0",
"Resonance mass",this,_m0),
49 c(
"c",
"Slope parameter",this,_c),
60 m(
"m",
"Mass",this,_m),
61 m0(
"m0",
"Resonance mass",this,_m0),
62 c(
"c",
"Slope parameter",this,_c),
63 p(
"p",
"Power",this,_p)
73 m0(
"m0",this,other.m0),
95 {dataMap.
at(
m), dataMap.
at(
m0), dataMap.
at(
c), dataMap.
at(
p)});
104 if (
matchArgs(allVars,analVars,
m) &&
p == 0.5)
return 1;
116 static const double pi = atan2(0.0,-1.0);
117 double min = (
m.
min(rangeName) <
m0) ?
m.
min(rangeName) :
m0;
118 double max = (
m.
max(rangeName) <
m0) ?
m.
max(rangeName) :
m0;
125 }
else if (
c == 0. ) {
127 aHigh = -
m0*
m0/3.*
f1*sqrt(f2);
132 double area = aHigh - aLow;
winID h TVirtualViewer3D TVirtualGLPainter p
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
bool isConstant() const
Check if the "Constant" attribute is set.
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
bool matchArgs(const RooArgSet &allDeps, RooArgSet &numDeps, const RooArgProxy &a) const
Utility function for use in getAnalyticalIntegral().
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooArgusBG is a RooAbsPdf implementation describing the ARGUS background shape.
double evaluate() const override
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
double analyticalIntegral(Int_t code, const char *rangeName=nullptr) const override
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
void computeBatch(cudaStream_t *, double *output, size_t size, RooFit::Detail::DataMap const &) const override
Base function for computing multiple values of a RooAbsReal.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=nullptr) const override
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
virtual void compute(cudaStream_t *, Computer, RestrictArr, size_t, const VarVector &, ArgVector &)=0
RooSpan< const double > at(RooAbsArg const *arg, RooAbsArg const *caller=nullptr)
static std::complex< double > erf(const std::complex< double > z)
complex erf function
static std::complex< double > faddeeva(std::complex< double > z)
evaluate Faddeeva function for complex argument
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
RooRealVar represents a variable that can be changed from the outside.
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.
R__EXTERN RooBatchComputeInterface * dispatchCUDA
R__EXTERN RooBatchComputeInterface * dispatchCPU
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Returns x raised to the power y.