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

Class to hold collection of TRT detector elements. More...

#include <TRT_DetElementCollection.h>

Inheritance diagram for InDetDD::TRT_DetElementCollection:
Collaboration diagram for InDetDD::TRT_DetElementCollection:

Public Member Functions

const TRT_BaseElementgetDetectorElement (const IdentifierHash &hash) const
 

Public Attributes

elements
 STL member. More...
 

Detailed Description

Class to hold collection of TRT detector elements.

Definition at line 27 of file TRT_DetElementCollection.h.

Member Function Documentation

◆ getDetectorElement()

const InDetDD::TRT_BaseElement * InDetDD::TRT_DetElementCollection::getDetectorElement ( const IdentifierHash hash) const

Definition at line 11 of file TRT_DetElementCollection.cxx.

11  {
12  unsigned int value{hash.value()};
13  if (this->size()<=value) return nullptr;
14  return (*this)[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:124
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:109