2 #ifndef __StCentrality_h__
3 #define __StCentrality_h__
18 StCentrality(
const TString system =
"AuAu_200GeV",
const TString type=
"default");
29 Double_t
GetCentrality(
const UInt_t multiplicity,
const UInt_t mode=0)
const ;
31 Double_t GetNpp()
const ;
32 Double_t
GetK()
const ;
33 Double_t
GetX()
const ;
41 Double_t GetNppError(
const Double_t npp)
const ;
44 void Init_AuAu200GeV() ;
45 void Init_AuAu62GeV() ;
46 void Init_AuAu39GeV() ;
47 void Init_AuAu27GeV() ;
48 void Init_AuAu19GeV() ;
49 void Init_AuAu11GeV() ;
50 void Init_AuAu7GeV() ;
52 void Init_dAu200GeV() ;
55 void Init_CuCu200GeV() ;
56 void Init_ZrZr200GeV() ;
57 void Init_UU200GeV() ;
58 void Init_PbPb2760GeV() ;
69 Double_t mEfficiency ;
70 Double_t mTriggerBias ;
71 Double_t mParReweighting[2];
72 std::vector<UInt_t> mMultiplicityCut[mNMode] ;
73 std::vector<Double_t> mCentralityMin[mNMode] ;
74 std::vector<Double_t> mCentralityMax[mNMode] ;
79 inline Double_t StCentrality::GetNpp()
const {
return mNpp ; }
virtual ~StCentrality()
Default constructor.
Double_t GetEfficiency() const
Get X.
static void help()
Default destructor.
StCentrality(const TString system="AuAu_200GeV", const TString type="default")
Double_t GetTriggerBias() const
Get efficiency.
Double_t GetReweighting(const UInt_t multiplicity) const
Get trigger bias.
Double_t GetX() const
Get K.
Double_t GetCentrality(const UInt_t multiplicity, const UInt_t mode=0) const
Print help messages.
Double_t GetK() const
Get Npp.