CMake is supported as of analyzer 1.7. For the CMake scripts to work with the moller_analyzer,
the analyzer must have been built and installed with CMake as well so that certain
configuration scripts have been generated.
Be sure that $ANALYZER is set correctly to point to the analyzer-1.7.15 (and above version)
installation directory.
As usual, CMake expects code to be built out of source in a separate build directory.
cmake -B build -S . run CMake again, pointing it to the build directory just created:
cmake --build build [--clean-first] [-jN]where, as usual, you can add the optional -j argument for a parallel build
on N CPUs. Cleaning the build directory with the --clean-first option
should rarely be necessary.
Here is a list of tree variables:
{ "chan", "Channel number", "fEventData.fChannel" },
{ "nhit", "Number of hits", "fEventData.fNHits" },
{ "ped", "Pedestal", "fEventData.fPedestal" },
{ "pedq", "Pedestal Quality", "fEventData.fPedq" },
{ "nsamples", "number of ADC raw samples", "fNumSamples" },
{ "samples_c","ADC raw samples channel number", "fSamples_c" },
{ "samples", "ADC raw samples", "fSamples" },
{ "adc_chan", "Hit channel number", "fPulseData.fChannel" },
{ "adc", "Pulse integral", "fPulseData.fRawADC" },
{ "adc_c", "Calibrated Pulse integral", "fPulseData.fCalADC" },
{ "adc_p", "Pulse peak", "fPulseData.fPeak" },
{ "adc_t", "Pulse time", "fPulseData.fT" },
{ "adc_o", "Pulse overflow bit", "fPulseData.fOverflow" },
{ "adc_u", "Pulse underflow bit", "fPulseData.fUnderflow" },