Skip to content

Commit

Permalink
Remove references to deprecated 'otherScore'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrylay97 committed Jan 22, 2024
1 parent a9487ef commit 84df570
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sbncode/PID/Razzled_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// - Photon (22)
// - Pion (211)
// - Proton (2212)
// - Other (0)
//
// If a PFP is not classified it will be assigned a pdg of -5
////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -119,7 +118,7 @@ namespace sbn {
float shw_sqrtEnergyDensity; // Sqrt of the energy divided by the length [cm^-1]


float electronScore, muonScore, photonScore, pionScore, protonScore, otherScore, bestScore;
float electronScore, muonScore, photonScore, pionScore, protonScore, bestScore;
int bestPDG;

TMVA::Reader* reader;
Expand Down Expand Up @@ -265,7 +264,6 @@ namespace sbn {
pfpTree->Branch("photonScore", &photonScore);
pfpTree->Branch("pionScore", &pionScore);
pfpTree->Branch("protonScore", &protonScore);
pfpTree->Branch("otherScore", &otherScore);
pfpTree->Branch("bestScore", &bestScore);
pfpTree->Branch("bestPDG", &bestPDG);
}
Expand Down Expand Up @@ -498,7 +496,7 @@ namespace sbn {
void Razzled::ClearTreeValues()
{
muonScore = -5.f; electronScore = -5.f; photonScore = -5.f; pionScore = -5.f;
protonScore = -5.f; otherScore = -5.f; bestScore = -5.f;
protonScore = -5.f; bestScore = -5.f;
bestPDG = -5;

truePDG = -5; trueMotherPDG = -5; trueType = ""; trueEndProcess = ""; trueEndMomentum = -5.f;
Expand Down

0 comments on commit 84df570

Please sign in to comment.