 |
ATLAS Offline Software
|
Go to the documentation of this file.
45 return StatusCode::SUCCESS;
53 if (!m_SGKey_photons.key().empty()) {
59 m_SGKey_photons_decorations,
66 if (!m_SGKey_electrons.key().empty()) {
72 m_SGKey_electrons_decorations,
79 return StatusCode::SUCCESS;
86 const EventContext& ctx)
const
94 decoration0(decorKeys[0], ctx);
96 decoration1(decorKeys[1], ctx);
98 decoration2(decorKeys[2], ctx);
100 decoration3(decorKeys[3], ctx);
102 decoration4(decorKeys[4], ctx);
104 decoration5(decorKeys[5], ctx);
106 decoration6(decorKeys[6], ctx);
108 decoration7(decorKeys[7], ctx);
110 decoration8(decorKeys[8], ctx);
112 decoration9(decorKeys[9], ctx);
114 decoration10(decorKeys[10], ctx);
116 decoration11(decorKeys[11], ctx);
120 for (
const auto*
egamma : *importedEgamma) {
123 getDecorations(cluster, ctx);
135 decoration9(*
egamma) =
res.cells_quality;
140 return StatusCode::SUCCESS;
147 const EventContext& ctx)
const
160 ATH_MSG_ERROR(
"Do not have mapping object " << m_cablingKey.key());
161 throw std::runtime_error(
"Cabling retrieval failed");
166 int sampling =
cell->caloDDE()->getSampling();
std::vector< float > cells_phi
std::vector< float > cells_y
virtual StatusCode initialize() override final
Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Old Athena::TPCnvVers::Current Athena::TPCnvVers::Current egammaContainer
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons
#define ATH_MSG_VERBOSE(x)
std::vector< float > cells_eta
Property holding a SG store/key/clid from which a ReadHandle is made.
StatusCode decorateCells(const SG::ReadHandleKey< xAOD::EgammaContainer > &contKey, const SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > &decorKeys, const EventContext &ctx) const
Description of a calorimeter cluster.
const T * get(const ReadCondHandleKey< T > &key, const EventContext &ctx)
Convenience function to retrieve an object given a ReadCondHandleKey.
std::vector< float > cells_E
::StatusCode StatusCode
StatusCode definition for legacy code.
std::vector< uint64_t > cells_onlId
Handle class for adding a decoration to an object.
std::vector< float > cells_time
std::pair< std::vector< unsigned int >, bool > res
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
virtual StatusCode addBranches(const EventContext &ctx) const override final
const CaloClusterCellLink * getCellLinks() const
Get a pointer to the CaloClusterCellLink object (const version)
std::vector< int > cells_quality
std::vector< int > cells_layer
StatusCode initialize(bool used=true)
std::vector< int > cells_gain
std::vector< float > cells_z
Data object for each calorimeter readout cell.
#define ATH_MSG_WARNING(x)
std::vector< float > cells_x
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
cell_decorations getDecorations(const xAOD::CaloCluster *cluster, const EventContext &ctx) const