17 #ifndef _CbmThermalModelNoFlow_h_
18 #define _CbmThermalModelNoFlow_h_
32 class FairRootManager;
41 Double_t
getAcceptance(
const Double_t&
y,
const Double_t& pt)
const;
50 :
p1(p1_),
p2(p2_),
p3(p3_) {}
51 Double_t
f(
double p) {
return p1 -
p2 * TMath::Exp(-p * p / 2. /
p3 /
p3); }
59 static const int p_sz = 2;
63 Int_t trackNumber = 1,
67 virtual void ReInit(FairRootManager* fManger);
70 virtual void Finish();
79 Double_t RecEfficiency(Double_t p);
80 Double_t ThermalMt(
double T,
double m);
81 Double_t ThermalMt2(
double T,
double m);
83 ThermalMtAcc(
double T,
87 ThermalMt2Acc(
double T,
95 Double_t chi2func(
double y,
double pt,
double m);
96 Double_t tempCrit(
double y,
double pt,
double m);
98 Double_t tempFunction(
double T,
double mt,
double mo);
99 Double_t tempDerivFunction(
double T,
double dT,
double mt,
double mo);
100 Double_t getInverseSlope(
double mt,
double mo,
int iters);
102 void ComputeThermalDependence(Int_t part = 0);
104 Double_t getRadius(
double T,
double N,
double mo);
105 Double_t getRadiusCor(
double T,
double N,
double mo, TSpline3* Np);
106 Double_t getRadiusDerivT(
double T,
double N,
double mo);
107 Double_t getRadiusDerivTCor(
double T,
double N,
double mo, TSpline3* Np);
108 Double_t getRadiusDerivN(
double T,
double N,
double mo);
109 Double_t getRadiusDerivNCor(
double T,
double N,
double mo, TSpline3* Np);
110 Double_t getTemperature(
double mt,
double mo,
int iters);
111 Double_t getTemperatureAll(
double mt,
int part,
int iters);
112 Double_t getTemperatureDerivAll(
double mt,
int part,
int iters);
113 Double_t getTemperatureAllCor(
double mt,
int part,
int iters, TSpline3* Np);
115 getTemperatureDerivAllCor(
double mt,
int part,
int iters, TSpline3* Np);
117 getTemperatureRapidity(
double mt,
double mo,
int iters,
double y = 0.);
118 Double_t getDerivTemperature(
double mt,
double mo,
double T,
int iters);
119 Double_t getMtErrorSquare(
double qp,
148 TSpline3 *mtTall[p_sz], *mtTacc[p_sz], *Npart[p_sz], *mtTsts[p_sz],
149 *Npartsts[p_sz], *mtTststof[p_sz], *Npartststof[p_sz];
164 Double_t globalmtavMC[p_sz];
165 Double_t globalmt2avMC[p_sz];
166 Double_t globalfavMC[p_sz];
167 Double_t globalf2avMC[p_sz];
168 Double_t globalmtmomerrMC[p_sz];
169 Int_t globalnTracksMC[p_sz];
170 Double_t globalmtavReco[p_sz];
171 Double_t globalmt2avReco[p_sz];
172 Double_t globalfavReco[p_sz];
173 Double_t globalf2avReco[p_sz];
174 Double_t globalmtmomerrReco[p_sz];
175 Int_t globalnTracksReco[p_sz];
192 TH1F* hTempFullMC[p_sz];
193 TH1F* hTempFullReco[p_sz];
194 TH1F* hTempFullRecoCor[p_sz];
195 TH1F* hTempErrStatFullMC[p_sz];
196 TH1F* hTempErrStatFullReco[p_sz];
197 TH1F* hTempErrStatFullRecoCor[p_sz];
198 TH1F* hTempErrMomFullMC[p_sz];
199 TH1F* hTempErrMomFullReco[p_sz];
200 TH1F* hTempErrMomFullRecoCor[p_sz];
201 TH1F* hRadFullMC[p_sz];
202 TH1F* hRadFullReco[p_sz];
203 TH1F* hRadFullRecoCor[p_sz];
204 TH1F* hRadErrStatFullMC[p_sz];
205 TH1F* hRadErrStatFullReco[p_sz];
206 TH1F* hRadErrStatFullRecoCor[p_sz];
207 TH1F* hRadErrMomFullMC[p_sz];
208 TH1F* hRadErrMomFullReco[p_sz];
209 TH1F* hRadErrMomFullRecoCor[p_sz];
212 TH1F* hfyMCmodel[p_sz];
213 TH2F* hfdndydptMC[p_sz];
214 TH2F* hfdndydptMCmodel[p_sz];
217 TH1F* hfyRecomodel[p_sz];
218 TH2F* hfdndydptReco[p_sz];
219 TH2F* hfdndydptRecomodel[p_sz];
221 TH1F* hfyRecoCor[p_sz];
222 TH1F* hfyRecoCormodel[p_sz];
223 TH2F* hfdndydptRecoCor[p_sz];
224 TH2F* hfdndydptRecoCormodel[p_sz];