Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hepsim:dev_fpadsim [2017/09/24 01:52]
hepsim17 [Contributions]
hepsim:dev_fpadsim [2017/09/24 22:52] (current)
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:dev_tags]]. You can find all submitted tag files in [[http://atlaswww.hep.anl.gov/hepsim/recotags.php|tag file catalog]] +  * A tag file with the detector description. The concept of tag files is described in Sect.[[hepsim:dev_tags]]. You can find all submitted tag files in [[http://atlaswww.hep.anl.gov/hepsim/recotags.php|tag file catalog]] 
-  * Singularity image with pre-built libraries to process a given tag file+  * Singularity  container with pre-built libraries to process a given tag file
  
 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://singularity.lbl.gov/|Singularity]] that enables users to have full control of their environment. Install singularity (version 2.3.1 and above) and download the CentOS7 HEPSIM image with the  +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 the CentOS7 HEPSIM image with the  FPadSim software.
-FPadSim software.+
  
-Here is the download link [[http://atlaswww.hep.anl.gov/hepsim/centos7hepsim.img|centos7hepsim.img]] (>5 GB). +Here is the download link [[http://atlaswww.hep.anl.gov/hepsim/soft/centos7hepsim.img|centos7hepsim.img]] (>5 GB). 
-The image includes basic CentOS7 environment, and programs such as SLIC, LCSIM, slicPandora, ProMC, Jas4PP and various +The image includes basic CentOS7 environment, and programs such as SLIC, LCSIM, slicPandora, ProMC, Jas4PP, ROOT, PYTHIA8, LHAPDF  and various converters.
-converters.+
  
 <code bash> <code bash>
-wget http://atlaswww.hep.anl.gov/hepsim/centos7hepsim.img # get the singularity image +wget http://atlaswww.hep.anl.gov/hepsim/soft/centos7hepsim.img # get the singularity image 
-singularity  exec centos7hepsim.img  bash -l              # setup fpadsim+singularity  exec centos7hepsim.img  bash -l                   # setup fpadsim
 </code> </code>
-After the last line, the environment should be ready. For example, type "slic -h". It shows the available commands+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: +
- +
-<code bash> +
-promc2lcio   # convert ProMC file to LCIO +
-promc2stdhep # convert ProMC file to STDHEP +
-</code> +
-and many other.+
  
 Now you can process the tag file: Now you can process the tag file:
Line 69: Line 60:
 To process other promc files, download the required promc files and edit the file Test.sh To process other promc files, download the required promc files and edit the file Test.sh
  
-====== Singularity image ======+More information about how to use HepSim container can be found in Section [[hepsim:dev_singularity|HepSim singularity container]].
  
-The singularity [[http://atlaswww.hep.anl.gov/hepsim/centos7hepsim.img|centos7hepsim.img]] image +===== Light version of FPadSim image=====
-is created using CentOS7 using singularity version 2.3.1. It has the basic linux commands, vim editor and +
-all the required packages. +
- +
-Look inside this image as: +
- +
-<code bash> +
-sudo singularity shell --contain --writable centos7hepsim.img +
-</code> +
-  +
-and check the directory "/home/hepsim". It includes the script "hepsim.sh" which setups the environment. +
-Here are a few useful commands: +
- +
-<code bash> +
-sudo singularity shell --contain --writable centos7hepsim.img # open to make changes +
-singularity expand centos7hepsim.img                          # expand the image +750 MB +
-singularity copy   centos7hepsim.img  -pr test  /home/hepsim/ # copy directory "test" from host computer +
-</code> +
-===== Light version of image=====+
  
-David Blyth created a much lighter version of FPadSim image for EIC work described in Sec.[[fcs:eic:singularity]]. It is based on arch linux, and does not contain the usual Linux enviroment included inside centos7hepsim image.+David Blyth created a much lighter version of FPadSim image for EIC work described in Sec.[[fcs:eic:singularity|singularity image for EIC]]. It is based on Arch Linux, and does not contain the usual Linux environment included inside centos7hepsim image.
  
  
Line 104: Line 77:
   * A.Kotwal (Duke)   * A.Kotwal (Duke)
   * J.Strube (PNNL)   * J.Strube (PNNL)
-  * J.Marshall (U.Cambridge+  * J.Marshall (U.Cambridge)
  
  --- //[[[email protected]|Sergei Chekanov]] 2017/04/12 21:58//  --- //[[[email protected]|Sergei Chekanov]] 2017/04/12 21:58//