Commit 935608f7 authored by Teng Jian Khoo's avatar Teng Jian Khoo Committed by Graeme Stewart
Browse files

'apply track cleaning to cPFO jet constituents' (METReconstruction-00-03-30)

	* Apply track cleaning to charged PF jet constituents as well
	* Tagging as METReconstruction-00-03-30


Former-commit-id: af4a3c85a4a9488e85d2b2d3413cfe347278380f
parent a5e2a84b
......@@ -103,7 +103,6 @@ namespace met {
}
// Create jet associations
MissingETBase::Types::constvec_t trkvec;
for(const auto& jet : *jetCont) {
std::vector<const IParticle*> selectedTracks;
bool mismatchedPFlow = m_pflow && jet->rawConstituent(0)->type()!=xAOD::Type::ParticleFlow;
......@@ -113,9 +112,8 @@ namespace met {
for (size_t consti = 0; consti < jet->numConstituents(); consti++) {
const xAOD::PFO *pfo = static_cast<const xAOD::PFO*>(jet->rawConstituent(consti));
ATH_MSG_VERBOSE("Jet constituent PFO, pt " << pfo->pt());
if (fabs(pfo->charge())>1e-9) {
if (fabs(pfo->charge())>1e-9 && isGoodEoverP(pfo->track(0))) {
ATH_MSG_VERBOSE(" Accepted charged PFO, pt " << pfo->pt());
trkvec += *pfo;
selectedTracks.push_back(pfo);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment