Change of sette/getter in AliAnalysisManager
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Aug 2007 17:25:24 +0000 (17:25 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 6 Aug 2007 17:25:24 +0000 (17:25 +0000)
ANALYSIS/AliAnalysisGoodies.cxx

index 3300491..f2ce7d0 100644 (file)
@@ -228,10 +228,10 @@ AliAnalysisDataContainer *  AliAnalysisGoodies::ConnectOuput(AliAnalysisTask * t
   char filename[20] ; 
 
     if (opt == "AOD" ) {    
-      if ( fAmgr->GetEventHandler() == 0x0) {
+      if ( fAmgr->GetOutputEventHandler() == 0x0) {
        AliAODHandler * aodHandler = new AliAODHandler() ; 
        aodHandler->SetOutputFileName(Form("%s_0.root",task->GetName())) ; 
-       fAmgr->SetEventHandler(aodHandler) ;
+       fAmgr->SetOutputEventHandler(aodHandler) ;
       } 
       sprintf(filename, "default") ; 
     }