]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Bug on backcompatibilite (option IsDetElem =0)
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Jan 2005 10:38:39 +0000 (10:38 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 18 Jan 2005 10:38:39 +0000 (10:38 +0000)
MUON/AliMUONData.cxx
MUON/AliMUONHit.cxx
MUON/AliMUONv1.cxx

index 19d48d83cffb34eef6cf94ac9ff5835e35227d77..d051911894a80a227849a34116402c0e2ea288d3 100644 (file)
@@ -235,7 +235,7 @@ void AliMUONData::AddHit(Int_t fIshunt, Int_t track, Int_t iChamber,
                                  idpart, X, Y, Z, 
                                  tof, momentum, theta, 
                                  phi, length, destep,
-                                 Xref,Yref,Zref, true);
+                                 Xref,Yref,Zref);
 }
 //____________________________________________________________________________
 void AliMUONData::AddHit2(Int_t fIshunt, Int_t track, Int_t detElemId, 
index c0c559b0cf97aa68bc64d80c5fb3e3825c1ba904..82c249e020675e8ab062f066fcf547dab96af3f6 100644 (file)
@@ -239,7 +239,7 @@ Int_t  AliMUONHit::Chamber()  const
 {  
 // Return chamber ID
 
-  if (fIsDetElemId) 
+  if (!fIsDetElemId) 
     return fDetElemId;
   else  
     return AliMUONVGeometryDEIndexing::GetModuleId(fDetElemId);  
index 3c4f2830732e308ba0d0a467d6b7b31e34d9da1a..3781207371cfd7ce4618250509c10fab7138e3d3 100644 (file)
@@ -539,7 +539,7 @@ void AliMUONv1::StepManager2()
     }  
     
     // One hit per chamber
-    GetMUONData()->AddHit(fIshunt, 
+    GetMUONData()->AddHit2(fIshunt, 
                          gAlice->GetMCApp()->GetCurrentTrackNumber(), 
                          detElemId, ipart,
                          fTrackPosition.X(),