15 #include "GBaseFunctions.hh"
16 #include "GLogMessage.hh"
24 #include "RRealSampleFFT.hh"
31 #include <xercesc/util/PlatformUtils.hpp>
32 #include <xercesc/sax/HandlerBase.hpp>
33 #include <xercesc/parsers/XercesDOMParser.hpp>
34 #include <xercesc/dom/DOM.hpp>
35 #include <xercesc/util/XMLString.hpp>
37 using namespace xercesc;
45 #define GET_SWAP_BYTES(a,b) { byte __tmp = a; a = b; b = __tmp; }
54 #define GET_FILE_ERROR 1
57 #define GET_FRAME_ERROR 3
60 #define GET_FRAME_WARN -2
244 inhibitTriggerFunction,
248 enum CSAGain { csa10pC, csa120fC, csa1pC, csa240fC };
267 peaking334, peaking383, peaking502, peaking541,
268 peaking568, peaking632, peaking721, peaking760,
269 peaking831, peaking870, peaking976, peaking1014 };
273 testModeFunctionality,
284 enum Vicm { vicm125V, vicm135V, vicm155V, vicm165V };
static const u_int CoBoCorrectEvents
all options for corrections when reading events
Definition: GETCommon.hh:209
static const u_int MergedIncompleteSkip
Skip events with incomplete merged frames.
Definition: GETCommon.hh:213
static const u_short signalOut
Output (experimental data) signal sample.
Definition: GETCommon.hh:104
static const u_int RCoBoCorrectFPN
When reading experimental data, correct with average FPN (only for signal channels) ...
Definition: GETCommon.hh:177
static const u_short signalRec
Reconstructed signal sample.
Definition: GETCommon.hh:107
PeakingTime
Defines the peaking time values identifiers.
Definition: GETCommon.hh:266
Vicm
Defines the Vicm values identifiers.
Definition: GETCommon.hh:284
static const u_short dataMaxSignal
Maximum value of signal data.
Definition: GETCommon.hh:115
TRandom3 GETRandom
Random numbers generator.
Definition: GETObject.cpp:12
static const u_int RCoBoDataNCorrection
When reading experimental data, correct for last sample artefact.
Definition: GETCommon.hh:163
static const u_short timingCFD
Channel timing from CFD algorithm.
Definition: GETCommon.hh:151
static const u_int CoBoCorrectFPN1
When reading experimental data, correct with closer FPN channel (only for signal channels) ...
Definition: GETCommon.hh:189
static const u_short timingMaxSignal
Channel timing from maximum amplitude.
Definition: GETCommon.hh:148
static const u_short modeData
The samples are filled from an experimental data file (in channel output sample)
Definition: GETCommon.hh:87
TestModeSelection
Defines the test mode selection identifiers.
Definition: GETCommon.hh:272
static const u_int CoBoCorrectFPN4
When reading experimental data, correct with average FPN (only for signal channels) ...
Definition: GETCommon.hh:195
TestModeRange
Defines the test mode capacitors values identifiers.
Definition: GETCommon.hh:263
ReadingMode
Defines the reading modes identifiers.
Definition: GETCommon.hh:251
CSAGain
Defines the CSA gain identifiers.
Definition: GETCommon.hh:248
static const u_short dataIntegral
Maximum integral of signal data.
Definition: GETCommon.hh:118
static const u_int CoBoZeroSuppress
Definition: GETCommon.hh:205
static const u_int RCoBoCorrectFPN4
When reading experimental data, correct with average FPN (only for signal channels) ...
Definition: GETCommon.hh:175
static const u_int RCoBoCorrectLC2
When reading experimental data, correct for last cell read of AGet number 2.
Definition: GETCommon.hh:166
static const u_short amplitudeLocalAvg
Channel amplitude calculation mode: average around maximum signal time bucket.
Definition: GETCommon.hh:142
RRealSampleFFT GETSample
Define the data type for samples.
Definition: GETCommon.hh:27
static const u_int RCoBoCorrectFPN2
When reading experimental data, correct with 2 half chip FPN channels average (only for signal channe...
Definition: GETCommon.hh:172
static const u_short signalUndef
Undefined signal sample.
Definition: GETCommon.hh:98
static const u_short modeSimul
The samples are filled from an experimental data file (in channel output sample)
Definition: GETCommon.hh:90
static const u_short dataFullSignal
Full signal data (for 3D)
Definition: GETCommon.hh:121
TriggerInhibit
Defines the trigger inhibit identifiers.
Definition: GETCommon.hh:242
static const u_int filterNormalize
Normalize filter to conserve signal integral.
Definition: GETCommon.hh:226
static const u_int CoBoCorrectFPN2
When reading experimental data, correct with 2 half chip FPN channels average (only for signal channe...
Definition: GETCommon.hh:192
static const u_int RCoBoData0Correction
When reading experimental data, correct for sample 0 artefact.
Definition: GETCommon.hh:160
static const u_short signalTst
Test input (simulation) signal sample.
Definition: GETCommon.hh:101
static const u_short amplitudeLocalFitP2
Channel amplitude calculation mode: quadratic fit around maximum signal time bucket.
Definition: GETCommon.hh:145
static const u_short modeUndefined
The samples are filled from an experimental data file (in channel output sample)
Definition: GETCommon.hh:84
static const u_short dataTime
Time of maximum value of signal data.
Definition: GETCommon.hh:124
static const u_int CoBoCorrectFPN
When reading experimental data, correct with average FPN (only for signal channels) ...
Definition: GETCommon.hh:197
static const u_int MergedIncompleteError
Error on events with incomplete merged frames.
Definition: GETCommon.hh:216
static const u_short amplitudeMaxSignal
Channel amplitude calculation mode: maximum signal time bucket.
Definition: GETCommon.hh:139
static const u_int RCoBoCorrectFPN1
When reading experimental data, correct with closer FPN channel (only for signal channels) ...
Definition: GETCommon.hh:169
TSCAPointer
Defines the SCA pointer identifiers.
Definition: GETCommon.hh:278
static const u_short dataHit
Whether the channel is hit (1) or not (0)
Definition: GETCommon.hh:130
static const u_short dataTimeBin
Time bucket of maximum value of signal data.
Definition: GETCommon.hh:127
static const u_int RCoBoCorrectEvents
all option for corrections when reading events
Definition: GETCommon.hh:180