The standard interface routine GUSTEP (in //gene/cmgeant directory) calls the tracker/muon hits recording routine CMTHIT provided the tracking is going within the tracker in a sensitive volume. The purpose of this code is to record the detector impact point coordinates and time at each tracker detector unit and store the information to the HITS structure. The flow of this code is the following:
GUSTEP (called from )GSCANU (optional material scan)
CMTHIT (called if tracking in tracker or muon system)
CMCHIT (called if tracking in one of the calorimeters)
USSTEP (user hook for step control)
GSKING (stores kinematics info for secondaries)