48 x(
"x",
"Dependent",this,_x),
49 mean(
"mean",
"Mean",this,_mean),
50 width(
"width",
"Breit-Wigner Width",this,_width),
51 sigma(
"sigma",
"Gauss Width",this,_sigma),
60 RooAbsPdf(other,
name),
x(
"x",this,other.
x), mean(
"mean",this,other.mean),
62 _doFast(other._doFast)
78 if (s==0. && w==0.)
return 1.;
81 if (s==0.)
return (1./(arg*arg+0.25*w*w));
84 if (w==0.)
return exp(coef*arg*arg);
90 std::complex<Double_t> z(u,
a) ;
91 std::complex<Double_t>
v(0.) ;
include TDocParser_001 C image html pict1_TDocParser_001 png width
RooAbsReal is the common abstract base class for objects that represent a real value and implements f...
virtual RooSpan< const double > getValues(RooBatchCompute::RunContext &evalData, const RooArgSet *normSet=nullptr) const
by this change, please consult the release notes for ROOT 6.24 for guidance on how to make this trans...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
virtual RooSpan< double > computeVoigtian(const RooAbsReal *, RunContext &, RooSpan< const double > x, RooSpan< const double > mean, RooSpan< const double > width, RooSpan< const double > sigma)=0
static std::complex< double > faddeeva(std::complex< double > z)
evaluate Faddeeva function for complex argument
static std::complex< double > faddeeva_fast(std::complex< double > z)
evaluate Faddeeva function for complex argument (fast version)
A simple container to hold a batch of data values.
RooVoigtian is an efficient implementation of the convolution of a Breit-Wigner with a Gaussian,...
RooSpan< double > evaluateSpan(RooBatchCompute::RunContext &evalData, const RooArgSet *normSet) const
Compute multiple values of Voigtian distribution.
Double_t evaluate() const
Evaluate this PDF / function / constant. Needs to be overridden by all derived classes.
R__EXTERN RooBatchComputeInterface * dispatch
This dispatch pointer points to an implementation of the compute library, provided one has been loade...
This struct enables passing computation data around between elements of a computation graph.