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 89cc3f9..b94a8cf 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