10#ifndef DERIVATIONFRAMEWORK_EGammaClusterCoreCellRecovery_H
11#define DERIVATIONFRAMEWORK_EGammaClusterCoreCellRecovery_H
29 using base_class::base_class;
31 virtual StatusCode
initialize()
override final;
32 virtual StatusCode
addBranches(
const EventContext& ctx)
const override final;
36 {
this,
"SGKey_photons",
"Photons",
"SG key of photon container" };
39 {
this,
"SGKey_electrons",
"Electrons",
"SG key of electron container" };
42 {
this,
"SGKey_CaloCells",
"AllCalo",
"SG key of calo cell container" };
47 "SGKey_photons_decorations",
48 m_SGKey_photons, {
"nadded_Lr2",
"Eadded_Lr2",
"nadded_Lr3",
"Eadded_Lr3"},
49 "SG keys for photon decorations"
55 "SGKey_electrons_decorations",
57 "SG keys for electrons"
62 "UseWeightForMaxCell",
64 "Use the cell weights when finding the L2 max energy cell"
70 double &etamax,
double &phimax)
const;
75 "egammaCellRecoveryTool",
76 "egammaCellRecoveryTool/egammaCellRecoveryTool",
77 "Optional tool that adds cells in L2 or L3 "
78 "that could have been rejected by timing cut"
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
IegammaCellRecoveryTool::Info decorateObject(const xAOD::Egamma *&egamma) const
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
ToolHandle< IegammaCellRecoveryTool > m_egammaCellRecoveryTool
Pointer to the egammaCellRecoveryTool.
StatusCode findMaxECell(const xAOD::CaloCluster *clus, double &etamax, double &phimax) const
SG::ReadHandleKey< CaloCellContainer > m_SGKey_CaloCells
virtual StatusCode initialize() override final
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
Gaudi::Property< bool > m_UseWeightForMaxCell
Property holding a SG store/key/clid from which a ReadHandle is made.
DecorHandleKeyArray< WriteDecorHandle< T, S >, WriteDecorHandleKey< T >, Gaudi::DataHandle::Writer > WriteDecorHandleKeyArray
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".