Description of mMvdOccupancy

The calling sequence for this module (with links to the source code) is:
mMvdOccupancy dMvdClmp dMvcRaw dMvbPar dMvcPar dMvdTrigPar dMvdGeo dMvdTrigControl

Using the contents of dMvdClmp as input, calculate the average occupancy in the inner barrel (dMvdTrigControl->foccup[0]), outer barrel (foccup[1]), south endcap (foccup[2]), and north endcap (foccup[3]).

This is then used to set a parameter (dMvdTrigControl->choice) which control which vertex finding algorithm is used. If dMvdTrigPar->choice = 0, then both algorithms (pseudotracking and correlation) should be called for each event. However, the normal setting is dMvdTrigPar->choice = 1. In that case, this module will set dMvdTrigControl->choice = 1 (meaning use the correlation method) if the occupancy is greater than dMvdTrigPar->OCC_CUT and dMvdTrigControl->choice = 0 (meaning use the pseudo-tracking method) otherwise. The default value of dMvdTrigPar->OCC_CUT is 0.45.


John Sullivan
comments to: sullivan@lanl.gov
updated 23-Dec-1999