]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
- fix z position returned by AliTRDtrackletWord
authorjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Dec 2011 18:33:06 +0000 (18:33 +0000)
committerjklein <jklein@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Dec 2011 18:33:06 +0000 (18:33 +0000)
  (centre of pad row instead of edge)

TRD/AliTRDtrackletWord.h

index ca0409329e8472770e9b4ef6001a0d687738d739..146e2920b3e4631b4475f727bed5487dbc8e20dc 100644 (file)
@@ -41,7 +41,7 @@ class AliTRDtrackletWord : public AliTRDtrackletBase {
   Float_t GetX() const { return fgGeo->GetTime0((fHCId%12)/2); }
   Float_t GetY() const { return (GetYbin() * 160e-4); }
   Float_t GetZ() const { return fgGeo->GetPadPlane((fHCId % 12) / 2, (fHCId/12) % 5)->GetRowPos(GetZbin()) -
-      fgGeo->GetPadPlane((fHCId % 12) / 2, (fHCId/12) % 5)->GetRowSize(GetZbin()); }
+      fgGeo->GetPadPlane((fHCId % 12) / 2, (fHCId/12) % 5)->GetRowSize(GetZbin())  * .5; }
   Float_t GetLocalZ() const { return GetZ() - fgGeo->GetPadPlane((fHCId % 12) / 2, (fHCId/12) % 5)->GetRowPos(8); }
 
   UInt_t GetTrackletWord() const { return fTrackletWord; }