Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hepsim:dev_full [2017/08/30 12:41] hepsim17 |
hepsim:dev_full [2017/09/21 19:18] hepsim17 |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
[[: | [[: | ||
- | ===== Detector simulation with FPadSim | + | ===== Creating LCIO files ===== |
- | In many cases, HepSim detector simulations were done using SiD-derived software. | + | In many cases, HepSim detector simulations were done using ILCSOFT-derived software, such as those used for ILC, CLIC, etc. experiments. |
- | To create full simulations, | + | To perform Geant4 |
- | [[hepsim:usage_truth# | + | |
- | Many samples posted in HepSim are created with the package called " | + | <code bash> |
- | The contributed authors of this package since 2015 are: | + | wget http:// |
+ | tar -zvxf promc_convert.tgz | ||
+ | cd promc_convert | ||
+ | ./ | ||
+ | ./ | ||
+ | </ | ||
- | * D.Blyth (HEP/ANL) | + | You can convert all files in a directory with ProMC files as: |
- | * J.MacCormick (SLAC) | + | |
- | * W.Armstrong | + | |
- | * S.Chekanov (HEP/ANL) | + | |
- | * A.Kotwal (Duke) | + | |
- | * J.Strube (PNNL) | + | |
- | * J.Marshall (U.Cambridge) | + | |
- | |||
- | The package includes packages from ilcsoft, such as SLIC, PandoraPFA, and LCSIM | ||
- | The simulation and reconstruction proceeds as: SLIC-> | ||
- | This digram shows the entire chain: | ||
- | |||
- | {{: | ||
- | |||
- | |||
- | The input for SLIC are LCIO files with truth-level information (" | ||
- | are created from ProMC files using the converter promc2lcio (included inside | ||
- | the ProMC packages, in the directory " | ||
- | This concept originates from the SiD detector(T.Johnson, | ||
- | and later was re-purposed to be used for generic feature detectors, including | ||
- | proton pp colliders (S.Chekanov, | ||
- | of the reconstruction is PandoraPFA (J.Marshall, | ||
- | |||
- | |||
- | To create LCIO files with full simulations and reconstruction, | ||
- | |||
- | * ProMC file from HepSim | ||
- | * Simulation and Reconstruction package called " | ||
- | * Tag file which includes detector and the simulation and reconstruction sequence. | ||
- | |||
- | The fpadsim package is located [[http:// | ||
- | The tag files are also located [[http:// | ||
- | After untaring the file fpadsim.tgz, | ||
- | There is a simple script " | ||
- | Note that the version of fpadsim is defined inside the script A_RUN used to create reconstructed events. | ||
- | |||
- | |||
- | |||
- | ====== Changes in compact.xml ====== | ||
- | |||
- | |||
- | If you want to make changes in the detector design, edit " | ||
<code bash> | <code bash> | ||
- | JAVA_OPTS=" | + | ./batchconverter stdhep [DIR with ProMC files] |
- | GCONVERTER=lcsim/detector-framework/ | + | ./ |
- | 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 | + | Files in the LCIO or STDHEP formats can be used as input for DD4HEP or SLIC simulation packages. |
- | * mipSigma | + | |
- | * mipCut | + | |
- | * timeCut | + | |
- | The sampling fractions are taken from the detector | + | Many samples of HepSim were created with a dedicated FPadSim package. See [[hepsim:dev_fpadsim|FPadSim section]]. |
- | 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/ | + | |
- | </ | + | |
--- // | --- // |