AliPhysics  cda3415 (cda3415)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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("AliTrackletWeights.C+g");
32  gROOT->LoadMacro("AliTrackletAODUtils.C+g");
33  gROOT->LoadMacro("PureMCWeights.C+g");
34 
35  PureMCWeights p;
36  p.Run(nFile, dFile, oFile);
37 }
38 
39 //
40 // EOF
41 //
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:54