Loading libEventMixing in macros
authormiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Apr 2012 11:25:41 +0000 (11:25 +0000)
committermiweber <miweber@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sat, 28 Apr 2012 11:25:41 +0000 (11:25 +0000)
PWGCF/EBYE/macros/readBalanceFunction.C
PWGCF/EBYE/macros/runBalanceFunction.C
PWGCF/EBYE/macros/runBalanceFunctionInpp.C
PWGCF/EBYE/macros/runBalanceFunctionMC.C
PWGCF/EBYE/macros/runBalanceFunctionPsi.C
PWGCF/EBYE/macros/runBalanceFunctionToyModel.C
PWGCF/EBYE/macros/runLRCAnalysis.C
PWGCF/EBYE/macros/runTaskFluctuations.C
PWGCF/EBYE/macros/runTaskFluctuationsCentralityTrain.C

index a493459..a699919 100644 (file)
@@ -16,6 +16,7 @@ void readBalanceFunction(Bool_t bHistos = kFALSE, TString inFile = "AnalysisResu
   gSystem->Load("libProofPlayer.so");
   gSystem->Load("libANALYSIS.so");
   gSystem->Load("libANALYSISalice.so");
+  gSystem->Load("libEventMixing.so");
   gSystem->Load("libPWGCFebye.so");
 
   //Draw BF       
index 82076d6..0ad9ed2 100755 (executable)
@@ -61,6 +61,7 @@ void runBalanceFunction(
     gSystem->Load("libAOD.so");\r
     gSystem->Load("libANALYSIS.so");\r
     gSystem->Load("libANALYSISalice.so");\r
+    gSystem->Load("libEventMixing.so");\r
     gSystem->Load("libPWGCFebye.so");\r
 \r
     // additional\r
index e8ccee5..1aad94a 100755 (executable)
@@ -139,6 +139,7 @@ void LoadLibraries(const analysisModes mode) {
     gSystem->Load("libAOD.so");\r
     gSystem->Load("libANALYSIS.so");\r
     gSystem->Load("libANALYSISalice.so");\r
+    gSystem->Load("libEventMixing.so");\r
     gSystem->Load("libPWGCFebye.so");\r
     // Use AliRoot includes to compile our task\r
     gROOT->ProcessLine(".include $ALICE_ROOT/include");\r
index e582d5d..0b6e5c5 100755 (executable)
@@ -176,6 +176,7 @@ void LoadLibraries(const analysisModes mode) {
     gSystem->Load("libAOD.so");\r
     gSystem->Load("libANALYSIS.so");\r
     gSystem->Load("libANALYSISalice.so");\r
+    gSystem->Load("libEventMixing.so");\r
     gSystem->Load("libPWGCFebye.so");\r
     // Use AliRoot includes to compile our task\r
     gROOT->ProcessLine(".include $ALICE_ROOT/include");\r
index 47d3150..364ea2b 100755 (executable)
@@ -61,6 +61,7 @@ void runBalanceFunctionPsi(
     gSystem->Load("libAOD.so");\r
     gSystem->Load("libANALYSIS.so");\r
     gSystem->Load("libANALYSISalice.so");\r
+    gSystem->Load("libEventMixing.so");\r
     gSystem->Load("libPWGCFebye.so");\r
 \r
     // additional\r
index 8b99c1f..421a1a7 100755 (executable)
@@ -63,6 +63,7 @@ void runBalanceFunctionToyModel(Int_t nEvents = 10,
   gSystem->Load("libAOD.so");\r
   gSystem->Load("libANALYSIS.so");\r
   gSystem->Load("libANALYSISalice.so");\r
+  gSystem->Load("libEventMixing.so");\r
   gSystem->Load("libPWGCFebye.so");\r
   \r
   //configure the bf objects\r
index 9fe70ad..47da8db 100644 (file)
@@ -45,8 +45,10 @@ void LoadAnalysisLibs(Bool_t LoadTaskLocal=kFALSE)
   gSystem->Load("libAOD.so");
   gSystem->Load("libANALYSIS.so");
   gSystem->Load("libANALYSISalice.so");
-  if(!LoadTaskLocal)gSystem->Load("libPWGCFebye.so");
-
+  if(!LoadTaskLocal){
+       gSystem->Load("libEventMixing.so");
+       gSystem->Load("libPWGCFebye.so");
+  }
   
   //___________Compile analysis task using AClic____________//
  
index 7340338..bb2a171 100644 (file)
@@ -141,10 +141,14 @@ void LoadLibraries(const anaModes mode) {
     gSystem->Load("libANALYSISalice");
     // Use AliRoot includes to compile our task                                   
     gROOT->ProcessLine(".include $ALICE_ROOT/include");
-    if(mode==mLocal || mode==mGrid)
+    if(mode==mLocal || mode==mGrid){
+      gSystem->Load("libEventMixing.so");
       gSystem->Load("libPWGCFebye");
-    if(mode==mGridPAR)
+    }
+    if(mode==mGridPAR){
+      SetupPar("EventMixing");
       SetupPar("PWGCFebye");
+    }
   }
   
   else if (mode == mLocalPAR) {
index 4da60fe..d9672fc 100644 (file)
@@ -166,10 +166,14 @@ void LoadLibraries(const anaModes mode) {
     gSystem->Load("libANALYSISalice");
     // Use AliRoot includes to compile our task                                   
     gROOT->ProcessLine(".include $ALICE_ROOT/include");
-    if(mode==mLocal || mode==mGrid)
+    if(mode==mLocal || mode==mGrid){
+      gSystem->Load("libEventMixing.so");
       gSystem->Load("libPWGCFebye");
-    if(mode==mGridPAR)
+    }
+    if(mode==mGridPAR){
+      SetupPar("EventMixing");
       SetupPar("PWGCFebye");
+    }
   }
   
   else if (mode == mLocalPAR) {