Sort program written by Oscar, adapted from the RIKEN AIDA sort.
EDIT 26 Jun 2019 by CB - C++11 dependencies removed for SL6 compatibility
EDIT 28 Jun 2019 by CB - added histogram program mode
1. Untar/unzip
2. Compile with g++ dataReaderMain.cpp -o dataReader
3. Usage ./dataReader MODE pathToFile/File
where MODE is wave to output the waveforms, and histo to output a basic wave amplitude histogram with
semi-gaussian filtering applied on the waves
The output will be printed on standard output.
Use ./dataReader MODE path/ToFile/File > pathToOutput/Output.dat
to save to file.
In wave mode the first few lines are the header. Waveforms are printed bin-by-bin with a newline after every
bin. A blank
line is placed between waveforms. |