Updated macro (Matthias)
authorprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2012 22:09:45 +0000 (22:09 +0000)
committerprino <prino@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 17 Sep 2012 22:09:45 +0000 (22:09 +0000)
PWGHF/correlationHF/compile-DxHFE.C

index e0e1e03..bbc6cbe 100644 (file)
@@ -14,6 +14,7 @@
 
 #if defined(__CINT__) && !defined(__MAKECINT__)
 {
+
   //----------- Loading the required libraries ---------//
   gInterpreter->ExecuteMacro("$ALICE_ROOT/PWGHF/vertexingHF/macros/LoadLibraries.C");
 
   gSystem->Load("libPWGHFhfe.so");
   gSystem->Load("libCORRFW");
   gSystem->AddIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT/PWGHF/vertexingHF -I$ALICE_ROOT/PWGHF/base -I$ALICE_ROOT/PWGHF/hfe ");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliDxHFEParticleSelection.cxx+");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliDxHFEParticleSelectionD0.cxx+");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliDxHFEParticleSelectionEl.cxx+");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliAnalysisTaskDxHFEParticleSelection.cxx+");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliDxHFECorrelation.cxx+");
-  gROOT->LoadMacro("$ALICE_ROOT/PWGHF/correlationHF/AliAnalysisTaskDxHFECorrelation.cxx+");
+
+  TString dir("$ALICE_ROOT/PWGHF/correlationHF/");
+  gROOT->LoadMacro(dir+"AliDxHFEParticleSelection.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFEParticleSelectionD0.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFEParticleSelectionEl.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFEToolsMC.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFEParticleSelectionMCD0.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFEParticleSelectionMCEl.cxx+");
+  gROOT->LoadMacro(dir+"AliDxHFECorrelation.cxx+");
+  gROOT->LoadMacro(dir+"AliAnalysisTaskDxHFEParticleSelection.cxx+");
+  gROOT->LoadMacro(dir+"AliAnalysisTaskDxHFEParticleSelectionEl.cxx+");
+  gROOT->LoadMacro(dir+"AliAnalysisTaskDxHFECorrelation.cxx+");
+
 }
 #elif
 {