Presentation is loading. Please wait.

Presentation is loading. Please wait.

Physics test code Phone conference 18/2 -04 Rikard Sandström Geneva University.

Similar presentations


Presentation on theme: "Physics test code Phone conference 18/2 -04 Rikard Sandström Geneva University."— Presentation transcript:

1 Physics test code Phone conference 18/2 -04 Rikard Sandström Geneva University

2 Purpose Need it for probing the physics in G4MICE. It gives an inventory of particles and processes. Making it a public part of G4MICE will –allow others to run the get the same results. –allow users to test their production cuts in case they need to set a different value than the defaultCutValue.

3 The class The class is called “MICEStepStatistics”. The “Step” is to allow other Statistics classes to be written later. If a variable in dataCards is set, “StepStatisticsOutput 1”, the SteppingAction sends the step information to this special class. By the end of the run it writes the statistics summary to a file “StepStat.out”. If the variable is not set, no statistics is collected and no file written.

4 Example of output (100k events) *** Statistics file, particles and processes *** * Row: 1=mu+, 2=mu-, 3=e+, 4=e-, 5=nu_mu, 6=anti_nu_mu, 7=nu_e, 8=anti_nu_e, * Row: 9=proton, 10 = neutron, 11=pi+, 12=pi-, 13=pi0, 14=kaon+, 15=kaon-, 16=kaon0, 17=gamma, 18=deuteron, 19=triton, 20=alpha, * Row: 21=Pb207, 22=Pb208, 23=C12, 24,=C13, 25=N14, 25=O16, 27=Al27 * Col: 1=Transportation, 2=MuIoni, 3=eIoni, 4=msc, 5=eBrem, 6=compt, 7=MuBrems, 8=hIoni, 9=LElastic, * Col: 10=inelastic, 11=ProtonInelastic, 12=PionPlusInelastic, 13=NeutronInelastic 0 1 2 3 4 5 6 7 8 9 10 11 12 1 2.363e+07 4.176e+07 0 17 0 0 231 0 0 0 0 0 2 10 986 0 0 0 0 0 0 0 0 0 0 3 8.225e+04 0 5.33e+05 1.044e+04 3.201e+04 0 0 0 0 0 0 0 4 5.556e+05 0 3.022e+07 6.054e+05 9.495e+04 0 0 0 0 0 0 0 5 134 0 0 0 0 0 0 0 0 0 0 0 6 1.51e+04 0 0 0 0 0 0 0 0 0 0 0 7 1.32e+04 0 0 0 0 0 0 0 0 0 0 0 8 0 0 0 0 0 0 0 0 0 0 0 0 9 3331 0 0 0 0 0 0 1.608e+05 29 0 11 0 10 802 0 0 0 0 0 0 0 114 0 0 0 11 2721 0 0 0 0 0 0 1.161e+04 15 0 0 9 12 203 0 0 0 0 0 0 983 0 0 0 0 13 0 0 0 0 0 0 0 0 0 0 0 0 14 986 0 0 0 0 0 0 0 0 0 0 0 15 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 0 0 0 0 0 0 0 0 0 17 1.009e+06 0 0 0 0 5.661e+04 0 0 0 0 0 0 18 1295 0 0 0 0 0 0 0 0 0 0 0 19 1650 0 0 0 0 0 0 0 0 0 0 0 20 1398 0 0 0 0 0 0 0 0 0 0 0 21 1880 0 0 0 0 0 0 0 0 0 0 0 22 257 0 0 0 0 0 0 0 0 0 0 0 23 965 0 0 0 0 0 0 0 0 0 0 0 24 0 0 0 0 0 0 0 0 0 0 0 0 25 234 0 0 0 0 0 0 0 0 0 0 0 26 25 0 0 0 0 0 0 0 0 0 0 0 27 0 0 0 0 0 0 0 0 0 0 0 0 28 0 0 0 0 0 0 0 0 0 0 0 0

5 Should we use it? The code is already written, but not in CVS. Could go in Simulation, Simulation/test or MICE/test directory. Works only so far in DetOnly mode. Could print #processes/#events instead of #processes if that is more instructive.


Download ppt "Physics test code Phone conference 18/2 -04 Rikard Sandström Geneva University."

Similar presentations


Ads by Google