Set neg max number of steps to avoid useless messages
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Jan 2008 08:27:39 +0000 (08:27 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 24 Jan 2008 08:27:39 +0000 (08:27 +0000)
TPC/AliTPCv2.cxx
TPC/AliTPCv3.cxx
TPC/AliTPCv4.cxx

index a32830e..194c24d 100644 (file)
@@ -1144,7 +1144,7 @@ void AliTPCv2::Init()
   fIDrift=gMC->VolId("TPC_Drift");
   fSecOld=-100; // fake number 
 
-  gMC->SetMaxNStep(30000); // max. number of steps increased
+  gMC->SetMaxNStep(-30000); // max. number of steps increased
 
   if (fPrimaryIonisation) {
       gMC->Gstpar(idtmed[2],"PRIMIO_E", 20.77); // 1st ionisation potential
index 0f5dddf..9c64a8d 100644 (file)
@@ -986,7 +986,7 @@ void AliTPCv3::Init()
 
    fIdSens=gMC->VolId("TPC_Drift"); // drift gas as a sensitive volume
 
-  gMC->SetMaxNStep(30000); // max. number of steps increased
+  gMC->SetMaxNStep(-30000); // max. number of steps increased
 
   gMC->Gstpar(idtmed[2],"LOSS",5);
 
index 8580dbc..73a321a 100644 (file)
@@ -1147,7 +1147,7 @@ void AliTPCv4::Init()
   fIDrift=gMC->VolId("TPC_Drift");
   fSecOld=-100; // fake number 
 
-  gMC->SetMaxNStep(30000); // max. number of steps increased
+  gMC->SetMaxNStep(-30000); // max. number of steps increased
 
   gMC->Gstpar(idtmed[20],"LOSS",6); // specific energy loss