|
|
|
Data Taking in the Fast Lane. |
|
Why not join daqlist? |
|
http://mailman.nscl.msu.edu/mailman/listinfo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The Fast Track Introduction to C and C++. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C has no I/O all I/O is done via library
functions (see printf, fopen, fprintf etc. etc.). |
|
C has a rich set of libraries for string
manipulation |
|
C has a rich set of mathematics libraries. |
|
C’s library includes malloc()/free() which
allocate/release memory (return/take pointers). |
|
|
|
|
|
|
|
|
|
|
|
|
|
These modules programmatically are identical. |
|
These modules are actually hardware-wise
identical: |
|
QDC |
|
Personality board e.g. Peak -> charge
converter |
|
Supported in the readout via a CAENcard class |
|
Use them by constructing and manipulating
CAENcard objects. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inheritance and Polymorphism |
|
|
|
|
|
|
|
|
|
|
|
|
Choosing a set of parameters to hold your data. |
|
Writing
an (or a pipeline of) event processors to unpack the raw event into
your parameters. |
|
Writing setup scripts that define the parameters
and spectra gates and their applications. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|