Skip to content

Commit 55f6db4

Browse files
committed
Merge branch 'feature/hlay_crt_taggers' into master173+186
2 parents 9fedd3e + 281f7ae commit 55f6db4

File tree

8 files changed

+20
-10
lines changed

8 files changed

+20
-10
lines changed

sbnanaobj/StandardRecord/SRCRTSpacePoint.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ namespace caf
1212
pe(std::numeric_limits<float>::signaling_NaN()),
1313
time(std::numeric_limits<float>::signaling_NaN()),
1414
time_err(std::numeric_limits<float>::signaling_NaN()),
15-
complete(false)
15+
complete(false),
16+
nhits(std::numeric_limits<int>::lowest()),
17+
tagger(std::numeric_limits<int>::lowest())
1618
{}
1719
} // end namespace caf
1820
////////////////////////////////////////////////////////////////////////

sbnanaobj/StandardRecord/SRCRTSpacePoint.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ namespace caf
2020
float time; // time [ns]
2121
float time_err; // time_err [ns]
2222
bool complete; // was cluster made from perpendicular & overlapping strips?
23+
int nhits; // the number of strip hits contributing to the space point
24+
int tagger; // the tagger the space point is on
2325
};
2426
} // end namespace
2527

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/SRSBNDCRTTrack.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ namespace caf
2222
float time_err; // error in average time [ns]
2323
float pe; // total PE;
2424
float tof; // time from first space point to last [ns]
25-
26-
// TODO: Find way of adding taggers field
27-
// std::set<SBNDCRTTagger_t> taggers; // which taggers were used to create the track
25+
std::vector<int> taggers; // the taggers that were used to create the track
2826
};
2927
} // end namespace
3028

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

sbnanaobj/StandardRecord/classes_def.xml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -433,19 +433,23 @@
433433
</class>
434434
<class name="std::vector<caf::SRTPCPMTBarycenterMatch>"/>
435435

436-
<class name="caf::SRCRTSpacePoint" ClassVersion="10">
436+
<class name="caf::SRCRTSpacePoint" ClassVersion="11">
437+
<version ClassVersion="11" checksum="2928297658"/>
437438
<version ClassVersion="10" checksum="3912601582"/>
438439
</class>
439440

440-
<class name="caf::SRCRTSpacePointMatch" ClassVersion="10">
441+
<class name="caf::SRCRTSpacePointMatch" ClassVersion="11">
442+
<version ClassVersion="11" checksum="414814289"/>
441443
<version ClassVersion="10" checksum="382456729"/>
442444
</class>
443445

444-
<class name="caf::SRSBNDCRTTrack" ClassVersion="10">
446+
<class name="caf::SRSBNDCRTTrack" ClassVersion="11">
447+
<version ClassVersion="11" checksum="1038334522"/>
445448
<version ClassVersion="10" checksum="1967800431"/>
446449
</class>
447450

448-
<class name="caf::SRSBNDCRTTrackMatch" ClassVersion="10">
451+
<class name="caf::SRSBNDCRTTrackMatch" ClassVersion="11">
452+
<version ClassVersion="11" checksum="3360963232"/>
449453
<version ClassVersion="10" checksum="2486605052"/>
450454
</class>
451455

0 commit comments

Comments
 (0)