Change of getter in AliAnalysisManager
[u/mrichter/AliRoot.git] / PWG4 / AliAnaGammaPhos.cxx
index d09c1300a93a71bc94470cc74cb9827166f2b6e6..b20f113a9372669565b98cf48450c3603cb5b30c 100644 (file)
@@ -128,7 +128,7 @@ void AliAnaGammaPhos::CreateOutputObjects()
   // Create the outputs containers
  
   OpenFile(0) ;
-  AliAODHandler* handler = (AliAODHandler*) ((AliAnalysisManager::GetAnalysisManager())->GetEventHandler());  
+  AliAODHandler* handler = (AliAODHandler*) ((AliAnalysisManager::GetAnalysisManager())->GetOutputEventHandler());  
   fTreeA = handler->GetTree() ; 
   fAOD   = handler->GetAOD();
   fAODPhotons = fAOD->GetClusters() ;