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_t pi = atan2(0.0,-1.0);
125 }
else if (
c == 0. ) {
127 aHigh = -
m0*
m0/3.*
f1*sqrt(f2);
Bool_t 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_t 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
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
Int_t getAnalyticalIntegral(RooArgSet &allVars, RooArgSet &analVars, const char *rangeName=0) const
Interface function getAnalyticalIntergral advertises the analytical integrals that are supported.
void computeBatch(cudaStream_t *, double *output, size_t size, RooFit::Detail::DataMap const &) const
Base function for computing multiple values of a RooAbsReal.
Double_t analyticalIntegral(Int_t code, const char *rangeName=0) const
Implements the actual analytical integral(s) advertised by getAnalyticalIntegral.
virtual void compute(cudaStream_t *, Computer, RestrictArr, size_t, const VarVector &, const ArgVector &={})=0
auto & at(RooAbsArg const *arg, RooAbsArg const *=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 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.
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)
static void output(int code)