Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
hepsim:dev_fpadsim [2017/09/21 13:55] hepsim17 |
hepsim:dev_fpadsim [2017/09/24 01:54] hepsim17 [Light version of image] |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Simulation with FPadSim ===== | ===== Simulation with FPadSim ===== | ||
- | In many cases, HepSim detector simulations were done using SiD-derived software. | + | In many cases, HepSim detector simulations were done using ILCSOFT-derived software. |
To create full simulations, | To create full simulations, | ||
- | [[hepsim: | + | [[hepsim: |
Many samples posted in HepSim are created with the package called " | Many samples posted in HepSim are created with the package called " | ||
- | The contributed authors of this package since 2015 are: | + | ) |
- | + | ||
- | * D.Blyth (HEP/ANL) | + | |
- | * J.MacCormick (SLAC) | + | |
- | * W.Armstrong | + | |
- | * S.Chekanov (HEP/ANL) | + | |
- | * A.Kotwal (Duke) | + | |
- | * J.Strube (PNNL) | + | |
- | * J.Marshall (U.Cambridge) | + | |
Line 37: | Line 28: | ||
of the reconstruction is PandoraPFA (J.Marshall, | of the reconstruction is PandoraPFA (J.Marshall, | ||
+ | ====== Simulations with FPadSim ====== | ||
- | To create LCIO files with full simulations and reconstruction, you need: | + | To process truth-level events |
- | * ProMC file from HepSim | + | * Tag file with detector description. The concept of tag files is described in Sect.[[hepsim: |
- | * Simulation and Reconstruction package called " | + | * Singularity image with pre-built libraries to process a given tag file |
- | * Tag file which includes detector and the simulation and reconstruction sequence. | + | |
- | The fpadsim package is located [[http:// | + | The tag files should be processed with the simulation and reconstruction chain described above. |
- | The tag files are also located | + | This can be done by using [[http://singularity.lbl.gov/|Singularity]] that enables users to have full control of their environment. Install singularity (version 2.3.1 and above) and download |
- | After untaring the file fpadsim.tgz, untar the file " | + | FPadSim software. |
- | There is a simple script " | + | |
- | Note that the version of fpadsim is defined inside | + | |
+ | Here is the download link [[http:// | ||
+ | The image includes basic CentOS7 environment, | ||
+ | converters. | ||
+ | <code bash> | ||
+ | wget http:// | ||
+ | singularity | ||
+ | </ | ||
+ | After the last line, the environment should be ready. For example, type "slic -h". It shows the available commands. | ||
+ | You can also use the commands such as: | ||
- | ====== Changes in compact.xml ====== | + | <code bash> |
+ | promc2lcio | ||
+ | promc2stdhep # convert ProMC file to STDHEP | ||
+ | </ | ||
+ | and many other. | ||
+ | Now you can process the tag file: | ||
- | If you want to make changes in the detector design, edit " | ||
<code bash> | <code bash> | ||
- | JAVA_OPTS=" | + | wget http://atlaswww.hep.anl.gov/ |
- | GCONVERTER=lcsim/detector-framework/target/ | + | tar -zvxf rfull102.tgz |
- | GEOM=" | + | cd ilcsoft/ |
- | java $JAVA_OPTS -jar $GCONVERTER -o lcdd compact.xml $GEOM.lcdd | + | ./TEST.sh # runs simple a test with single particles |
- | slic -g ${GEOM}.lcdd -G ${GEOM}.gdml | + | |
- | 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 " | + | The final file after pandoraPFA reconstruction with the name *hepsim.slcio" |
+ | Other files after simulation and track reconstruction steps will be located inside " | ||
- | <code cpp> | + | To process other promc files, download the required promc files and edit the file Test.sh |
- | 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 " | + | ====== Singularity image ====== |
- | In particular, it reads: | + | |
- | * mipEnergy | + | The singularity [[http:// |
- | * mipSigma | + | is created using CentOS7 using singularity version 2.3.1. It has the basic linux commands, vim editor and |
- | * mipCut | + | all the required packages. |
- | * timeCut | + | |
- | The sampling fractions are taken from the detector | + | Look inside |
- | Here files look as this: | + | |
- | < | + | < |
- | BeamCal.properties* | + | sudo singularity shell --contain --writable centos7hepsim.img |
- | EcalBarrel.properties* | + | |
- | EcalEndcap.properties* | + | |
- | HcalBarrel.properties* | + | |
- | HcalEndcap.properties* | + | |
- | LumiCal.properties* | + | |
- | MuonBarrel.properties* | + | |
- | MuonEndcap.properties* | + | |
- | README* | + | |
</ | </ | ||
+ | |||
+ | and check the directory "/ | ||
+ | Here are a few useful commands: | ||
- | + | < | |
- | Look at the file: | + | sudo singularity shell --contain --writable centos7hepsim.img # open to make changes |
- | < | + | singularity expand centos7hepsim.img |
- | lcsim/ | + | singularity copy |
</ | </ | ||
+ | ===== Light version of image===== | ||
+ | |||
+ | David Blyth created a much lighter version of FPadSim image for EIC work described in Sec.[[fcs: | ||
+ | |||
+ | |||
+ | ====== Contributions ====== | ||
+ | |||
+ | The contributed authors of this package since 2015 are: | ||
+ | |||
+ | * D.Blyth (HEP/ANL) | ||
+ | * J.MacCormick (SLAC) | ||
+ | * W.Armstrong | ||
+ | * S.Chekanov (HEP/ANL) | ||
+ | * A.Kotwal (Duke) | ||
+ | * J.Strube (PNNL) | ||
+ | * J.Marshall (U.Cambridge | ||
--- // | --- // |