Next: Event Generation
Up: Monte Carlo
Previous: Random Numbers
Contents
For Monte Carlo events MCMAIN is the top level control routine.
It is called once per event by EVMAIN. As mentioned above, it first stores the
current seed in RSEED.DAT. It then calls MCG_GENERATOR to create the event and
MCEVLV to evolve all tracks and vertices until all tracks end in sink vertices.
MCDAQ then looks at the resulting PMT hits, divides them into detector
triggers, calls MCNOIS to add PMT noise hits, and then simulates the DAQ
electronics. The resulting banks imitate the banks which will be read in from
tape for real events. From this point events look the same for Monte Carlo or
for analysis of real data, so program control reverts to EVMAIN.
sno Guest Acct
2009-09-09