5#ifndef ElectronPhotonVariableNFCorrectionTool_H
6#define ElectronPhotonVariableNFCorrectionTool_H
105 Gaudi::Property<std::string>
m_configFile {
this,
"ConfigFile",
"",
"The configuration file for Normalizing Flows to use"};
106 Gaudi::Property<int>
m_nFoldsOverride {
this,
"NFoldsOverride", -1,
"If > 0, override the number of folds to use instead of the value from the config file (must not exceed NFolds in the config)"};
107 Gaudi::Property<std::string>
m_applyToStr {
this,
"ApplyTo",
"TruthPhotons",
"TruthPhotons or All"};
108 Gaudi::Property<float>
m_pTcutMeV {
this,
"pTcut", 10000.f,
"Min photon pT in MeV"};
138 ToolHandle<IElectronPhotonShowerShapeFudgeTool>
m_fallbackFudgeTool{
this,
"FallbackFudgeTool",
"",
"Fudge tool applied to photons which fail the shower shape cuts"};
158 int selectFold(
unsigned long long eventNumber,
float phi)
const;
164 ToolHandleArray<AthOnnx::IOnnxRuntimeInferenceTool>
m_onnxToolsForward{
this,
"OnnxInferenceToolsForward", {},
"Forward ONNX tools per fold"};
166 ToolHandleArray<AthOnnx::IOnnxRuntimeInferenceTool>
m_onnxToolsBackward{
this,
"OnnxInferenceToolsBackward", {},
"Backward ONNX tools per fold"};
172 static const std::vector<xAOD::EgammaParameters::ShowerShapeType>
s_ssEnums;
Scalar phi() const
phi method
Base class for elements of a container that can have aux data.
struct TBPatternUnitContext Unknown
Return value from object correction CP tools.
Property holding a SG store/key/clid from which a ReadHandle is made.
Photon_v1 Photon
Definition of the current "egamma version".
Electron_v1 Electron
Definition of the current "egamma version".