...
Code Block |
---|
/generator/select gun /gun/position 0 0 0 /gun/direction 0. 0. 1 /gun/energy 10 GeV /gun/particle neutron |
This creates a particle gun and 0/0/0 firing along the z-axis using neutrons at 10 GeV, a list of particles is available in the GEANT manual common examples are gamma, electron, neutron...
Code Block |
---|
/lcio/filename slic_clichcalstack_neutron_10GeV_Wscint.slcio
/lcdd/url /home/marcel/demo/stack/clichcalstack.lcdd
|
this two lines specify the outputfile name and location and the location of lcdd file created with GeomConverterFinally, you decide how many events you want, in this example 125
Start SLIC using
Panel |
---|
SimDist/scripts//slic.sh -m slic.macro |
and off you go