]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWGLF/FORWARD/analysis2/AliCentralMultiplicityTask.cxx
Renamed some member functions for more logical names
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliCentralMultiplicityTask.cxx
index 831c9f7cb2e4b227b2db61dd3dec56045ece62b5..0882014ca18c7c0ce851654179394e255ca9118b 100644 (file)
@@ -181,7 +181,7 @@ void AliCentralMultiplicityTask::UserCreateOutputObjects()
   fList = new TList();
   fList->SetOwner();
 
-  fInspector.DefineOutput(fList);
+  fInspector.CreateOutputObjects(fList);
 
   PostData(1,fList);  
 }
@@ -200,7 +200,10 @@ AliCentralMultiplicityTask::GetESDEvent()
     AliWarning("No ESD event found for input event");
     return 0;
   }
-  
+
+  // Load in the data needed
+  LoadBranches();
+
   // IF we've read the first event already, just return the event 
   if (fFirstEventSeen) return esd;
   
@@ -269,7 +272,7 @@ AliCentralMultiplicityTask::GetESDEvent()
   fNTracklet->Sumw2();
 
   // Initialize the inspecto 
-  fInspector.Init(vaxis);
+  fInspector.SetupForData(vaxis);
   fFirstEventSeen = kTRUE;
 
   // Print some information