]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Corrected bug with MaxStep setting for geant3
authorkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 May 2010 11:31:01 +0000 (11:31 +0000)
committerkowal2 <kowal2@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 27 May 2010 11:31:01 +0000 (11:31 +0000)
TPC/AliTPCv2.cxx

index 4cf5235028a7a4eed341dba75d6daa433f8a1466..ce0e9866447958e962d00ec96940c1b0a57827c0 100644 (file)
@@ -1667,7 +1667,7 @@ void AliTPCv2::StepManager()
   
   vol[1]=0; // preset row number to 0
   //
-  if (fPrimaryIonisation) gMC->SetMaxStep(kbig);
+  if (!fPrimaryIonisation) gMC->SetMaxStep(kbig);
   
   if(!gMC->IsTrackAlive()) return; // particle has disappeared