Utility user actions

These are a miscellaneous set of user actions that add some functionality. As for any user action, filters can be assigned to them to select for which type of tracks they will be activated and in some cases classifiers may be used to classify the output tables.

Counting the number of tracks and events

This utility prints a line every N events with the event number, the number of tracks in this event and the accumulated number of tracks in all events:


      %%% EVENT 0 NTRACKS 4 TOTAL NTRACKS 4
      %%% EVENT 1000 NTRACKS 6 TOTAL NTRACKS 4663
      %%% EVENT 2000 NTRACKS 4 TOTAL NTRACKS 9440
    

Its main use is to inform the user of the progress of the job in interactive running. To activate this utility use the command:

/gamos/userAction GmCountTracksUA

The user can control the interval of events as well as the first event to start printing with the parameters:

/gamos/setParam USER_ACTION_NAME:EachNEvent NEV

/gamos/setParam USER_ACTION_NAME:FirstEvent NEV

These parameters have a default value of 10 and 0 respectively.

This utility distinguishes for the ionisation and bremsstrahlung processes those cases when a secondary particle is emitted and those when the step is limited to assure a correct energy loss and multiple scattering but no secondary particle is emitted (it adds _NoSeco at the end of the process name).