|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GaudiKernel/EventContext.h"
20 const std::string&
name,
24 declareInterface<IEMClusterTool>(
this);
44 return StatusCode::SUCCESS;
63 std::make_unique<CaloClusterCellLinkContainer>()));
81 outputClusterContainer,
82 outputClusterContainerCellLink);
84 return StatusCode::SUCCESS;
89 const EventContext& ctx,
96 if (!
eg->caloCluster()) {
97 ATH_MSG_DEBUG(
"egamma object does not have a cluster associated");
104 (*cluster)=*(
eg->caloCluster());
110 ClusterLink_t clusterLink(cluster, *outputClusterContainer, ctx);
111 const std::vector<ClusterLink_t> clusterLinks{ clusterLink };
112 eg->setCaloClusterLinks(clusterLinks);
xAOD::ElectronContainer * electronContainer
static StatusCode finalizeClusters(SG::WriteHandle< CaloClusterCellLinkContainer > &h, xAOD::CaloClusterContainer *pClusterColl)
Finalize clusters (move CaloClusterCellLink to a separate container).
static StatusCode AddContainerWriteHandle(SG::WriteHandle< xAOD::CaloClusterContainer > &clusColl)
Creates a new xAOD::CaloClusterContainer in the given WriteHandle + CaloClusterAuxContainer and recor...
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition of CaloDetDescrManager.
Handle class for recording to StoreGate.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
pointer_type ptr()
Dereference the pointer.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
xAOD::PhotonContainer * photonContainer
ElementLink implementation for ROOT usage.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.