ATLAS Offline Software
Loading...
Searching...
No Matches
InDetDD
HGTDDetEl
Functions
InDetDD::HGTDDetEl Namespace Reference
Functions
const
HGTD_DetectorElement
*
getDetectorElement
(const
IdentifierHash
&hash, const
HGTD_DetectorElementCollection
&coll)
Function Documentation
◆
getDetectorElement()
const
HGTD_DetectorElement
* InDetDD::HGTDDetEl::getDetectorElement
(
const
IdentifierHash
&
hash
,
const
HGTD_DetectorElementCollection
&
coll
)
inline
Definition at line
25
of file
HGTD_DetectorElementCollection.h
.
26
{
27
const
unsigned
int
value{hash.value()};
28
if
(coll.
size
() <= value){
29
return
nullptr
;
30
}
31
return
coll.
at
(value);
32
}
DataVector::at
const T * at(size_type n) const
Access an element, as an rvalue.
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
Generated on
for ATLAS Offline Software by
1.14.0