Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Each geometry is a subdirectory of hps-detectors/detectors, and must contain the following:

  • compact.xml: defines the geometry in terms of detector modules, each of which corresponds to classes in GeomConverter - used by GeomConverter and LCSim
  • detector.properties: other (non-geometry) detector parameters
  • SamplingFractions: sampling fractions for each calorimeter
  • LCDD file for the geometry: generated from the compact.xml - used by SLIC

Adding a new detector

  • make a subdirectory of hps-detectors/detectors; name of the subdirectory is the name of the detector
  • add name of the detector to detectors/taglist.txt
  • copy from another detector: compact.xml, detector.properties, SamplingFractions
  • in compact.xml: change name and comment in <info> block
  • in detector.properties: change name, change ConditionsReader if necessary (TestRunConditionsReader for 2012 test run, HpsConditionsReader for 2014 run) - both of these lines are required
  • use GeomConverter to make LCDD file: see below

...