https://github.com/argonne-national-laboratory/promc
Next generation input-output file format
https://github.com/argonne-national-laboratory/promc
Last synced: about 1 month ago
JSON representation
Next generation input-output file format
- Host: GitHub
- URL: https://github.com/argonne-national-laboratory/promc
- Owner: Argonne-National-Laboratory
- License: lgpl-3.0
- Created: 2015-03-20T00:26:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-08-29T14:10:03.000Z (over 7 years ago)
- Last Synced: 2023-10-20T17:22:23.107Z (over 1 year ago)
- Language: C++
- Size: 23.8 MB
- Stars: 4
- Watchers: 13
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.txt
- License: COPYING
Awesome Lists containing this project
README
# ProMC
Next generation input-output file format for particle experimentsProMC is a library for file input and output of Monte Carlo event records or any HEP structural data. The main features are:
- Content-dependent compression. Event records are encoded using Google protocol buffers with variable number of bytes ("varints").
This leads to 30% (and more) smaller file sizes compared to any known compression based on a fixed-length representation of numeric information.
- Multiplatform. Data records can be read and can be written natively in C++, Java and Python.
- Self-describing data format. Analysis source codes can be generated from ProMC files with unknown data layouts.
- Forwards-compatible and backwards-compatible binary wire format.
- Random access. Events can be read starting at any index.
- Fast. No CPU overhead on decompression of events
- Simplicity. No external dependence. The library is small and self-contained. The library has been deployed on BlueGene/Q.Description
The description of the file format is given in these two articles:- S.Chekanov, E.May, K.Strand, P. Van Gemmeren,
ProMC: Input-output data format for HEP applications using varint encoding,
ANL-HEP-PR-13-41, arXiv:1311.1229, Computer Physics Communications 185 (2014), pp. 2629-2635- S.Chekanov, “Next generation input-output data format for HEP using Google protocol buffers”,
ANL-HEP-CP-13-32, Snowmass 2013 Proceedings. arxiv.org:1306.6675Read the manual: https://atlaswww.hep.anl.gov/asc/wikidoc/doku.php?id=asc:promc
How to install
1) Compile:
./build.sh2) Install libraries and include files to a
given directory (must have permissions!):
./install.sh [promc_dir] [hepmc_dir](the location of HEPMC libraries are optional)
3) Setup the ProMC as:
source [promc_dir]/setup.sh
Uninstall
./uninstall.sh
Clear the build directory:
./clear.sh
Examples:
========
Look at the examples in $PROMC/examples directoryS.Chekanov (ANL), E.May (ANL), P. Van Gemmeren (ANL)
October 2014