GCC Code Coverage Report


Directory: ./
File: src/event/data/track-hdql.cc
Date: 2025-09-01 06:19:01
Exec Total Coverage
Lines: 49 49 100.0%
Functions: 1 1 100.0%
Branches: 41 41 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 DriftDetScoreFeatures, MCTrueTrackScore, TrackScore, ScoreFitInfo, TrackFitInfo, Track.
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_track_hdql_compounds( ::hdql::helpers::CompoundTypes & types
22 , hdql_Context * context
23 ) {
24
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<DriftDetScoreFeatures>("DriftDetScoreFeatures")
25
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::distance>("distance")
26
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::distanceError>("distanceError")
27
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::maxDistance>("maxDistance")
28
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::wireCoordinates>("wireCoordinates")
29
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::sideHitUError>("sideHitUError")
30
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::sideHitBError>("sideHitBError")
31
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::sideWeight>("sideWeight")
32
1/1
✓ Branch 1 taken 9 times.
9 .attr<&DriftDetScoreFeatures::uError>("uError")
33 9 .end_compound();
34
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<MCTrueTrackScore>("MCTrueTrackScore")
35
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTrueTrackScore::globalPosition>("globalPosition")
36
1/1
✓ Branch 1 taken 9 times.
9 .attr<&MCTrueTrackScore::geant4TrackID>("geant4TrackID")
37 9 .end_compound();
38
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<TrackScore>("TrackScore")
39
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::lR>("lR")
40
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::gR>("gR")
41
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::lRErr>("lRErr")
42
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::driftFts>("driftFts")
43
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::time>("time")
44
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackScore::mcTruth>("mcTruth")
45 9 .end_compound();
46
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<ScoreFitInfo>("ScoreFitInfo")
47
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::score>("score")
48
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::lR>("lR")
49
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::lRUErr>("lRUErr")
50
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::lRBErr>("lRBErr")
51
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::lTan>("lTan")
52
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::qop>("qop")
53
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::time>("time")
54
1/1
✓ Branch 1 taken 9 times.
9 .attr<&ScoreFitInfo::weight>("weight")
55 9 .end_compound();
56
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<TrackFitInfo>("TrackFitInfo")
57
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::positionSeed>("positionSeed")
58
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::momentumSeed>("momentumSeed")
59
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::covarSeed>("covarSeed")
60
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::chi2>("chi2")
61
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::ndf>("ndf")
62
1/1
✓ Branch 1 taken 9 times.
9 .attr<&TrackFitInfo::pval>("pval")
63 9 .end_compound();
64
1/1
✓ Branch 1 taken 9 times.
9 types.new_compound<Track>("Track")
65
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Track::scores, DetIDSelection>("scores")
66
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Track::momentum>("momentum")
67
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Track::pdg>("pdg")
68
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Track::fitInfo>("fitInfo")
69
1/1
✓ Branch 1 taken 9 times.
9 .attr<&Track::zonePattern>("zonePattern")
70 9 .end_compound();
71 9 }
72
73 } // namespace ::na64dp::event
74 } // namespace na64dp
75
76 #endif // defined(hdql_FOUND) && hdql_FOUND
77