Renames and new scripts
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / MakeAOD.C
index 4dadd409a539920d97d91d724f83c41ea6997ae6..ad5f428be731cc936cd28e12c45ca905338247ca 100644 (file)
@@ -41,8 +41,9 @@ void MakeAOD(const char* esddir,
   if (nEvents <= 0) nEvents = chain->GetEntries();
 
   // --- Creating the manager and handlers ---------------------------
   if (nEvents <= 0) nEvents = chain->GetEntries();
 
   // --- Creating the manager and handlers ---------------------------
-  AliAnalysisManager *mgr  = new AliAnalysisManager("Analysis Train", 
-                                                   "FMD analysis train");
+  AliAnalysisManager *mgr  = new AliAnalysisManager("Forward Train", 
+                                                   "Forward multiplicity");
+  AliAnalysisManager::SetCommonFileName("forward.root");
 
   // --- ESD input handler -------------------------------------------
   AliESDInputHandler *esdHandler = new AliESDInputHandler();
 
   // --- ESD input handler -------------------------------------------
   AliESDInputHandler *esdHandler = new AliESDInputHandler();
@@ -60,7 +61,7 @@ void MakeAOD(const char* esddir,
                                  "EMCALTrigger "
                                  "SPDPileupVertices " 
                                  "TrkPileupVertices " 
                                  "EMCALTrigger "
                                  "SPDPileupVertices " 
                                  "TrkPileupVertices " 
-                                 "Tracks "
+                                 // "Tracks "
                                  "MuonTracks " 
                                  "PmdTracks "
                                  "TrdTracks "
                                  "MuonTracks " 
                                  "PmdTracks "
                                  "TrdTracks "
@@ -101,6 +102,11 @@ void MakeAOD(const char* esddir,
   Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/AliESDCentrality.C","+g");
   // gDebug = 0;
   AddTaskCopyHeader();
   Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/scripts/AliESDCentrality.C","+g");
   // gDebug = 0;
   AddTaskCopyHeader();
+
+
+  // Central multiplicity
+  Compile("$ALICE_ROOT/PWG2/FORWARD/analysis2/AddTaskCentralMult.C","+");
+  AddTaskCentralMult();
 #endif
 
   // FMD 
 #endif
 
   // FMD