6 #include "../NumericalIntegration.h"
23 , fUseAcceptance(UseAcc)
29 , fReconstructionEfficiency()
43 TString work = getenv(
"VMCWORKDIR");
45 work +
"/KF/KFModelParameters/common/";
47 sprintf(spdg,
"%d",
fPDGID);
49 dir +
"pty_acc_" + spdg +
".txt")) {
57 std::vector<double> Tvec(0), mtacc(0), norm(0), norm4pi(0);
61 for (
int i = 0;; ++
i) {
62 double tmpT = 0.01 + dT * (0.5 +
i);
63 if (tmpT > Tmax)
break;
65 mtacc.push_back(
mtAv(tmpT));
70 fTamt = TSpline3(
"fTamtacc", &mtacc[0], &Tvec[0], Tvec.size());
71 fNormT = TSpline3(
"fNormacc", &Tvec[0], &norm[0], Tvec.size());
72 fNormT4pi = TSpline3(
"fNorm4pi", &Tvec[0], &norm4pi[0], Tvec.size());
81 double ret1 = 0., ret2 = 0.;
82 for (Int_t
i = 0;
i < 32;
i++) {
83 for (Int_t j = 0; j < 32; j++) {
90 * TMath::Exp(-tmt * TMath::CosH(
xleg32[j]) / T);
103 for (Int_t
i = 0;
i < 32;
i++) {
113 for (Int_t j = 0; j < 32; j++) {
115 double tp = mt * TMath::CosH(
xleg32[j] +
fYcm);
118 * TMath::Exp(-mt * TMath::CosH(
xleg32[j]) / T);
124 return ret * mt / tpt /
fNormT.Eval(T);
131 for (Int_t
i = 0;
i < 32;
i++) {
132 for (Int_t j = 0; j < 32; j++) {
139 * TMath::Exp(-tmt * TMath::CosH(
xleg32[j]) / T);
154 for (Int_t
i = 0;
i < 32;
i++) {
155 for (Int_t j = 0; j < 32; j++) {
162 * TMath::Exp(-tmt * TMath::CosH(
xleg32[j]) / T);
172 for (Int_t
i = 0;
i < 32;
i++) {
180 * TMath::Exp(-tmt * TMath::CosH(
y) / T);