This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
asc:promc:examples [2015/03/20 01:13] asc |
asc:promc:examples [2015/05/10 21:08] (current) asc |
||
---|---|---|---|
Line 332: | Line 332: | ||
===== Reading data using Jython ===== | ===== Reading data using Jython ===== | ||
- | You can make histograms on any platform (Windows/ | + | You can make histograms on any platform (Windows/ |
- | " | + | " |
- | To avoid a clash with the library shipped with Scavis, remove " | + | To avoid a clash with the library shipped with DatMelt, remove " |
<code bash> | <code bash> | ||
rm | rm | ||
</ | </ | ||
- | (in Windows, go to this directory and remove this file) and restart the ScaVis. Then you can write a small Jython script like this: | + | (in Windows, go to this directory and remove this file) and restart the DatMelt. Then you can write a small Jython script like this: |
<code python promc.py> | <code python promc.py> | ||
- | # Reading Pthia8 file in the ProMC format using ScaVis | + | # Reading Pthia8 file in the ProMC format using [[http:// |
# S.Chekanov (ANL) | # S.Chekanov (ANL) | ||
from java.io import * | from java.io import * | ||
Line 348: | Line 348: | ||
from promc.io import * | from promc.io import * | ||
from proto import * # import FileMC | from proto import * # import FileMC | ||
- | from jhplot import * # import | + | from jhplot import * # import |
file = FileMC(" | file = FileMC(" | ||
Line 384: | Line 384: | ||
wget http:// | wget http:// | ||
</ | </ | ||
- | Start SCaVis | + | Start DatMelt |
- | (You can load this file as "scavis.sh promc.py" | + | (You can load this file as "dmelt.sh promc.py" |
Line 465: | Line 465: | ||
- [[https:// | - [[https:// | ||
- | - [[http://atlaswww.hep.anl.gov/asc/WebSVN/filedetails.php? | + | - [[https://github.com/Argonne-National-Laboratory/ProMC/ |
- [[http:// | - [[http:// | ||
+ | - [[https:// | ||
+ | |||
+ | |||
More complex layout files (for example, foe Delphes fast simulation) can be found | More complex layout files (for example, foe Delphes fast simulation) can be found | ||
inside the directory " | inside the directory " |