Thermal-FIST
1.3
Package for hadron resonance gas model applications
|
Structure which contains the binomial probabilities for particle with given y and pt to be accepted. More...
#include <Acceptance.h>
Public Member Functions | |
AcceptanceFunction () | |
void | setSpline () |
double | getAcceptance (const double &y, const double &pt) const |
Binomial acceptance for the given values of y and pt. More... | |
Public Attributes | |
bool | init |
double | dy |
Rapidity width of a bin. More... | |
double | dpt |
pT width of a bin More... | |
std::vector< double > | ys |
Vector of bin rapidities. One element per bin. More... | |
std::vector< double > | pts |
Vector of bin pT values. One element per bin. More... | |
std::vector< double > | probs |
Vector of acceptance probabilities for each bin. More... | |
BilinearSplineFunction | sfunc |
2D spline interpolation of the acceptance function More... | |
Structure which contains the binomial probabilities for particle with given y and pt to be accepted.
Assumes that all bins have the same width in rapidity and pT. Acceptance function is \(p(y,p_T)\) where p is the acceptance probability.
Definition at line 28 of file Acceptance.h.
|
inline |
Definition at line 39 of file Acceptance.h.
double thermalfist::Acceptance::AcceptanceFunction::getAcceptance | ( | const double & | y, |
const double & | pt | ||
) | const |
Binomial acceptance for the given values of y and pt.
Definition at line 39 of file Acceptance.cpp.
|
inline |
Definition at line 41 of file Acceptance.h.
double thermalfist::Acceptance::AcceptanceFunction::dpt |
pT width of a bin
Definition at line 32 of file Acceptance.h.
double thermalfist::Acceptance::AcceptanceFunction::dy |
Rapidity width of a bin.
Definition at line 31 of file Acceptance.h.
bool thermalfist::Acceptance::AcceptanceFunction::init |
Definition at line 29 of file Acceptance.h.
std::vector<double> thermalfist::Acceptance::AcceptanceFunction::probs |
Vector of acceptance probabilities for each bin.
Definition at line 36 of file Acceptance.h.
std::vector<double> thermalfist::Acceptance::AcceptanceFunction::pts |
Vector of bin pT values. One element per bin.
Definition at line 35 of file Acceptance.h.
BilinearSplineFunction thermalfist::Acceptance::AcceptanceFunction::sfunc |
2D spline interpolation of the acceptance function
Definition at line 37 of file Acceptance.h.
std::vector<double> thermalfist::Acceptance::AcceptanceFunction::ys |
Vector of bin rapidities. One element per bin.
Definition at line 34 of file Acceptance.h.