User Tools

Site Tools


community:hepsim:dev_full

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
community:hepsim:dev_full [2016/10/18 15:02]
asc [Pandora PFA]
community:hepsim:dev_full [2016/10/18 15:47]
asc
Line 8: Line 8:
  
 UNDER CONSTRUCTION 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:
 +<code bash>
 +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
 +</code>
 +where "${GEOM}" is the name of the detector geometry. 
  
  
community/hepsim/dev_full.txt ยท Last modified: 2016/10/18 15:50 by asc