Skip to content

Commit 9a8c195

Browse files
committed
Add matched flags for SBND TPC-CRT matching
1 parent 54c36d6 commit 9a8c195

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

sbnanaobj/StandardRecord/SRCRTSpacePointMatch.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace caf
88
{
99
SRCRTSpacePointMatch::SRCRTSpacePointMatch():
10+
matched(false),
1011
score(std::numeric_limits<float>::signaling_NaN())
1112
{}
1213
}

sbnanaobj/StandardRecord/SRCRTSpacePointMatch.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace caf
1414
SRCRTSpacePointMatch();
1515
virtual ~SRCRTSpacePointMatch() {}
1616

17+
bool matched; // whether or not a match was made
1718
SRCRTSpacePoint spacepoint; // the spacepoint
1819
float score; // assessment of quality of matching (depends on alg configuration)
1920
};

sbnanaobj/StandardRecord/SRSBNDCRTTrackMatch.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
namespace caf
88
{
99
SRSBNDCRTTrackMatch::SRSBNDCRTTrackMatch():
10+
matched(false),
1011
score(std::numeric_limits<float>::signaling_NaN())
1112
{}
1213
}

sbnanaobj/StandardRecord/SRSBNDCRTTrackMatch.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ namespace caf
1414
SRSBNDCRTTrackMatch();
1515
virtual ~SRSBNDCRTTrackMatch() {}
1616

17-
SRSBNDCRTTrack track; // the track
18-
float score; // assessment of quality of matching (depends on alg configuration)
17+
bool matched; // whether or not a match was made
18+
SRSBNDCRTTrack track; // the track
19+
float score; // assessment of quality of matching (depends on alg configuration)
1920
};
2021
}
2122

0 commit comments

Comments
 (0)