GCC Code Coverage Report


Directory: ./
File: src/event/data/sadc-hdql.cc
Date: 2025-09-01 06:19:01
Exec Total Coverage
Lines: 61 61 100.0%
Functions: 1 1 100.0%
Branches: 51 51 100.0%

Line Branch Exec Source
1 #include "na64event/hdql-augments.hh"
2
3 #if defined(hdql_FOUND) && hdql_FOUND
4
5 #include "na64event/data/event.hh"
6 #include "na64event/hdql-augments.hh"
7
8 /**\file
9 * \brief HDQL interfaces for MoyalSADCWfFitParameters, GaussianSADCFitParameters, MSADCDFFTCoefficients, MSADCPeak, MSADCWaveform, WBWaveform, RawDataSADC, SADCHit.
10 *
11 * \warning This is a file generated for event's data structure integrating
12 * with HDQL.
13 * \note Generated at 14/08/2025 23:52:56 with template utils/evstruct/templates/cpp/impl-hdql.cc
14 * \version 0.1
15 */
16
17 namespace na64dp {
18 namespace event {
19
20 void
21 9 define_sadc_hdql_compounds( ::hdql::helpers::CompoundTypes & types
22 , hdql_Context * context
23 ) {
24
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MoyalSADCWfFitParameters>("MoyalSADCWfFitParameters")
25
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MoyalSADCWfFitParameters::mu>("mu")
26
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MoyalSADCWfFitParameters::sigma>("sigma")
27
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MoyalSADCWfFitParameters::S>("S")
28
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MoyalSADCWfFitParameters::interval>("interval")
29 9 .end_compound();
30
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<GaussianSADCFitParameters>("GaussianSADCFitParameters")
31
1/1
✓ Branch 1 taken 9 times.
9 .attr<&GaussianSADCFitParameters::mu>("mu")
32
1/1
✓ Branch 1 taken 9 times.
9 .attr<&GaussianSADCFitParameters::sigma>("sigma")
33
1/1
✓ Branch 1 taken 9 times.
9 .attr<&GaussianSADCFitParameters::S>("S")
34
1/1
✓ Branch 1 taken 9 times.
9 .attr<&GaussianSADCFitParameters::interval>("interval")
35 9 .end_compound();
36
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MSADCDFFTCoefficients>("MSADCDFFTCoefficients")
37
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCDFFTCoefficients::real>("real")
38
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCDFFTCoefficients::imag>("imag")
39 9 .end_compound();
40
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MSADCPeak>("MSADCPeak")
41
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::time>("time")
42
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::timeErr>("timeErr")
43
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::timeClusterLabel>("timeClusterLabel")
44
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::amp>("amp")
45
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::ampErr>("ampErr")
46
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::sumCoarse>("sumCoarse")
47
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::sumFine>("sumFine")
48
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::sumFineErr>("sumFineErr")
49
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::eDep>("eDep")
50
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::eDepErr>("eDepErr")
51
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::chi2>("chi2")
52
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::ndf>("ndf")
53
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::lastFitStatusCode>("lastFitStatusCode")
54
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCPeak::moyalFit>("moyalFit")
55 9 .end_compound();
56
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MSADCWaveform>("MSADCWaveform")
57
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCWaveform::wave>("wave")
58
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MSADCWaveform::pedestals>("pedestals")
59 9 .end_compound();
60
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<WBWaveform>("WBWaveform")
61
1/1
✓ Branch 1 taken 9 times.
9 .attr<&WBWaveform::samplingTime>("samplingTime")
62
1/1
✓ Branch 1 taken 9 times.
9 .attr<&WBWaveform::baseline>("baseline")
63 9 .end_compound();
64
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<RawDataSADC>("RawDataSADC")
65
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::fft>("fft")
66
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::sum>("sum")
67
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::maxSample>("maxSample")
68
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::maxAmp>("maxAmp")
69
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::maxAmpError>("maxAmpError")
70
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::canBeZero>("canBeZero")
71
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::ledCorr>("ledCorr")
72
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::calibCoeff>("calibCoeff")
73
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::ampThreshold>("ampThreshold")
74
1/1
✓ Branch 1 taken 9 times.
9 .attr<&RawDataSADC::maxima>("maxima")
75 9 .end_compound();
76
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<SADCHit>("SADCHit")
77
1/1
✓ Branch 1 taken 9 times.
9 .attr<&SADCHit::rawData>("rawData")
78
1/1
✓ Branch 1 taken 9 times.
9 .attr<&SADCHit::eDep>("eDep")
79
1/1
✓ Branch 1 taken 9 times.
9 .attr<&SADCHit::eDepError>("eDepError")
80
1/1
✓ Branch 1 taken 9 times.
9 .attr<&SADCHit::time>("time")
81
1/1
✓ Branch 1 taken 9 times.
9 .attr<&SADCHit::timeError>("timeError")
82 9 .end_compound();
83 9 }
84
85 } // namespace ::na64dp::event
86 } // namespace na64dp
87
88 #endif // defined(hdql_FOUND) && hdql_FOUND
89