GCC Code Coverage Report


Directory: ./
File: src/event/data/event-hdql.cc
Date: 2025-09-01 06:19:01
Exec Total Coverage
Lines: 37 37 100.0%
Functions: 1 1 100.0%
Branches: 32 32 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 MCTruthInfo, Vertex, Event.
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_event_hdql_compounds( ::hdql::helpers::CompoundTypes & types
22 , hdql_Context * context
23 ) {
24
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MCTruthInfo>("MCTruthInfo")
25
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::weight>("weight")
26
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::beamPosition>("beamPosition")
27
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::beamMomentum>("beamMomentum")
28
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::beamE0>("beamE0")
29
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::ecalEntryPoisition>("ecalEntryPoisition")
30
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTruthInfo::beamPDG>("beamPDG")
31 9 .end_compound();
32
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<Vertex>("Vertex")
33
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::E0>("E0")
34
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::E>("E")
35
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::position>("position")
36
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::decayPosition>("decayPosition")
37
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::lvEm>("lvEm")
38
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::lvEp>("lvEp")
39
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::initPDG>("initPDG")
40
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::DMTRID1>("DMTRID1")
41
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Vertex::DMTRID2>("DMTRID2")
42 9 .end_compound();
43
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<Event>("Event")
44
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::id>("id")
45
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::trigger>("trigger")
46
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::evType>("evType")
47
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::time>("time")
48
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::masterTime>("masterTime")
49
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::mcTruth>("mcTruth")
50
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::sadcHits, DetIDSelection>("sadcHits")
51
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::apvHits, DetIDSelection>("apvHits")
52
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::stwtdcHits, DetIDSelection>("stwtdcHits")
53
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::f1Hits, DetIDSelection>("f1Hits")
54
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::caloHits, DetIDSelection>("caloHits")
55
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::apvClusters, DetIDSelection>("apvClusters")
56
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::trackScores, DetIDSelection>("trackScores")
57
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Event::vertices>("vertices")
58 9 .end_compound();
59 9 }
60
61 } // namespace ::na64dp::event
62 } // namespace na64dp
63
64 #endif // defined(hdql_FOUND) && hdql_FOUND
65