5#ifndef ElectronPhotonVariableNFCorrectionTool_H
6#define ElectronPhotonVariableNFCorrectionTool_H
104 Gaudi::Property<std::string>
m_configFile {
this,
"ConfigFile",
"",
"The configuration file for Normalizing Flows to use"};
105 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)"};
106 Gaudi::Property<std::string>
m_applyToStr {
this,
"ApplyTo",
"TruthPhotons",
"TruthPhotons or All"};
107 Gaudi::Property<float>
m_pTcutMeV {
this,
"pTcut", 10000.f,
"Min photon pT in MeV"};
143 int selectFold(
unsigned long long eventNumber,
float phi)
const;
149 ToolHandleArray<AthOnnx::IOnnxRuntimeInferenceTool>
m_onnxToolsForward{
this,
"OnnxInferenceToolsForward", {},
"Forward ONNX tools per fold"};
151 ToolHandleArray<AthOnnx::IOnnxRuntimeInferenceTool>
m_onnxToolsBackward{
this,
"OnnxInferenceToolsBackward", {},
"Backward ONNX tools per fold"};
157 static const std::vector<xAOD::EgammaParameters::ShowerShapeType>
s_ssEnums;
161 std::unique_ptr<SG::AuxElement::Accessor<float>>
original;
Scalar phi() const
phi method
Base class for elements of a container that can have aux data.
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".