fName="EMCAL";
//fQATask = 0;
fTreeQA = 0;
+ fGeom = 0 ;
}
//____________________________________________________________________________
{
// ctor : title is used to identify the layout
+ fGeom = AliEMCALGeometry::GetInstance(GetTitle(),"") ;
//fQATask = 0;
fTreeQA = 0;
}
AliEMCALGeometry * AliEMCAL::GetGeometry() const
{
// gets the pointer to the AliEMCALGeometry unique instance
-
- return AliEMCALGeometry::GetInstance(GetTitle(),"") ;
+ if (fGeom)
+ return fGeom ;
+ else
+ return AliEMCALGeometry::GetInstance(GetTitle(),"") ;
}
//____________________________________________________________________________
//AliEMCALQAChecker * fQATask ; //! PHOS checkers container
TTree * fTreeQA ; // the QA tree that contains the alarms
+ AliEMCALGeometry * fGeom ; // the geometry object
- ClassDef(AliEMCAL,2) // Electromagnetic calorimeter (base class)
+ ClassDef(AliEMCAL,3) // Electromagnetic calorimeter (base class)
} ;