 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DERIVATIONFRAMEWORK_ClusterEnergyPerLayerDecorator_H
6 #define DERIVATIONFRAMEWORK_ClusterEnergyPerLayerDecorator_H
15 #include "GaudiKernel/EventContext.h"
16 #include "GaudiKernel/ToolHandle.h"
30 using base_class::base_class;
36 Gaudi::Property<std::vector<unsigned int>>
m_layers{
this,
"layers", { 0, 1, 2, 3 } };
45 "SG key of electron container"
52 "SG key of the cell container"
57 "CaloFillRectangularClusterTool",
59 "Handle of the CaloFillRectangularClusterTool"
65 "SGKey_photons_decorations",
67 "SG keys for photon decorations"
73 "SGKey_electrons_decorations",
75 "SG keys for electrons decorations"
86 #endif // DERIVATIONFRAMEWORK_ClusterEnergyPerLayerDecorator_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Gaudi::Property< std::vector< unsigned int > > m_layers
Base class for cluster processing tools called from CaloClusterMaker that operate on individual clust...
Decorate egamma objects with the energy per layer for a rectangular cluster of size neta X nphi built...
virtual StatusCode initialize() override final
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_electrons_decorations
Calculates the per-layer position, size, etc. of a cluster. Optionally, fills the cluster with cells ...
Property holding a SG store/key/clid from which a ReadHandle is made.
ToolHandle< CaloClusterProcessor > m_caloFillRectangularTool
std::vector< float > decorateObject(const EventContext &ctx, const xAOD::Egamma *egamma, const CaloCellContainer *cellCont) const
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteDecorHandleKeyArray< xAOD::EgammaContainer > m_SGKey_photons_decorations
const CaloFillRectangularCluster * m_tool
Container class for CaloCell.
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_photons
virtual StatusCode addBranches(const EventContext &ctx) const override final
SG::ReadHandleKey< CaloCellContainer > m_SGKey_caloCells
SG::ReadHandleKey< xAOD::EgammaContainer > m_SGKey_electrons