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 = kFALSE,
10 const Bool_t doUnitWeight = kFALSE,
11 const UShort_t debug = 0
14 gSystem->Load(
"St_base");
15 gSystem->Load(
"StUtilities");
16 gSystem->Load(
"StGlauberUtilities");
17 gSystem->Load(
"StCentralityMaker");
18 gSystem->Load(
"StGlauberTree");
19 gSystem->Load(
"StGlauberAnalysisMaker");
27 maker->
Run(inputFileList);
32 void doAnalysisMakerOneFile(
33 const TString system =
"AuAu_39GeV",
34 const TString inputFile =
"icmaker.root",
35 const TString outputFile =
"ana.root",
36 const TString type =
"default",
37 const TString abledir =
"./table",
38 const Bool_t doReweighting = kFALSE,
39 const Bool_t doUnitWeight = kFALSE,
40 const UShort_t debug = 3
43 gSystem->Load(
"St_base");
44 gSystem->Load(
"StUtilities");
45 gSystem->Load(
"StGlauberUtilities");
46 gSystem->Load(
"StCentralityMaker");
47 gSystem->Load(
"StGlauberTree");
48 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.