slaclab / slic

Simulation for the Linear Collider (SLIC) Geant4 simulation application
Other
5 stars 7 forks source link

Add plugin that prints particle step information. #87

Closed omar-moreno closed 2 years ago

omar-moreno commented 2 years ago

Useful when debugging other plugins.

Tested using the following macro:

/lcdd/url <detector_url>

/run/initialize

/generator/select gps
/gps/verbose 2
/gps/particle mu-
/gps/energy 10 GeV
/gps/position 0 0 0
/gps/direction 0 1 0

/slic/plugins/load StepPrinter

/run/beamOn 100