Skip to content

Commit e812304

Browse files
authored
Merge pull request #104 from SBNSoftware/feature/hlay_crumbs_opt0
OpT0 CRUMBS
2 parents a263176 + da30615 commit e812304

3 files changed

Lines changed: 16 additions & 9 deletions

File tree

sbnobj/Common/Reco/CRUMBSResult.cc

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ sbn::CRUMBSResult::CRUMBSResult(float score, float ccnumuscore, float ccnuescore
44
float tpc_CRFracHitsInLongestTrack, float tpc_CRLongestTrackDeflection, float tpc_CRLongestTrackDirY,
55
int tpc_CRNHitsMax, float tpc_NuEigenRatioInSphere, int tpc_NuNFinalStatePfos, int tpc_NuNHitsTotal,
66
int tpc_NuNSpacePointsInSphere, float tpc_NuVertexY, float tpc_NuWeightedDirZ, float tpc_StoppingChi2CosmicRatio,
7-
float pds_FMTotalScore, float pds_FMPE, float pds_FMTime, float crt_TrackScore, float crt_HitScore,
8-
float crt_TrackTime, float crt_HitTime)
7+
float pds_FMTotalScore, float pds_FMPE, float pds_FMTime, float pds_OpT0Score, float pds_OpT0MeasuredPE,
8+
float crt_TrackScore, float crt_SPScore, float crt_TrackTime, float crt_SPTime)
99
: score(score)
1010
, ccnumuscore(ccnumuscore)
1111
, ccnuescore(ccnuescore)
@@ -26,10 +26,12 @@ sbn::CRUMBSResult::CRUMBSResult(float score, float ccnumuscore, float ccnuescore
2626
, pds_FMTotalScore(pds_FMTotalScore)
2727
, pds_FMPE(pds_FMPE)
2828
, pds_FMTime(pds_FMTime)
29+
, pds_OpT0Score(pds_OpT0Score)
30+
, pds_OpT0MeasuredPE(pds_OpT0MeasuredPE)
2931
, crt_TrackScore(crt_TrackScore)
30-
, crt_HitScore(crt_HitScore)
32+
, crt_SPScore(crt_SPScore)
3133
, crt_TrackTime(crt_TrackTime)
32-
, crt_HitTime(crt_HitTime)
34+
, crt_SPTime(crt_SPTime)
3335
{
3436
}
3537

sbnobj/Common/Reco/CRUMBSResult.h

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ namespace sbn {
1717
float tpc_CRLongestTrackDirY = default_float, int tpc_CRNHitsMax = default_int, float tpc_NuEigenRatioInSphere = default_float,
1818
int tpc_NuNFinalStatePfos = default_int, int tpc_NuNHitsTotal = default_int, int tpc_NuNSpacePointsInSphere = default_int,
1919
float tpc_NuVertexY = default_float, float tpc_NuWeightedDirZ = default_float, float tpc_StoppingChi2CosmicRatio = default_float,
20-
float pds_FMTotalScore = default_float, float pds_FMPE = default_float, float pds_FMTime = default_float, float crt_TrackScore = default_float,
21-
float crt_HitScore = default_float, float crt_TrackTime = default_float, float crt_HitTime = default_float);
20+
float pds_FMTotalScore = default_float, float pds_FMPE = default_float, float pds_FMTime = default_float, float pds_OpT0Score = default_float,
21+
float pds_OpT0MeasuredPE = default_float, float crt_TrackScore = default_float, float crt_SPScore = default_float, float crt_TrackTime = default_float,
22+
float crt_SPTime = default_float);
2223

2324
float score; //!< CRUMBS result, for inclusive neutrino signal
2425
float ccnumuscore; //!< CRUMBS result, for CCNuMu signal
@@ -40,10 +41,12 @@ namespace sbn {
4041
float pds_FMTotalScore; //!< the total flash match score
4142
float pds_FMPE; //!< the total number of photoelectrons in the associated flash
4243
float pds_FMTime; //!< the time associated with the flash [us]
44+
float pds_OpT0Score; //!< the agreement score from the OpT0 falsh matcher
45+
float pds_OpT0MeasuredPE; //!< the PE of the reconstructed flash matched by OpT0
4346
float crt_TrackScore; //!< a combination of the DCA and angle between the best matched TPC & CRT tracks
44-
float crt_HitScore; //!< the best distance from an extrapolated TPC track to a CRT hit [cm]
47+
float crt_SPScore; //!< the best distance from an extrapolated TPC track to a CRT spacepoint [cm]
4548
float crt_TrackTime; //!< the time associated with the matched CRT track [us]
46-
float crt_HitTime; //!< the time associated with the matched CRT hit [us]
49+
float crt_SPTime; //!< the time associated with the matched CRT spacepoint [us]
4750
};
4851
}
4952

sbnobj/Common/Reco/classes_def.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@
5454
<class name="art::Assns<sbn::SimpleFlashMatch,recob::PFParticle, void>" />
5555
<class name="art::Wrapper<art::Assns<sbn::SimpleFlashMatch, recob::PFParticle, void> >" />
5656

57-
<class name="sbn::CRUMBSResult" ClassVersion="11">
57+
<class name="sbn::CRUMBSResult" ClassVersion="13">
58+
<version ClassVersion="13" checksum="2221682896"/>
59+
<version ClassVersion="12" checksum="526337898"/>
5860
<version ClassVersion="11" checksum="2038758639"/>
5961
<version ClassVersion="10" checksum="1001500335"/>
6062
</class>

0 commit comments

Comments
 (0)