GCC Code Coverage Report


Directory: ./
File: src/event/data/stwTDC-hdql.cc
Date: 2025-09-01 06:19:01
Exec Total Coverage
Lines: 24 24 100.0%
Functions: 1 1 100.0%
Branches: 19 19 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 StwTDCRawData, StwMCInfo, StwTDCHit.
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.dev
15 */
16
17 namespace na64dp {
18 namespace event {
19
20 void
21 9 define_stwTDC_hdql_compounds( ::hdql::helpers::CompoundTypes & types
22 , hdql_Context * context
23 ) {
24
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<StwTDCRawData>("StwTDCRawData")
25
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCRawData::wireNo>("wireNo")
26
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCRawData::time>("time")
27
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCRawData::timeDecoded>("timeDecoded")
28 9 .end_compound();
29
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<StwMCInfo>("StwMCInfo")
30
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::entryPoint>("entryPoint")
31
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::exitPoint>("exitPoint")
32
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::eDep>("eDep")
33
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::trackE>("trackE")
34
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::particlePDG>("particlePDG")
35
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::geant4TrackID>("geant4TrackID")
36
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::r>("r")
37
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwMCInfo::u>("u")
38 9 .end_compound();
39
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<StwTDCHit>("StwTDCHit")
40
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCHit::rawData>("rawData")
41
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCHit::distance>("distance")
42
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCHit::distanceError>("distanceError")
43
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCHit::mcInfo>("mcInfo")
44
1/1
✓ Branch 1 taken 9 times.
9 .attr<&StwTDCHit::correctedTime>("correctedTime")
45 9 .end_compound();
46 9 }
47
48 } // namespace ::na64dp::event
49 } // namespace na64dp
50
51 #endif // defined(hdql_FOUND) && hdql_FOUND
52