34 std::vector<double>
ys;
35 std::vector<double>
pts;
44 double getAcceptance(
const double & y,
const double & pt)
const;
A class implementing a bilinear spline.
Routines used for modeling the acceptance effects.
int ReadAcceptanceFunction(AcceptanceFunction &func, std::string filename)
The main namespace where all classes and functions of the Thermal-FIST library reside.
double dpt
pT width of a bin
double dy
Rapidity width of a bin.
std::vector< double > pts
Vector of bin pT values. One element per bin.
double getAcceptance(const double &y, const double &pt) const
Binomial acceptance for the given values of y and pt.
BilinearSplineFunction sfunc
2D spline interpolation of the acceptance function
std::vector< double > probs
Vector of acceptance probabilities for each bin.
std::vector< double > ys
Vector of bin rapidities. One element per bin.