6 #include "../NumericalIntegration.h"
25 , fUseAcceptance(UseAcc)
31 , fReconstructionEfficiency()
44 TString work = getenv(
"VMCWORKDIR");
46 work +
"/KF/KFModelParameters/common/";
48 sprintf(spdg,
"%d",
fPDGID);
50 dir +
"pty_acc_" + spdg +
".txt")) {
56 std::vector<double> Tvec(0), mtacc(0), norm(0), norm4pi(0);
59 for (
int i = 0;; ++
i) {
60 double tmpT = 0.01 + dT * (0.5 +
i);
61 if (tmpT > Tmax)
break;
63 mtacc.push_back(
mtAv(tmpT));
67 fTamt = TSpline3(
"fTamtacc", &mtacc[0], &Tvec[0], Tvec.size());
68 fNormT = TSpline3(
"fNormacc", &Tvec[0], &norm[0], Tvec.size());
69 fNormT4pi = TSpline3(
"fNorm4pi", &Tvec[0], &norm4pi[0], Tvec.size());
74 double ret1 = 0., ret2 = 0.;
75 for (Int_t ie = 0; ie < 32; ie++) {
76 for (Int_t
i = 0;
i < 32;
i++) {
77 for (Int_t j = 0; j < 32; j++) {
85 * TMath::CosH(ty) * TMath::Exp(-tmt * TMath::CosH(ty) / T);
99 for (Int_t
i = 0;
i < 32;
i++) {
109 for (Int_t ie = 0; ie < 32; ie++) {
110 for (Int_t j = 0; j < 32; j++) {
112 double tp = mt * TMath::CosH(
xleg32[j] +
fYcm);
116 * TMath::Exp(-mt * TMath::CosH(ty) / T);
123 return ret * mt / tpt /
fNormT.Eval(T);
129 for (Int_t ie = 0; ie < 32; ie++) {
130 for (Int_t
i = 0;
i < 32;
i++) {
131 for (Int_t j = 0; j < 32; j++) {
139 * TMath::CosH(ty) * TMath::Exp(-tmt * TMath::CosH(ty) / T);
154 for (Int_t ie = 0; ie < 32; ie++) {
155 for (Int_t
i = 0;
i < 32;
i++) {
156 for (Int_t j = 0; j < 32; j++) {
164 * TMath::CosH(ty) * TMath::Exp(-tmt * TMath::CosH(ty) / T);