Privacy and Security Notice
Structure of the CC package
Next: Physics aspects of
Up: Main concepts of
Previous: Definitions and some
The full description of ALL software packages structure
can be found
in the description of the CLAS GEANT simulation package
GSIM.
The main idea is that the structure of every package,
concerned with different detector types
( DC, CC, SC, EC etc)
follows the GEANT philosophy :
-
There are some initialization subroutines ( CCINIT)
to define volumes,
materials, media, to read geometry parameters from
a file or BOS banks,
to define control flow cards, etc..
-
The trajectory of each particle , which reached a
sensitive volume ,
is divided
into a number of steps and a step
routine is called
( CCSTEP). At each call
the
coordinates at the beginning and at the end of the step,
the particle and medium
characteristics, etc. are acceptable.
This routine is used to define the response from
this part of the particle
trajectory and to store it (say, in HITS
structure).
-
After ALL tracks in the event are processed, the
DIGI routine
is called ( CCDIGI),
which calculates the CC response for the total
event. It uses the
information on both primary and secondary tracks.
This response is stored in the DIGI structure,
or in a special BOS bank -
to reproduce the same format as proposed for ONLINE
events.
-
Some routines may be called at the end of each event
( e.g. CCOUT )
Alexander Vlassov
Thu May 22 20:42:34 EDT 1997