Skip to content

Commit 5530db9

Browse files
committed
Fill new field for easily flagging CRT-matched tracks in SBND
1 parent e8db3c5 commit 5530db9

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

sbncode/CAFMaker/FillReco.cxx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,9 @@ namespace caf
821821
caf::SRTrack &srtrack,
822822
bool allowEmpty)
823823
{
824-
srtrack.crtspacepoint.score = t0match.fTriggerConfidence;
824+
srtrack.crtspacepoint.matched = true;
825+
srtrack.crtspacepoint.score = t0match.fTriggerConfidence;
826+
825827
FillCRTSpacePoint(*spacepointmatch, cluster, srtrack.crtspacepoint.spacepoint);
826828
}
827829

@@ -830,7 +832,9 @@ namespace caf
830832
caf::SRTrack &srtrack,
831833
bool allowEmpty)
832834
{
833-
srtrack.crtsbndtrack.score = t0match.fTriggerConfidence;
835+
srtrack.crtsbndtrack.matched = true;
836+
srtrack.crtsbndtrack.score = t0match.fTriggerConfidence;
837+
834838
FillSBNDCRTTrack(*trackmatch, srtrack.crtsbndtrack.track);
835839
}
836840

0 commit comments

Comments
 (0)