...
- Current best guess at alignment of SVT
- Plate-and-pipe ECal flange
- ECal as surveyed
Adding a new detector
- ALWAYS create a new detector when you make changes to the geometry
- 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 fileCreate the LCDD file for use in slic: see below
Using GeomConverter to make detector descriptions
Detector conversion can be done from the "detector-data" directory. It is convenient to set the environment variable GEOMCONVERTER to point to the GeomConverter jar:
No Format |
---|
export GEOMCONVERTER=/home/meeg/lcsim_svn/lcsim/detector-framework/target/lcsim-detector-framework-3.0.4-SNAPSHOT-bin.jar
|
Run the GeomConverter in hps-detectors to get lcdd files. (You can also ask for heprep ...):
...
Converting the compact.xml file to LCDD
Instructions for converting the compact.xml file to lcdd can be found at http://www.lcsim.org/sites/lcsim/lcsim-detector-framework/usage.html
Viewing LCDD
The LCDD file can be viewed directly using SLIC:
...