Versions Compared

Key

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

...

SLIC crashes on approximately 1 in a billion events. This bug is believed to be resolved in v7.

HPS-EngRun2015-Nominal-v3

Engineering run geometry with surveyed SVT and ECAL.  Identical to HPS-EngRun2015-Nominal-v2, except:

  • Top ECAL shifted up by 2.7 mm
  • Bottom ECAL shifted down by 0.9 mm

HPS-EngRun2015-[SVTPosition]-v2 

Engineering run geometry with surveyed SVT. 

...

  • 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
  • Create the LCDD file for use in slic: see below

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

For testing, one can also use the HPS jar files, as they have the lcsim packages embedded.

To do so, one needs to set the classpath and run the converter class from the trunk of the HPS installation

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

No Format
java -cp distribution/target/hps-distribution-3.4.0-SNAPSHOT-bin.jar org.lcsim.geometry.compact.converter.Main

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

 


Viewing LCDD

The LCDD file can be viewed directly using SLIC:

...