4 const TString system =
"AuAu_39GeV",
5 const TString inputFileList =
"tmp.list",
6 const TString outputFile =
"ana.root",
7 const TString type =
"default",
8 const TString tabledir =
"./table",
9 const Bool_t doReweighting = kTRUE,
10 const Bool_t doUnitWeight = kFALSE,
11 const UShort_t debug = 0
13 gSystem->Load(
"St_base");
14 gSystem->Load(
"StUtilities");
15 gSystem->Load(
"StGlauberUtilities");
16 gSystem->Load(
"StCentralityMaker");
17 gSystem->Load(
"StGlauberTree");
18 gSystem->Load(
"StGlauberAnalysisMaker");
24 maker->
Run(inputFileList);
29 void doAnalysisMakerOneFile(
30 const TString system =
"AuAu_39GeV",
31 const TString inputFile =
"icmaker.root",
32 const TString outputFile =
"ana.root",
33 const TString type =
"default",
34 const TString abledir =
"./table",
35 const Bool_t doReweighting = kTRUE,
36 const Bool_t doUnitWeight = kFALSE,
37 const UShort_t debug = 3
39 gSystem->Load(
"St_base");
40 gSystem->Load(
"StUtilities");
41 gSystem->Load(
"StGlauberUtilities");
42 gSystem->Load(
"StCentralityMaker");
43 gSystem->Load(
"StGlauberTree");
44 gSystem->Load(
"StGlauberAnalysisMaker");
Bool_t Run(const TString inputFileList)
Loop over all events in one file.
Bool_t RunFile(const TString inputFileName="icmaker.root")
Make one event.
void UnitWeightOn()
Finish analysis.
void DebugOn()
Apply re-weighting correction.
Bool_t Finish()
Loop over all file lists.
void ReweightingOn()
Use unit weight instead of multiplicity weight.