Skip to content

Commit

Permalink
pf_id_reduce mthod removed
Browse files Browse the repository at this point in the history
  • Loading branch information
yetkinyilmaz committed Oct 21, 2014
1 parent 4b88677 commit 9896af0
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions RecoHI/HiJetAlgos/src/VoronoiAlgorithm.cc
Expand Up @@ -869,30 +869,6 @@ namespace {
return ret;
}


size_t pf_id_reduce(const int pf_id)
{
// Particle::pdgId_ PFCandidate::particleId_
// PFCandidate::ParticleType Particle
// 0 0 X unknown, or dummy
// +211, -211 1 h charged hadron
// +11, -11 2 e electron
// +13, -13 3 mu muon
// 22 4 gamma photon
// 130 5 h0 neutral hadron
// 130 6 h_HF hadronic energy in an HF tower
// 22 7 egamma_HF electromagnetic energy in an HF tower

if (pf_id == 4) {
return 1;
}
else if (pf_id >= 5 && pf_id <= 7) {
return 2;
}

return 0;
}

}

void VoronoiAlgorithm::initialize_geometry(void)
Expand Down

0 comments on commit 9896af0

Please sign in to comment.