Search/Navigation:
Related:
SLAC/EPP
/HPS Public
Jefferson Lab/Hall B
/HPS Run Wiki
S30XL-LESA/LDMX
...
For production development, the latest up-to-date conversion code using the core lcsim detector-framework package should always be used.
Instructions for converting the compact.xml file to lcdd can be found at http://www.lcsim.org/sites/lcsim/lcsim-detector-framework/usage.html
For testing, one can also use the HPS jar files, as they have the lcsim packages embedded.
...
Note that in these examples 3.4.0-SNAPSHOT will need to be appropriately modified.
The following will bring up a GUI, allowing the user to browse input, output and conversion type
...
.
...
The following will directly create the lcdd file:
No Format |
---|
java -cp distribution/target/hps-distribution-3.4.0-SNAPSHOT-bin.jar org.lcsimhps.geometry.compact.converter.Maindetector.DetectorConverter -of lcdd -i compact.xml -o detectorName.lcdd |
...
Info |
---|
Note that it is easiest to run this command from the HPS detector-data directory, as the gdml directory, needed by most recent detectors, will be found automatically. You also need to specify the run number using -r <runNumber> to have the detector added to the conditions database
|
The LCDD file can be viewed directly using SLIC:
...