This is a C++ library for parsing binary files generated by the WaveDump software for CAEN digitizers.
This software is intended to provide a simple C++ interface to work with WaveDump's binary data files. It allows user to extract, store and analyse primary information about each event recorded in the binary file:
- Header of a binary file (see WaveDump documentation) (log in required)
- Data points
- Time step between two consecutive data points (sample time)
- ... (for the full list of abilities see the documentation)
Moreover, this software can be easily ''extended''
by user in the following sense. Each event consisting of data points (or a waveform) and
some additional info is represented by and accessible through the Event
class (described in the documentation).
This allows user to write his/her own functions to perform any kind of analysis on an event
using only Event
object which stores a given event.
This library is not an official CAEN software. Don't use it with ASCII data files produced by the WaveDump software.
- gcc >= 4.7
- ROOT 6
- Boost Filesystem Library
For the installation process see the documentation (Sec. Installation)
For the usage see the documentation (Sec. Usage)
The documentation is available here
Report bugs or suggest to paradox1859@gmail.com
- Add a user-independent algorithm to calculate the baseline
- Create a class to draw waveforms
- Add a real example of using
CaenTreeCreator
As a test you can see the plot of a single signal from the PMT with NaI:Tl crystal on the input
window with Cs137 gamma-source (left image, the code is available
here: example/ROOT/draw/
) and integral spectrum of those signals (right image, the code for TTree
creation is available here: example/ROOT/create_tree/
):