ATLAS Offline Software
HighGranularityTimingDetector
HGTD_DetDescr
HGTD_ReadoutGeometry
src
HGTD_DetectorElementCollection.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
HGTD_ReadoutGeometry/HGTD_DetectorElementCollection.h
"
6
7
#include "
HGTD_ReadoutGeometry/HGTD_DetectorElement.h
"
8
#include "
Identifier/IdentifierHash.h
"
9
10
const
InDetDD::HGTD_DetectorElement
*
11
InDetDD::HGTD_DetectorElementCollection::getDetectorElement
(
const
IdentifierHash
&
hash
)
const
{
12
const
unsigned
int
value
{
hash
.value()};
13
if
(this->
size
()<=
value
)
return
nullptr
;
14
return
this->at(
value
);
15
}
InDetDD::HGTD_DetectorElement
Definition:
HGTD_DetectorElement.h:40
athena.value
value
Definition:
athena.py:124
python.setupRTTAlg.size
int size
Definition:
setupRTTAlg.py:39
HGTD_DetectorElement.h
IdentifierHash.h
HGTD_DetectorElementCollection.h
CaloCondBlobAlgs_fillNoiseFromASCII.hash
dictionary hash
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:109
IdentifierHash
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
Definition:
IdentifierHash.h:25
InDetDD::HGTD_DetectorElementCollection::getDetectorElement
const HGTD_DetectorElement * getDetectorElement(const IdentifierHash &hash) const
Definition:
HGTD_DetectorElementCollection.cxx:11
Generated on Thu Nov 7 2024 21:16:10 for ATLAS Offline Software by
1.8.18