2 const TString name =
"Npart",
3 const TString energy =
"200",
20 gSystem->Load(
"St_base");
21 gSystem->Load(
"StUtilities");
22 gSystem->Load(
"StGlauberAnalysisMaker");
39 const Int_t nFiles = 10 ;
40 const TString type[] =
42 "default",
"small",
"large",
"smallXsec",
"largeXsec",
43 "smallNpp",
"largeNpp",
"gauss",
"smallTotal",
"largeTotal"
50 TString description[] =
55 "small #sigma_{NN}=41mb",
56 "large #sigma_{NN}=43mb",
59 "small n_{pp}: (npp, x) = (2.153, 0.13)",
60 "large n_{pp}: (npp, x) = (1.948, 0.17)",
62 "-5% total cross section",
63 "+5% total cross section"
66 if( energy.Contains(
"200") )
68 cout <<
"Initialize 200 GeV" << endl;
74 if( energy.Contains(
"39") )
76 cout <<
"Initialize 39 GeV" << endl;
77 description[3] =
"small #sigma_{NN}=33mb" ;
78 description[4] =
"large #sigma_{NN}=35mb" ;
79 description[5] =
"small n_{pp}: (npp, x) = (1.44, 0.14)" ;
80 description[6] =
"large n_{pp}: (npp, x) = (1.60, 0.10)" ;
84 const TString description[] = {
88 "small #sigma_{NN}=33mb",
89 "large #sigma_{NN}=35mb",
92 "small n_{pp}: (npp, x) = (1.44, 0.14)",
93 "large n_{pp}: (npp, x) = (1.60, 0.10)",
94 "-5% total cross section",
95 "+5% total cross section",
96 "Re-weighting +(-) 2#sigma for p_{0}(p_{1})",
97 "Re-weighting -(+) 2#sigma for p_{0}(p_{1})"
104 if( energy.Contains(
"11.5") ) {
105 cout <<
"Initialize 11.5 GeV" << endl;
106 description[3] =
"small #sigma_{NN}=30.2mb" ;
107 description[4] =
"large #sigma_{NN}=32.2mb" ;
108 description[5] =
"small n_{pp}: (npp, x) = (1.01, 0.14)" ;
109 description[6] =
"large n_{pp}: (npp, x) = (1.11, 0.10)" ;
113 const TString description[] = {
117 "small #sigma_{NN}=30.2mb",
118 "large #sigma_{NN}=32.2mb",
120 "small n_{pp}: (npp, x) = (0.82, 0.14)",
121 "large n_{pp}: (npp, x) = (0.90, 0.10)",
122 "-5% total cross section",
123 "+5% total cross section"
129 if( energy.Contains(
"7.7") ) {
130 cout <<
"Initialize 7.7 GeV" << endl;
131 description[3] =
"small #sigma_{NN}=29.8mb" ;
132 description[4] =
"large #sigma_{NN}=31.8mb" ;
133 description[5] =
"small n_{pp}: (npp, x) = (0.85, 0.14)" ;
134 description[6] =
"large n_{pp}: (npp, x) = (0.93, 0.10)" ;
138 const TString description[] = {
142 "small #sigma_{NN}=29.8mb",
143 "large #sigma_{NN}=31.8mb",
145 "small n_{pp}: (npp, x) = (0.85, 0.14)",
146 "large n_{pp}: (npp, x) = (0.93, 0.10)",
147 "-5% total cross section",
148 "+5% total cross section"
154 for(Int_t i=0; i<nFiles; i++)
156 cout << description[i] << endl;
157 const TString tableName(Form(
"./table/table_%s_%s_vs_centrality.txt", type[i].Data(), name.Data()));
158 maker->
Read(tableName, description[i]) ;
void Draw(const UInt_t mode=0)
Int_t Read(const TString filename, const TString type)
Default destructor.