// --- AliRoot header files ---
#include "AliPHOSRecCpvManager.h"
-#include "AliPHOSGetter.h"
+#include "AliPHOSGeometry.h"
+#include "AliPHOSLoader.h"
ClassImp(AliPHOSRecCpvManager)
// Put a comment here
}
-Float_t AliPHOSRecCpvManager::Dispersion(Float_t etot, Float_t ai, Float_t ei) const
+Float_t AliPHOSRecCpvManager::Dispersion(Float_t etot, Float_t ai) const
{
//"Dispresion" of energy deposition in the cell.
// etot is the total shower energy, ai is the
//xi and yi are the distances along x and y from reference point
// to the pad center.
- AliPHOSGetter * gime = AliPHOSGetter::GetInstance() ;
- const AliPHOSGeometry* geom = gime->PHOSGeometry();
+ AliPHOSGeometry * geom = AliPHOSLoader::GetPHOSGeometry();
+
Float_t celZ = geom->GetPadSizeZ();
Float_t celY = geom->GetPadSizePhi();