5#ifndef CALOREC_CALOCLUSTMLCALIBALG_H
6#define CALOREC_CALOCLUSTMLCALIBALG_H
9#include "GaudiKernel/ToolHandle.h"
30 StatusCode
execute(
const EventContext& ctx)
const override;
36 this,
"CaloClusterMLCalibToolLite",
"CaloClusterMLCalibToolLite"
47 Gaudi::Property<std::vector<float>>
m_rapidityRange {
this,
"RapidityRange", { -2.5, 2.5},
"rapidity range of validity of the ML-based calibration" };
49 Gaudi::Property<double>
m_minClusterEnergy {
this,
"MinClusterEnergy", 300.0,
"Minimum cluster energy (MeV) to apply ML calibration" };
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
StatusCode finalize() override
CaloClusterMLCalibAlgLite(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterMLCalibEnergyUncDecorKey
Gaudi::Property< double > m_minClusterEnergy
SG::WriteDecorHandleKey< xAOD::CaloClusterContainer > m_clusterMLCalibEnergyDecorKey
SG::ReadHandleKey< xAOD::VertexContainer > m_verticesKey
StatusCode initialize() override
Gaudi::Property< std::vector< float > > m_rapidityRange
StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clusterContainerKey
ToolHandle< ICaloClusterMLCalibToolLite > m_calibTool
~CaloClusterMLCalibAlgLite() override=default
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.