47 m(
"m",
"Mass",this,_m),
48 m0(
"m0",
"Resonance mass",this,_m0),
49 c(
"c",
"Slope parameter",this,_c),
50 p(
"p",
"Power",this,_p)
60 m0(
"m0",this,other.m0),
82 {dataMap.
at(
m), dataMap.
at(
m0), dataMap.
at(
c), dataMap.
at(
p)});
91 if (
matchArgs(allVars,analVars,
m) &&
p == 0.5)
return 1;
103 static const double pi =
atan2(0.0,-1.0);
104 double min = (
m.
min(rangeName) <
m0) ?
m.
min(rangeName) :
m0;
105 double max = (
m.
max(rangeName) <
m0) ?
m.
max(rangeName) :
m0;
112 }
else if (
c == 0. ) {
119 double area = aHigh - aLow;
winID h TVirtualViewer3D TVirtualGLPainter p
bool isConstant() const
Check if the "Constant" attribute is set.
A RooAbsReal::Ref can be constructed from a RooAbsReal& or a double that will be implicitly converted...
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 &, 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
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.
RVec< PromoteTypes< T0, T1 > > atan2(const T0 &x, const RVec< T1 > &v)
RVec< PromoteType< T > > exp(const RVec< T > &v)
VecExpr< UnaryOp< Sqrt< T >, VecExpr< A, T, D >, T >, T, D > sqrt(const VecExpr< A, T, D > &rhs)
R__EXTERN RooBatchComputeInterface * dispatchCUDA
R__EXTERN RooBatchComputeInterface * dispatchCPU
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
static constexpr double pi
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
Returns x raised to the power y.