Skip to content

Commit 204d2fc

Browse files
author
Mun Jung Jung
committed
michel score for pfp itself
1 parent 3f2bdfc commit 204d2fc

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

sbnobj/Common/Reco/CNNScore.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#include "sbnobj/Common/Reco/CNNScore.h"
22

3-
sbn::PFPCNNScore::PFPCNNScore(float pfpTrackScore, float pfpShowerScore, float pfpNoiseScore, float pfpEndMichelScore, int nClusters)
3+
sbn::PFPCNNScore::PFPCNNScore(float pfpTrackScore, float pfpShowerScore, float pfpNoiseScore, float pfpMichelScore, float pfpEndMichelScore, int nClusters)
44
: pfpTrackScore(pfpTrackScore)
55
, pfpShowerScore(pfpShowerScore)
66
, pfpNoiseScore(pfpNoiseScore)
7+
, pfpMichelScore(pfpMichelScore)
78
, pfpEndMichelScore(pfpEndMichelScore)
89
, nClusters(nClusters)
910
{

sbnobj/Common/Reco/CNNScore.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ namespace sbn {
99

1010
class PFPCNNScore {
1111
public:
12-
PFPCNNScore(float pfpTrackScore = nan_float, float pfpShowerScore = nan_float, float pfpNoiseScore = nan_float, float pfpEndMichelScore = nan_float, int nClusters = 0);
12+
PFPCNNScore(float pfpTrackScore = nan_float, float pfpShowerScore = nan_float, float pfpNoiseScore = nan_float, float pfpMichelScore = nan_float, float pfpEndMichelScore = nan_float, int nClusters = 0);
1313

1414
float pfpTrackScore; //!< shower score for PFP, average over all associated hits
1515
float pfpShowerScore; //!< shower score for PFP, average over all associated hits
1616
float pfpNoiseScore; //!< shower score for PFP, average over all associated hits
17-
float pfpEndMichelScore; //!< michel score for PFP, average over 48*48 area around the endpoint
17+
float pfpMichelScore; //!< michel score for PFP, average over all associated hits
18+
float pfpEndMichelScore; //!< end michel score for PFP, average over defined area around the endpoint
1819
int nClusters; //!< number of clusters used for calculating average score
1920
};
2021
}

0 commit comments

Comments
 (0)