Pass detElemId in the constructor from AliMUONRawCluster*
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Mar 2006 12:58:27 +0000 (12:58 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 30 Mar 2006 12:58:27 +0000 (12:58 +0000)
(Javier)

MUON/AliMUONHitForRec.cxx

index 89cc3f96a5264b3d9206d02bd513eb8231067506..b94a8cfd4ff3069bf99432b027f9a1e32fbb1eb5 100644 (file)
@@ -88,7 +88,7 @@ AliMUONHitForRec::AliMUONHitForRec(AliMUONRawCluster* theRawCluster)
   // Fills the bending and non bending coordinates.
   fNonBendingCoor = theRawCluster->GetX(0);
   fBendingCoor = theRawCluster->GetY(0);
-  fDetElemId=0;
+  fDetElemId = theRawCluster->GetDetElemId();
   // other fields will be updated in
   // AliMUONEventReconstructor::AddHitsForRecFromRawClusters,
   // except the following ones