]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONHitForRec.cxx
Pass detElemId in the constructor from AliMUONRawCluster*
[u/mrichter/AliRoot.git] / 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