ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
InDetDD::HGTD_DetectorElementCollection Class Reference

#include <HGTD_DetectorElementCollection.h>

Inheritance diagram for InDetDD::HGTD_DetectorElementCollection:
Collaboration diagram for InDetDD::HGTD_DetectorElementCollection:

Public Member Functions

const HGTD_DetectorElementgetDetectorElement (const IdentifierHash &hash) const
 

Public Attributes

elements
 STL member. More...
 

Detailed Description

Class to hold the HGTD_DetectorElement objects to be put in the detector store

Definition at line 29 of file HGTD_DetectorElementCollection.h.

Member Function Documentation

◆ getDetectorElement()

const InDetDD::HGTD_DetectorElement * InDetDD::HGTD_DetectorElementCollection::getDetectorElement ( const IdentifierHash hash) const

Definition at line 11 of file HGTD_DetectorElementCollection.cxx.

11  {
12  const unsigned int value{hash.value()};
13  if (this->size()<=value) return nullptr;
14  return this->at(value);
15 }

Member Data Documentation

◆ elements

T std::vector< T >::elements
inherited

STL member.


The documentation for this class was generated from the following files:
athena.value
value
Definition: athena.py:122
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109