19 namespace Acceptance {
34 std::vector<double>
ys;
35 std::vector<double>
pts;
44 double getAcceptance(
const double & y,
const double & pt)
const;
std::vector< double > ys
Vector of bin rapidities. One element per bin.
double getAcceptance(const double &y, const double &pt) const
Binomial acceptance for the given values of y and pt.
double dpt
pT width of a bin
void setData(const std::vector< double > &x, const std::vector< double > &y, const std::vector< double > &vals)
Structure which contains the binomial probabilities for particle with given y and pt to be accepted...
A class implementing a bilinear spline.
BilinearSplineFunction sfunc
2D spline interpolation of the acceptance function
int ReadAcceptanceFunction(AcceptanceFunction &func, std::string filename)
std::vector< double > probs
Vector of acceptance probabilities for each bin.
The main namespace where all classes and functions of the Thermal-FIST library reside.
std::vector< double > pts
Vector of bin pT values. One element per bin.
double dy
Rapidity width of a bin.