 |
ATLAS Offline Software
|
Go to the documentation of this file.
80 return StatusCode::SUCCESS;
88 if (!m_SGKey_photons.key().empty()) {
94 m_SGKey_photons_decorations,
101 if (!m_SGKey_electrons.key().empty()) {
107 m_SGKey_electrons_decorations,
114 return StatusCode::SUCCESS;
121 const EventContext& ctx)
const
129 decoration0(decorKeys[0], ctx);
131 decoration1(decorKeys[1], ctx);
133 decoration2(decorKeys[2], ctx);
135 decoration3(decorKeys[3], ctx);
137 decoration4(decorKeys[4], ctx);
139 decoration5(decorKeys[5], ctx);
141 decoration6(decorKeys[6], ctx);
143 decoration7(decorKeys[7], ctx);
145 decoration8(decorKeys[8], ctx);
147 decoration9(decorKeys[9], ctx);
149 decoration10(decorKeys[10], ctx);
151 decoration11(decorKeys[11], ctx);
155 for (
const auto*
egamma : *importedEgamma) {
158 getDecorations(cluster, ctx);
170 decoration9(*
egamma) =
res.cells_quality;
175 return StatusCode::SUCCESS;
182 const EventContext& ctx)
const
195 ATH_MSG_ERROR(
"Do not have mapping object " << m_cablingKey.key());
196 throw std::runtime_error(
"Cabling retrieval failed");
201 int sampling =
cell->caloDDE()->getSampling();
std::vector< float > cells_phi
std::vector< float > cells_y
virtual StatusCode addBranches(const EventContext &ctx) const
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
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