User Tools

Site Tools


community:hepsim:usage_truth

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
community:hepsim:usage_truth [2016/04/28 18:18]
asc [Programming with HepSim]
community:hepsim:usage_truth [2016/11/04 19:23] (current)
asc [Converting to LCIO]
Line 331: Line 331:
 </code> </code>
  
 +====== Converting to LCIO ======
  
 +ProMC files can be converted to LCIO files for full detector simulations.  This is an example of such conversion (it requires Java installed):
 +
 +<code bash>
 +wget http://atlaswww.hep.anl.gov/asc/promc/download/current.php -O ProMC.tgz
 +tar -zvxf ProMC.tgz
 +cd examples/promc2lcio
 +source setup.sh
 +javac promc2lcio.java
 +java promc2lcio file.promc file.slcio
 +</code>
 +The last commends creates  file.slcio with "MCparticle" container. 
 +
 +
 +====== Converting to other formats ======
 +Look at other directories in "examples/". You can convert ProMC files to many other formats (most converters require  installation of the ProMC C++ package).
 ====== Extracting events  ====== ====== Extracting events  ======
  
community/hepsim/usage_truth.1461867505.txt.gz ยท Last modified: 2016/04/28 18:18 by asc