From 9d5a8f993403e5b746739a70ccd4dbeb14a2cbda Mon Sep 17 00:00:00 2001 From: deschamp <odescham@in2p3.fr> Date: Fri, 22 Jun 2018 19:02:25 +0200 Subject: [PATCH] 'Propagate XGBoost-based IsPhoton separation variable' --- Rec/GlobalReco/src/NeutralProtoPAlg.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Rec/GlobalReco/src/NeutralProtoPAlg.cpp b/Rec/GlobalReco/src/NeutralProtoPAlg.cpp index a648b7e1f46..fdcd1a040de 100755 --- a/Rec/GlobalReco/src/NeutralProtoPAlg.cpp +++ b/Rec/GlobalReco/src/NeutralProtoPAlg.cpp @@ -222,13 +222,12 @@ StatusCode NeutralProtoPAlg::execute() pushData(proto, LHCb::ProtoParticle::CaloPrsM45 ,hypo, isPhotonPrsM45); // -- input to isPhoton // isPhoton output : pushData(proto, LHCb::ProtoParticle::IsPhoton , hypo, isPhoton , +1. , true ); // NN-based neutral-ID (anti-pi0) // FORCE to +1 when missing (i.e. PT < 2 GeV) + pushData(proto, LHCb::ProtoParticle::IsPhotonXGB , hypo, isPhotonXGB , +1. , true ); // XGBoost-based neutral-ID (anti-pi0) // FORCE to +1 when missing (i.e. PT < 2 GeV) } }// lightmode } // loop over CaloHypos if ( counterStat->isQuiet() ) counter( loc + "=>" + m_protoLocation) += count; } // loop over HyposLocations - - if ( msgLevel(MSG::DEBUG) )debug() << "# Neutral ProtoParticles created : " << protos -> size() << endmsg; if(counterStat->isQuiet())counter ("#protos in " + m_protoLocation) += protos->size() ; return StatusCode::SUCCESS; @@ -243,4 +242,4 @@ StatusCode NeutralProtoPAlg::finalize(){ { info() << "Neutral protoparticles have been created in 'Light' Mode" << endmsg ; } return GaudiAlgorithm::finalize(); // must be called after all other actions -} \ No newline at end of file +} -- GitLab