12#ifndef DERIVATIONFRAMEWORK_CALOCELLDECORATOR_H
13#define DERIVATIONFRAMEWORK_CALOCELLDECORATOR_H
21#include "GaudiKernel/EventContext.h"
36 using base_class::base_class;
39 virtual StatusCode
initialize() override final;
70 "SG Key of LArOnOffIdMapping object"
78 "SG key of photon container"
84 "SGKey_photons_decorations",
86 "cells_E",
"cells_time",
"cells_eta",
"cells_phi",
87 "cells_x",
"cells_y",
"cells_z",
"cells_gain",
88 "cells_layer",
"cells_quality",
"cells_onlId",
"ncells"},
89 "SG keys for photon decorations"
97 "SG key of electron container"
103 "SGKey_electrons_decorations",
105 "cells_E",
"cells_time",
"cells_eta",
"cells_phi",
106 "cells_x",
"cells_y",
"cells_z",
"cells_gain",
107 "cells_layer",
"cells_quality",
"cells_onlId",
"ncells"},
108 "SG keys for electrons decorations"
119 const EventContext& ctx)
const;
127 const EventContext& ctx)
const;
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
StatusCode decorateCells(const SG::ReadHandleKey< xAOD::EgammaContainer > &contKey, const SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > &decorKeys, const EventContext &ctx) const
virtual StatusCode addBranches(const EventContext &ctx) const override final
virtual StatusCode initialize() override final
cell_decorations getDecorations(const xAOD::CaloCluster *cluster, const EventContext &ctx) const
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.
std::vector< int > cells_gain
std::vector< float > cells_x
std::vector< int > cells_layer
std::vector< float > cells_time
std::vector< float > cells_phi
std::vector< uint64_t > cells_onlId
std::vector< int > cells_quality
std::vector< float > cells_y
std::vector< float > cells_eta
std::vector< float > cells_z
std::vector< float > cells_E