10#ifndef TRKPARTICLECREATOR_PARTICLECALOCELLASSOCIATION_H
11#define TRKPARTICLECREATOR_PARTICLECALOCELLASSOCIATION_H
14#include "GaudiKernel/ToolHandle.h"
43 virtual StatusCode
initialize() override final;
44 virtual StatusCode
finalize() override final;
56 nullptr)
const override final;
81 nullptr)
const override final;
85 const Trk::CaloExtension& caloExtension,
90 const Trk::CaloExtension& caloExtension,
96 "ParticleCaloExtensionTool",
Definition of CaloDetDescrManager.
DataVector< Trk::CaloExtension > CaloExtensionCollection
Handle class for reading from StoreGate.
Container class for CaloCell.
Data object for each calorimeter readout cell.
Interface for extending Particles with calo cells.
std::unordered_map< size_t, std::unique_ptr< ParticleCellAssociation > > Cache
Method to get the ParticleCellAssociation for a given Particle.
ToolHandle< Trk::IParticleCaloExtensionTool > m_caloExtensionTool
void associateCells(const CaloCellContainer &container, const Trk::CaloExtension &caloExtension, float dr, std::vector< const CaloCell * > &cells) const
ParticleCaloCellAssociationTool(const std::string &, const std::string &, const IInterface *)
Trk::CaloCellSelectorLayerdR m_defaultSelector
virtual StatusCode finalize() override final
virtual StatusCode initialize() override final
SG::ReadHandleKey< CaloCellContainer > m_cellContainerName
Gaudi::Property< double > m_coneSize
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
virtual std::unique_ptr< ParticleCellAssociation > particleCellAssociation(const xAOD::IParticle &particle, float dr, const CaloCellContainer *container=nullptr, const CaloExtensionCollection *extensionCache=nullptr) const override final
Method to get the ParticleCellAssociation for a given Particle.
virtual ~ParticleCaloCellAssociationTool() override
void getCellIntersections(const Trk::CaloExtension &caloExtension, const std::vector< const CaloCell * > &cells, ParticleCellAssociation::CellIntersections &cellIntersections) const
PathLengthUtils m_pathLenUtil
class storing calorimeter cell association with IParticle objects
Property holding a SG store/key/clid from which a ReadHandle is made.
Tracking class to hold the extrapolation through calorimeter Layers Both the caloEntryLayerIntersecti...
Interface for extending Particles with calo intersections.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.