This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
asc:promc:examples [2014/11/29 21:29] asc |
asc:promc:examples [2015/03/20 01:16] asc [Default data layouts] |
||
---|---|---|---|
Line 6: | Line 6: | ||
(written by S.Chekanov, ANL) | (written by S.Chekanov, ANL) | ||
- | ProMC files are compact and self-describing binary files, typically 30-50% smaller than ROOT files or gzipped HEPMC files due to the use of a variable-byte encoding (small numbers use smaller number of bytes). Look at the examples below which show how to write,read, browser and convert HEPMC files | + | ProMC files are compact and self-describing binary files, typically 30-50% smaller than ROOT files or gzipped HEPMC files due to the use of a variable-byte encoding (small numbers use smaller number of bytes). They can be processed in C++, Java, Python and other languages. Look at the examples below which show how to write,read, browser and convert HEPMC files |
to ProMC files. More information is in the [[asc: | to ProMC files. More information is in the [[asc: | ||
Line 33: | Line 33: | ||
Look at the Python examples discussed bellow how to use a random access via the network. | Look at the Python examples discussed bellow how to use a random access via the network. | ||
+ | |||
+ | Note that the browser can open ProMC files of any size, since it loads only a fraction of data. This is especially useful compared to limitations | ||
+ | of some formats that cannot be viewed in text editors if their sizes are too large. | ||
Line 239: | Line 242: | ||
</ | </ | ||
- | An example program which fills ProMC file record is given here | + | An example program which fills ProMC file record is given in |
- | [[http://atlaswww.hep.anl.gov/asc/WebSVN/ | + | [[https://github.com/Argonne-National-Laboratory/ProMC/blob/master/examples/pythia/|Pythia8 to ProMC example]] |
Line 461: | Line 464: | ||
- | - [[http://atlaswww.hep.anl.gov/asc/WebSVN/filedetails.php? | + | - [[https://github.com/ |
- | - [[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 " |