Skip to content

Commit b086d34

Browse files
authored
Merge pull request #139 from SBNSoftware/feature/hlay_calib_ntuples_crt_t0
Calib NTuple CRT Timing Additions
2 parents 2750a7d + ea68c72 commit b086d34

2 files changed

Lines changed: 11 additions & 4 deletions

File tree

sbnobj/Common/Calibration/TrackCaloSkimmerObj.h

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -262,9 +262,12 @@ namespace sbn {
262262
std::vector<WireInfo> wires2; //!< List of wire information on plane 2
263263

264264
float t0PFP; //!< Particle-Flow-Particle (Pandora) T0. Derived from cathode crossing
265-
float t0CRTTrack; //!< t0 from CRT Track
266-
float t0CRTHit; //!< t0 from CRT Hit
267-
int whicht0; //!< Which T0 producer was used to tag. 0 is Pandora, 1 is CRTTrack 2 is CRTHit
265+
float t0CRTTrack; //!< t0 from CRT Track (SBND)
266+
float t0CRTHit; //!< t0 from CRT Hit (ICARUS)
267+
float t0CRTSpacePoint; //!< t0 from CRT SpacePoint (SBND)
268+
int whicht0; //!< Which T0 producer was used to tag. 0 is Pandora, 1 is CRTTrack 2 is CRTHit, 3 is CRTSpacePoint
269+
float crtMatchingScore; //<! An assessment of the quality of the match made for whicht0 == 1,2,3
270+
float xShiftCRT; //<! If whicht0 == 1,2,3 the amount by which the track was shifted in x
268271
int id; //!< ID of track
269272
int cryostat; //!< Cryostat number of track
270273
bool clear_cosmic_muon; //!< Whether Pandora thinks the track is "clearly" a cosmic
@@ -317,6 +320,9 @@ namespace sbn {
317320
t0PFP(std::numeric_limits<float>::lowest()),
318321
t0CRTTrack(std::numeric_limits<float>::lowest()),
319322
t0CRTHit(std::numeric_limits<float>::lowest()),
323+
t0CRTSpacePoint(std::numeric_limits<float>::lowest()),
324+
crtMatchingScore(std::numeric_limits<float>::lowest()),
325+
xShiftCRT(0),
320326
id(-1),
321327
cryostat(-1),
322328
clear_cosmic_muon(false),

sbnobj/Common/Calibration/classes_def.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
<version ClassVersion="11" checksum="903476586"/>
1515
<version ClassVersion="10" checksum="118230262"/>
1616
</class>
17-
<class name="sbn::TrackInfo" ClassVersion="16">
17+
<class name="sbn::TrackInfo" ClassVersion="17">
18+
<version ClassVersion="17" checksum="2056578499"/>
1819
<version ClassVersion="16" checksum="2134249071"/>
1920
<version ClassVersion="15" checksum="1667792945"/>
2021
<version ClassVersion="14" checksum="3729960902"/>

0 commit comments

Comments
 (0)