/tracking/verbose 0
/my/step/kill 0
/random/setSavingFlag true

#/random/resetEngineFrom currentEvent.rndm

# kill photons
/my/stack/kill 1

# pi- 0.1 GeV, 1 GeV, 10 GeV
/gun/particle pi-

/gun/energy 20 GeV

# set the output file name
#/my/run/rootfile mycer_e_0.1GeV.root
#/my/run/rootfile cer_pi-_E20_L10_W0.4.root

# set the thickness of lead glass:
/my/det/setCheThick 10 m
/my/det/update

#set the transverse size of lead glass:
/my/det/setSizeYZ 0.4 m
/my/det/update

/run/beamOn 75
/tracking/verbose 1
/run/beamOn 3
exit