Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hepsim:files [2018/08/01 11:15] hepsim17 [ProMC file format] |
hepsim:files [2018/08/30 01:07] (current) hepsim17 |
||
---|---|---|---|
Line 11: | Line 11: | ||
It's efficient format for events with large number of particles. | It's efficient format for events with large number of particles. | ||
The file sizes for EVGEN files are typically 30% smaller than for traditional ROOT files (with fixed bytes for floats and integers). | The file sizes for EVGEN files are typically 30% smaller than for traditional ROOT files (with fixed bytes for floats and integers). | ||
- | The file format is self-describing. | + | The file format is self-describing. Suported by C++, Java/Jython (read/ |
<fc #000080> | <fc #000080> | ||
Supported by: </ | Supported by: </ | ||
+ | |||
===== ProIO file format ===== | ===== ProIO file format ===== | ||
- | [[https:// | + | [[https:// |
It is more efficient file format than ProMC when the number of events in the files larger than 64k, | It is more efficient file format than ProMC when the number of events in the files larger than 64k, | ||
- | and when number of particles in files is not large. For Monte Carlo records, the files created by ProIO are about 10-20% smaller in size than those from ProMC. ProIO files can be used with C++, Python, Java/ | + | and when number of particles in files is not large (<100). For the latter |
+ | |||
+ | For pp collision events with large number of particles, ProMC and ProIO have same file sizes when | ||
+ | ProIO use mc.proto files with VarintPackedParticles messages (arrays with 4-momenta converted to varints). | ||
+ | See some tests in http:// | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
<fc #000080> | <fc #000080> |