Added missing libraries to read AOD from official train with alien plugin
authordainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jun 2009 23:10:38 +0000 (23:10 +0000)
committerdainese <dainese@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 16 Jun 2009 23:10:38 +0000 (23:10 +0000)
PWG3/vertexingHF/RunAnalysisAODVertexingHF.C

index 7040e14..ed778ab 100644 (file)
@@ -14,12 +14,12 @@ void RunAnalysisAODVertexingHF()
   //\r
 \r
   //\r
-  TString analysisMode = "local"; // "local", "grid", or "proof" (not yet)\r
+  TString analysisMode = "grid"; // "local", "grid", or "proof" (not yet)\r
   TString inputMode    = "list"; // "list", "xml", or "dataset" (not yet)\r
   Long64_t nentries=1234567890,firstentry=0;\r
   Bool_t useParFiles=kFALSE;\r
-  Bool_t useAlienPlugin=kFALSE;\r
-  TString pluginmode="full";\r
+  Bool_t useAlienPlugin=kTRUE;\r
+  TString pluginmode="test";\r
   TString loadMacroPath="$ALICE_ROOT/PWG3/vertexingHF/";\r
   //\r
 \r
@@ -168,7 +168,7 @@ void RunAnalysisAODVertexingHF()
 \r
   taskName="AddTaskBkgLikeSign.C"; taskName.Prepend(loadMacroPath.Data());\r
   gROOT->LoadMacro(taskName.Data());\r
-  AliAnalysisTaskSEBkgLikeSignJPSI *lsTask = AddTaskBkgLikeSign();\r
+  //AliAnalysisTaskSEBkgLikeSignJPSI *lsTask = AddTaskBkgLikeSign();\r
 \r
   //taskName="AddTaskBtoJPSItoEle.C"; taskName.Prepend(loadMacroPath.Data());\r
   //gROOT->LoadMacro(taskName.Data());\r
@@ -182,7 +182,7 @@ void RunAnalysisAODVertexingHF()
   //gROOT->LoadMacro(taskName.Data());\r
   //AliCFHeavyFlavourTaskMultiVar *cfmvTask = AddTaskCFMultiVar();\r
 \r
-  taskName="AddTaskMultiVarMultiStep.C"; taskName.Prepend(loadMacroPath.Data());\r
+  taskName="AddTaskCFMultiVarMultiStep.C"; taskName.Prepend(loadMacroPath.Data());\r
   gROOT->LoadMacro(taskName.Data());\r
   AliCFHeavyFlavourTaskMultiVarMultiStep *cfmvmsTask = AddTaskCFMultiVarMultiStep();\r
 \r
@@ -221,12 +221,13 @@ AliAnalysisGrid* CreateAlienHandler(TString pluginmode="test",Bool_t useParFiles
    // Declare input data to be processed.\r
    // Method 1: Create automatically XML collections using alien 'find' command.\r
    // Define production directory LFN\r
-   plugin->SetGridDataDir("/alice/cern.ch/user/r/rbala/newtrain/out_lhc08x/");\r
+   //plugin->SetGridDataDir("/alice/cern.ch/user/r/rbala/newtrain/out_lhc08x/");\r
+   plugin->SetGridDataDir("/alice/cern.ch/user/m/mgheata/analysisESD/output_train_default_28May2009_09h33/");\r
    // Set data search pattern\r
    plugin->SetDataPattern("AliAOD.root");\r
    plugin->SetFriendChainName("AliAOD.VertexingHF.root");\r
    // ...then add run numbers to be considered\r
-   plugin->AddRunNumber(180100);\r
+  plugin->AddRunNumber(529007);\r
    // Method 2: Declare existing data files (raw collections, xml collections, root file)\r
    // If no path mentioned data is supposed to be in the work directory (see SetGridWorkingDir())\r
    // XML collections added via this method can be combined with the first method if\r
@@ -242,7 +243,7 @@ AliAnalysisGrid* CreateAlienHandler(TString pluginmode="test",Bool_t useParFiles
    //plugin->SetAnalysisSource("$ALICE_ROOT/PWG3/vertexingHF/AliAnalysisTaskSECompareHF.cxx");\r
    // Declare all libraries (other than the default ones for the framework. These will be\r
    // loaded by the generated analysis macro. Add all extra files (task .cxx/.h) here.\r
-   plugin->SetAdditionalLibs("libPWG3vertexingHF.so");\r
+   plugin->SetAdditionalLibs("libPWG3vertexingHF.so libPWG3base.so libPWG3muon.so libPWG4PartCorrBase.so libPWG4PartCorrDep.so");\r
    // use par files\r
    if(useParFiles) {\r
      plugin->EnablePackage("STEERBase.par");\r
@@ -251,7 +252,11 @@ AliAnalysisGrid* CreateAlienHandler(TString pluginmode="test",Bool_t useParFiles
      plugin->EnablePackage("ANALYSIS.par");\r
      plugin->EnablePackage("ANALYSISalice.par");\r
      plugin->EnablePackage("CORRFW.par");\r
+     plugin->EnablePackage("PWG3base.par");\r
      plugin->EnablePackage("PWG3vertexingHF.par");\r
+     plugin->EnablePackage("PWG3muon.par");\r
+     plugin->EnablePackage("PWG4PartCorrBase.par");\r
+     plugin->EnablePackage("PWG4PartCorrDep.par");\r
    }\r
    // Declare the output file names separated by blancs.\r
    // (can be like: file.root or file.root@ALICE::Niham::File)\r