18#include "Identifier/Identifier.h"
33 declareInterface<Trk::IPRD_Provider>(
this);
59 return StatusCode::SUCCESS;
65 return StatusCode::SUCCESS;
81 if(!pixClusterContainer.
isValid())
88 ATH_MSG_VERBOSE(
"Pixel Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
98 if(!sctClusterContainer.
isValid())
105 ATH_MSG_VERBOSE(
"SCT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
115 if(!trtDriftCircleContainer.
isValid())
125 ATH_MSG_VERBOSE(
"TRT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_VERBOSE(x)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
This is an Identifier helper class for the Pixel subdetector.
This is an Identifier helper class for the SCT subdetector.
This is an Identifier helper class for the TRT subdetector.
const ServiceHandle< StoreGateSvc > & detStore() const
This is a "hash" representation of an Identifier.
bool is_valid() const
Check if id is in a valid state.
bool is_valid() const
Check if id is in a valid state.
SG::ReadHandleKey< PixelClusterContainer > m_pixClusterContainerKey
StatusCode finalize()
finalize
const Trk::PrepRawData * prdFromIdentifier(const Identifier &ide, size_t &ndof) const
return the Prd given the Identifier - make a HashId out of the Id and return the associated PRD
SG::ReadHandleKey< SCT_ClusterContainer > m_sctClusterContainerKey
InDetPRD_Provider(const std::string &t, const std::string &n, const IInterface *p)
StatusCode initialize()
Athena algtool's Hooks.
const TRT_ID * m_trtIdHelper
SG::ReadHandleKey< TRT_DriftCircleContainer > m_trtDriftCircleContainerKey
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
const Trk::PrepRawData * prdFromIdentifierContainer(const Trk::PrepRawDataContainer< Trk::PrepRawDataCollection< PrdT > > &cont, const Identifier &ideh, const IdentifierHash &ideHash) const
templated method since used for Pixel/SCT/TRT
const SCT_ID * m_sctIdHelper
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
const PixelID * m_pixIdHelper
Helper to detect type of sub-detector from PRD->identify().
const AtlasDetectorID * m_idHelper
virtual bool isValid() override final
Can the handle be successfully dereferenced?