Skip to content

Commit 7e252ce

Browse files
authored
Merge pull request #139 from SBNSoftware/feature/fp_SRCRTHitMatch_enhance
Extended information on the CRTHitT0Matching
2 parents 0523b38 + 03a188c commit 7e252ce

File tree

3 files changed

+20
-3
lines changed

3 files changed

+20
-3
lines changed

sbnanaobj/StandardRecord/SRCRTHitMatch.cxx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ namespace caf
88
{
99

1010
SRCRTHitMatch::SRCRTHitMatch():
11-
distance(std::numeric_limits<float>::signaling_NaN())
11+
distance(std::numeric_limits<float>::signaling_NaN()),
12+
region(-1),
13+
sys(-1),
14+
deltaX(std::numeric_limits<float>::signaling_NaN()),
15+
deltaY(std::numeric_limits<float>::signaling_NaN()),
16+
deltaZ(std::numeric_limits<float>::signaling_NaN()),
17+
crossX(std::numeric_limits<float>::signaling_NaN()),
18+
crossY(std::numeric_limits<float>::signaling_NaN()),
19+
crossZ(std::numeric_limits<float>::signaling_NaN())
1220
{}
1321
} // end namespace caf
1422
////////////////////////////////////////////////////////////////////////

sbnanaobj/StandardRecord/SRCRTHitMatch.h

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,15 @@ namespace caf
1717
SRCRTHitMatch();
1818
virtual ~SRCRTHitMatch() {}
1919
SRCRTHit hit; ///< The CRT hit
20-
float distance; ///< Distance from the projected TPC track to the CRT hit [cm]
20+
float distance; ///< Distance from the extrapolated TPC track to the CRT hit [cm]
21+
int region; ///< region of the matched crt plane
22+
int sys; ///< system of the matched crt hit (e.g. ICARUS: Top 0, Side 1, Bottom 2)
23+
float deltaX; ///< DeltaX between CRT Hit matched and the track extrapolation onto the CRT plane
24+
float deltaY; ///< DeltaY between CRT Hit matched and the track extrapolation onto the CRT plane
25+
float deltaZ; ///< DeltaZ between CRT Hit matched and the track extrapolation onto the CRT plane
26+
float crossX; ///< Extrapolated track crossing point onto the CRT plane
27+
float crossY; ///< Extrapolated track crossing point onto the CRT plane
28+
float crossZ; ///< Extrapolated track crossing point onto the CRT plane
2129
};
2230

2331
} // end namespace

sbnanaobj/StandardRecord/classes_def.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@
350350
</class>
351351
<class name="std::vector<caf::SRCRTTrack>" />
352352

353-
<class name="caf::SRCRTHitMatch" ClassVersion="10">
353+
<class name="caf::SRCRTHitMatch" ClassVersion="11">
354+
<version ClassVersion="11" checksum="900891432"/>
354355
<version ClassVersion="10" checksum="1521467565"/>
355356
</class>
356357

0 commit comments

Comments
 (0)