Geometry initialization is added to default constructor
[u/mrichter/AliRoot.git] / PWG4 / UserTasks / PHOS_PbPbQA / AliAnalysisTaskPHOSPbPbQA.cxx
index ecebd67..b026ece 100644 (file)
@@ -48,6 +48,9 @@ AliAnalysisTaskPHOSPbPbQA::AliAnalysisTaskPHOSPbPbQA() : AliAnalysisTaskSE(),
       fPHOSEvents[i][j]=0 ;
   }
   
+  // Initialize the PHOS geometry 
+  fPHOSGeo = AliPHOSGeometry::GetInstance("IHEP") ;
+  
 }
 
 //________________________________________________________________________