![]() |
ATLAS Offline Software
|
Applies ML corrections to PFO ML corrections are stored in linked CaloClusters as decorations. More...
#include <NeutralPFOClusterMLCorrectionTool.h>
Public Member Functions | |
| NeutralPFOClusterMLCorrectionTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~NeutralPFOClusterMLCorrectionTool ()=default |
| virtual StatusCode | initialize () override |
| virtual void | correctContainer (xAOD::FlowElementContainer &neutral_pfos, xAOD::FlowElementContainer &charged_pfos, const EventContext &ctx) const override |
Private Member Functions | |
| void | correctNeutralFlowElement (xAOD::FlowElement &pfo, const SG::ReadDecorHandle< xAOD::CaloClusterContainer, double > &clusterMLReadHandle) const |
| const xAOD::CaloCluster * | getLinkedCluster (const xAOD::FlowElement &pfo) const |
Private Attributes | |
| SG::ReadDecorHandleKey< xAOD::CaloClusterContainer > | m_clusterMLCorrectedEnergyKey |
| Gaudi::Property< float > | m_max_allowed_charged_correction_fraction {this, "MaxAllowedChargedCorrectionFraction", 0.001, "ClusterML correction will be applied only if |npfo_E - cls_EM_E| <= |MaxAllowedChargedCorrectionFraction * cls_EM_E|"} |
| Gaudi::Property< float > | m_min_allowed_em_energy {this,"MinAllowedEMEnergyMeV", 300, "Minimum allowed energy in MeV of matched cluster at EM scale. ClusterML correction will not be applied below this limit."} |
Applies ML corrections to PFO ML corrections are stored in linked CaloClusters as decorations.
The correction is applied as a scale factor to the PFO.
Definition at line 29 of file NeutralPFOClusterMLCorrectionTool.h.
| NeutralPFOClusterMLCorrectionTool::NeutralPFOClusterMLCorrectionTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 10 of file NeutralPFOClusterMLCorrectionTool.cxx.
|
virtualdefault |
|
overridevirtual |
Definition at line 21 of file NeutralPFOClusterMLCorrectionTool.cxx.
|
private |
Definition at line 35 of file NeutralPFOClusterMLCorrectionTool.cxx.
|
private |
Definition at line 61 of file NeutralPFOClusterMLCorrectionTool.cxx.
|
overridevirtual |
Definition at line 13 of file NeutralPFOClusterMLCorrectionTool.cxx.
|
private |
Definition at line 40 of file NeutralPFOClusterMLCorrectionTool.h.
|
private |
Definition at line 47 of file NeutralPFOClusterMLCorrectionTool.h.
|
private |
Definition at line 48 of file NeutralPFOClusterMLCorrectionTool.h.