]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 a32830ebf8eb5f1cddfa17df20ea838bb0750a7f..194c24dd9e5e607b81a91ea58761fd6913a45756 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 0f5dddf3afeee9eb95a1e319b44d85aa4430c65e..9c64a8d51b93a746691d89d49c954c047afffd5f 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 8580dbcb89715e6abecbef6f74d3313951408fbc..73a321a1e379f0553bc0376407a32a0288ea977f 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