User Tools

Site Tools


community:hepsim:dev_full

This is an old revision of the document!


<< back to HepSim manual

Creating full detector simulations

To create full simulations, you will need to convert ProMC files to LCIO files. This is described in converting_to_lcio

UNDER CONSTRUCTION

How to make changes in compact.xml

If you want to make changes in the detector design, edit “compact.xml”, and then run the converters:

JAVA_OPTS="-Xms2048m -Xmx2048m"
GCONVERTER=lcsim/detector-framework/target/lcsim-detector-framework-3.1.6-SNAPSHOT-bin.jar
GEOM="mydetector" # name of your detector
java $JAVA_OPTS -jar $GCONVERTER -o lcdd compact.xml $GEOM.lcdd
slic -g ${GEOM}.lcdd  -G ${GEOM}.gdml
echo "heprep compact.xml.."
java $JAVA_OPTS -jar $GCONVERTER -o heprep compact.xml $GEOM.heprep
echo "pandora compact.xml.."
java $JAVA_OPTS -jar $GCONVERTER -o pandora compact.xml $GEOM.pandora
java $JAVA_OPTS -jar $GCONVERTER -o html compact.xml ${GEOM}.html

where “${GEOM}” is the name of the detector geometry.

Pandora PFA

All information required by Pandora algorithm is stored in the file with the extension “.pandora”. This file is created using GeoConvertor, which reads CalorimeterCalibration.properties file. In particular, it reads:

  • mipEnergy
  • mipSigma
  • mipCut
  • timeCut

The sampling fractions are taken from the detector directory called “SamplingFractions”. Here files look as this:

BeamCal.properties*
EcalBarrel.properties*
EcalEndcap.properties*
HcalBarrel.properties*
HcalEndcap.properties*
LumiCal.properties*
MuonBarrel.properties*
MuonEndcap.properties*
README*

Look at the file:

lcsim/detector-framework/src/main/java/org/lcsim/geometry/compact/converter/pandora/Main.java
community/hepsim/dev_full.1476805645.txt.gz · Last modified: 2016/10/18 15:47 by asc