AliPhysics  63e47e1 (63e47e1)
ExtractMCWeights.C
Go to the documentation of this file.
1 // for alternative markers, add 0x20000 to the flags
21 void
22 ExtractMCWeights(const char* nFile="dpmjet.root",
23  const char* dFile="hijing.root",
24  const char* oFile=0)
25 {
26  // gSystem->AddIncludePath("-I$ALICE_PHYSICS/include");
27  // gSystem->AddIncludePath("-I$ALICE_ROOT/include");
28  gSystem->AddIncludePath("-I$ANA_SRC/dndeta/tracklets3");
29  gROOT->SetMacroPath(Form("%s:scripts:$(ANA_SRC)/dndeta/tracklets3",
30  gROOT->GetMacroPath()));
31  gROOT->LoadMacro("AliAODTracklet.C+g");
32  gROOT->LoadMacro("AliTrackletWeights.C+g");
33  gROOT->LoadMacro("AliTrackletAODUtils.C+g");
34  gROOT->LoadMacro("PureMCWeights.C+g");
35 
36  PureMCWeights p;
37  p.Run(nFile, dFile, oFile);
38 }
39 
40 //
41 // EOF
42 //
TSystem * gSystem
void ExtractMCWeights(const char *nFile="dpmjet.root", const char *dFile="hijing.root", const char *oFile=0)
void Run(const char *nFile, const char *dFile, const char *oFile=0)
Definition: PureMCWeights.C:55