source: trunk/source/geometry/magneticfield/test/NTST/count.maxIt-PiF @ 1300

Last change on this file since 1300 was 1199, checked in by garnier, 15 years ago

nvx fichiers dans CVS

File size: 519 bytes
Line 
1#
2#  Script to count number of iterations within verbose testing
3#
4#  Original: J. Apostolakis,  Nov 2003
5#   Comments:  Dec 2006 (partial)
6#
7#
8grep G4Propa $*  |  \
9 awk 'BEGIN { over1c=0; over1k=0; n=0; maxit=0; } \
10      { it=$6; n++; sumit+=it; if(it>maxit){maxit=it;} }  \
11      $6 >  100 { over1c++; }   \
12      $6 > 1000 { over1k++; }   \
13      $6 > 5000 { print; }  \
14END { print "Number over 50 iterations is ", n, "over hundred= ", over1c, "over 1000= ", over1k, "Max it", maxit, " sum large it=", sumit; } '
Note: See TracBrowser for help on using the repository browser.