  | 
  
    ATLAS Offline Software
    
   | 
 
 
 
 
Go to the documentation of this file.
   18 #include "Identifier/Identifier.h" 
   29   m_pixIdHelper(nullptr),
 
   30   m_sctIdHelper(nullptr),
 
   31   m_trtIdHelper(nullptr)
 
   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 );
 
   89         if (!ideHash.is_valid()){
 
   93         return prdFromIdentifierContainer<InDet::PixelCluster>(*pixClusterContainer,ide,ideHash);
 
   98         if(!sctClusterContainer.
isValid())
 
  105         ATH_MSG_VERBOSE(
"SCT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
 
  106         if (!ideHash.is_valid()){
 
  110         return prdFromIdentifierContainer<InDet::SCT_Cluster>(*sctClusterContainer,ide,ideHash);
 
  115         if(!trtDriftCircleContainer.
isValid())
 
  125         ATH_MSG_VERBOSE(
"TRT Identifier found as transformed to hash identifier " << (
unsigned int)ideHash );
 
  126         if (!ideHash.is_valid()){
 
  130         return prdFromIdentifierContainer<InDet::TRT_DriftCircle>(*trtDriftCircleContainer,ide,ideHash);
 
  
def retrieve(aClass, aKey=None)
 
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
 
bool is_pixel(Identifier id) const
 
Identifier layer_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer) const
For an individual straw layer.
 
This is an Identifier helper class for the SCT subdetector. This class is a factory for creating comp...
 
bool is_sct(Identifier id) const
 
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
 
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
 
bool is_trt(Identifier id) const
 
#define ATH_MSG_VERBOSE(x)
 
const std::string & key() const
Return the StoreGate ID for the referenced object.
 
const TRT_ID * m_trtIdHelper
 
bool is_valid() const
Check if id is in a valid state.
 
InDetPRD_Provider(const std::string &t, const std::string &n, const IInterface *p)
 
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
 
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_pixelDetEleCollKey
 
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
 
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
 
const PixelID * m_pixIdHelper
Helper to detect type of sub-detector from PRD->identify().
 
StatusCode finalize()
finalize
 
StatusCode initialize()
Athena algtool's Hooks.
 
::StatusCode StatusCode
StatusCode definition for legacy code.
 
IdentifierHash wafer_hash(const Identifier &wafer_id) const
wafer hash from id - optimized
 
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
 
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
 
int straw_layer(const Identifier &id) const
 
int layer_or_wheel(const Identifier &id) const
 
SG::ReadHandleKey< TRT_DriftCircleContainer > m_trtDriftCircleContainerKey
 
virtual bool isValid() override final
Can the handle be successfully dereferenced?
 
StatusCode initialize(bool used=true)
 
int phi_module(const Identifier &id) const
 
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
 
SG::ReadHandleKey< PixelClusterContainer > m_pixClusterContainerKey
 
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.
 
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
 
IdentifierHash straw_layer_hash(Identifier straw_layer_id) const
straw_layer hash from id - optimized
 
SG::ReadHandleKey< SCT_ClusterContainer > m_sctClusterContainerKey
 
const AtlasDetectorID * m_idHelper
 
const SCT_ID * m_sctIdHelper