]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Correct way to get the geometry even in case of no galice.root (raw data)
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2007 14:43:07 +0000 (14:43 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 4 Jul 2007 14:43:07 +0000 (14:43 +0000)
PHOS/AliPHOSRecPoint.cxx

index c771477a041bfbcfd5442b3e29441667df854f61..ae1c8b8c47957634c795028dc3e26b86e3ab5d65 100644 (file)
@@ -366,7 +366,7 @@ void AliPHOSRecPoint::EvalLocal2TrackingCSTransform()
   Double_t dy;
   Double_t crystalShift;
 
-  AliPHOSGeometry * phosgeom = AliPHOSLoader::GetPHOSGeometry();
+  AliPHOSGeometry * phosgeom = (AliPHOSGetter::Instance())->PHOSGeometry();
   AliPHOSEMCAGeometry* geoEMCA = phosgeom->GetEMCAGeometry(); 
 
   //Calculate offset to crystal surface.