A number of detectors have already been defined. To define your own, it is best to start with one of them and modify as necessary.
The detector geometry is defined using the compact format. The resulting lcdd file needs to be checked for overlaps.
The easiest way to do this is to create a macro file containing the following command
/geometry/test/recursive_test .
To check for overlaps:
> slic -g detector.lcdd -z -m geom_chk.mac
There may be a few spurious overlaps within calorimeters due to roundoff errors.
All other overlaps should be resolved.
The current fast Monte Carlo smears charged tracks covariantly, and creates clusters for neutral particles, treating electromagnetic and hadronic showers separately.
The fast Monte Carlo requires the following properties files to provide input:
The minimum transverse momentum as well as angular fiducial regions are defined here. The names of the track smearing files are also listed here. These files are generated using the lcdtrk program. These files should reside in the directory TrackParameters.
The file SimpleTrack provides the ability to define momentum smearing parameters independent of the lcdtrk parameters.
This file contains the fiducial cuts on momentum and angular coverage as well as expected energy resolution terms for the electromagnetic and hadronic calorimeters.
This provides a simple method for simulating the confusion terms in identifying individual particles.
Sampling fractions need to be provided for each calorimeter defined in the detector. Currently there needs to be one file for each calorimeter in the directory SamplingFractions.