17 #ifndef _CbmHRGModel_h_
18 #define _CbmHRGModel_h_
36 class FairRootManager;
45 Double_t
getAcceptance(
const Double_t&
y,
const Double_t& pt)
const;
54 :
p1(p1_),
p2(p2_),
p3(p3_) {}
55 Double_t
f(
double p) {
return p1 -
p2 * TMath::Exp(-p * p / 2. /
p3 /
p3); }
74 KFParticleTopoReconstructor* tr = 0,
76 Bool_t useStatistics = 0,
80 virtual void ReInit(FairRootManager* fManger);
83 virtual void Finish();
85 void AddRatio(
int pdgid1,
87 double SystError = 0.);
95 Double_t RecEfficiency(Double_t p);
98 void CalculateMultiplicitiesInEvent(std::vector<int>& Mult,
100 bool UpdateGlobal = 0);
126 static const int nHisto1D =
129 IndexMuS, IndexErrorMuS, IndexMuQ, IndexErrorMuQ,
IndexnB, IndexEnergy,
132 TH1F* histo1D[nHisto1D];
134 static const int nHisto2D = 3;
137 TH2F* histo2D[nHisto2D];
141 std::vector<double>
Ts, muB, errT, errmuB;