Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hepsim:dev_fpadsim [2017/09/24 01:08] hepsim17 [Singularity image] |
hepsim:dev_fpadsim [2017/09/24 22:52] hepsim17 [Simulations with FPadSim] |
||
---|---|---|---|
Line 32: | Line 32: | ||
To process truth-level events with FpadSim, you need a few things: | To process truth-level events with FpadSim, you need a few things: | ||
- | * Tag file with detector description. The concept of tag files is described in Sect.[[hepsim: | + | * A tag file with the detector description. The concept of tag files is described in Sect.[[hepsim: |
- | * Singularity | + | * Singularity |
The tag files should be processed with the simulation and reconstruction chain described above. | The tag files should be processed with the simulation and reconstruction chain described above. | ||
- | This can be done by using [[http:// | + | This can be done by using [[http:// |
- | Here is the download link [[http:// | + | Here is the download link [[http:// |
- | The image includes basic CentOS7 environment, | + | The image includes basic CentOS7 environment, |
- | converters. | + | |
<code bash> | <code bash> | ||
- | wget http:// | + | wget http:// |
- | singularity | + | singularity |
</ | </ | ||
- | After the last line, the environment should be ready. | + | After the last line, the environment should be ready. For example, type "slic -h". It shows the available commands. |
- | + | ||
- | + | ||
- | For example, type "slic -h". It shows the available commands. | + | |
- | You should also use the commands such as: | + | |
- | + | ||
- | <code bash> | + | |
- | promc2lcio | + | |
- | promc2stdhep | + | |
- | </ | + | |
- | and many other. | + | |
Now you can process the tag file: | Now you can process the tag file: | ||
Line 69: | Line 58: | ||
Other files after simulation and track reconstruction steps will be located inside " | Other files after simulation and track reconstruction steps will be located inside " | ||
- | To process other promc files, edit the file Test.sh. | + | To process other promc files, |
+ | More information about how to use HepSim container can be found in Section [[hepsim: | ||
- | ====== Singularity | + | ===== Light version of FPadSim |
- | The singularity | + | David Blyth created a much lighter version of FPadSim image for EIC work described in Sec.[[fcs:eic: |
- | is created using CentOS7 using singularity version 2.3.1. It has the basic linux commands, vim editor | + | |
- | all the required packages. | + | |
- | Look inside this image as: | ||
- | <code bash> | ||
- | sudo singularity shell --contain --writable centos7hepsim.img | ||
- | </ | ||
- | |||
- | and check the directory "/ | ||
- | Here are a few useful commands: | ||
- | |||
- | <code bash> | ||
- | sudo singularity shell --contain --writable centos7hepsim.img # open to make changes | ||
- | singularity expand centos7hepsim.img | ||
- | singularity copy | ||
- | </ | ||
====== Contributions ====== | ====== Contributions ====== | ||
Line 102: | Line 77: | ||
* A.Kotwal (Duke) | * A.Kotwal (Duke) | ||
* J.Strube (PNNL) | * J.Strube (PNNL) | ||
- | * J.Marshall (U.Cambridge | + | * J.Marshall (U.Cambridge) |
--- // | --- // |