This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
community:hepsim:dev_full [2016/04/28 18:41] asc |
community:hepsim:dev_full [2016/10/18 15:50] asc [How to make changes in compact.xml] |
||
---|---|---|---|
Line 2: | Line 2: | ||
====== Creating full detector simulations ====== | ====== Creating full detector simulations ====== | ||
+ | |||
+ | To create full simulations, | ||
+ | [[community: | ||
+ | |||
UNDER CONSTRUCTION | UNDER CONSTRUCTION | ||
+ | |||
+ | |||
+ | ====== How to make changes in compact.xml ====== | ||
+ | |||
+ | If you want to make changes in the detector design, edit " | ||
+ | <code bash> | ||
+ | JAVA_OPTS=" | ||
+ | GCONVERTER=lcsim/ | ||
+ | GEOM=" | ||
+ | java $JAVA_OPTS -jar $GCONVERTER -o lcdd compact.xml $GEOM.lcdd | ||
+ | slic -g ${GEOM}.lcdd | ||
+ | echo " | ||
+ | java $JAVA_OPTS -jar $GCONVERTER -o heprep compact.xml $GEOM.heprep | ||
+ | echo " | ||
+ | java $JAVA_OPTS -jar $GCONVERTER -o pandora compact.xml $GEOM.pandora | ||
+ | java $JAVA_OPTS -jar $GCONVERTER -o html compact.xml ${GEOM}.html | ||
+ | </ | ||
+ | where " | ||
+ | |||
+ | <code cpp> | ||
+ | TGeoManager:: | ||
+ | gGeoManager-> | ||
+ | gGeoManager-> | ||
+ | gGeoManager-> | ||
+ | gGeoManager-> | ||
+ | gGeoManager-> | ||
+ | </ | ||
+ | If you see that some volumes overlap, come back to " | ||
+ | |||
+ | --- // | ||
+ | ====== Pandora PFA ====== | ||
+ | |||
+ | All information required by Pandora algorithm is stored in the file with the extension " | ||
+ | In particular, it reads: | ||
+ | |||
+ | * mipEnergy | ||
+ | * mipSigma | ||
+ | * mipCut | ||
+ | * timeCut | ||
+ | |||
+ | The sampling fractions are taken from the detector | ||
+ | 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/ | ||
+ | </ |