Use z of hit instead of -zero- to make it work with inclined trigger chambers
authorvulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Nov 2009 12:39:42 +0000 (12:39 +0000)
committervulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 20 Nov 2009 12:39:42 +0000 (12:39 +0000)
MUON/AliMUONResponseTrigger.cxx

index c008110..1260efc 100644 (file)
@@ -92,7 +92,7 @@ AliMUONResponseTrigger::DisIntegrate(const AliMUONHit& hit, TList& digits)
   
   Float_t xhit = hit.X();
   Float_t yhit = hit.Y();
-  Float_t zhit = 0; // FIXME : should it be hit.Z() ?
+  Float_t zhit = hit.Z();
   Int_t detElemId = hit.DetElemId();  
   
   Double_t x,y,z;