21 TH3F *
h = (TH3F*)f.Get(basename.c_str());
30 std::cout <<
"Warning: could not get acceptance table " << basename << std::endl;
35 h = (TH3F*)f.Get(name2.c_str());
44 std::cout <<
"Warning: could not get acceptance table " << name2 << std::endl;
52 float log10t = log10(-t);
53 float log10Xi = log10(xi);
58 && (log10t < h_log10t_log10Xi_Phi->GetXaxis()->GetXmax()))
62 if (log10t < log10tMin) log10t = log10tMin;
void Init(TFile &, const std::string)
Get acceptance tables from root file.
TH3F * h_log10t_log10Xi_Phi
Table for low t: acceptance as a function of log10(t), log10(Xi) and Phi.
TH3F * h_t_log10Xi_Phi
Table for high t: acceptance as a function of -t, log10(Xi) and Phi.
float GetAcceptance(float, float, float)
Acceptance as a function of t, xi and phi.