Parametrized distance IP to PHOS
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Oct 2004 10:47:29 +0000 (10:47 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 20 Oct 2004 10:47:29 +0000 (10:47 +0000)
PHOS/AliPHOSTrackSegmentMakerv1.cxx

index c382bb5..acc922e 100644 (file)
@@ -156,7 +156,8 @@ Float_t  AliPHOSTrackSegmentMakerv1::GetDistanceInPHOSPlane(AliPHOSEmcRecPoint *
       Int_t iClosestTrack = -1;
       Double_t minDistance = 1e6;
       Double_t pxyz[3], xyz[3];
-      Double_t rPHOS=460.;
+      Double_t rPHOS = 
+       AliPHOSGetter::Instance()->PHOSGeometry()->GetIPtoCrystalSurface();
       AliESDtrack *track;
       for (Int_t iTrack=0; iTrack<nTracks; iTrack++) {
        track = fESD->GetTrack(iTrack);