ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::DetectorElementToActsGeometryIdMap Struct Reference

#include <DetectorElementToActsGeometryIdMap.h>

Inheritance diagram for ActsTrk::DetectorElementToActsGeometryIdMap:
Collaboration diagram for ActsTrk::DetectorElementToActsGeometryIdMap:

Static Public Member Functions

static DetectorElementGeoInfo makeValue (const Acts::GeometryIdentifier &geo_id, const Acts::Surface *surface=nullptr)
static const Acts::GeometryIdentifier & getValue (const value_type &element)
static const Acts::Surface * getSurface (const value_type &element)
 Surface of the detector element, or nullptr if none was stored.

Public Attributes

K keys
 STL member.
T elements
 STL member.

Detailed Description

Definition at line 33 of file DetectorElementToActsGeometryIdMap.h.

Member Function Documentation

◆ getSurface()

const Acts::Surface * ActsTrk::DetectorElementToActsGeometryIdMap::getSurface ( const value_type & element)
inlinestatic

Surface of the detector element, or nullptr if none was stored.

Definition at line 45 of file DetectorElementToActsGeometryIdMap.h.

45 {
46 return element.second.surface;
47 }

◆ getValue()

const Acts::GeometryIdentifier & ActsTrk::DetectorElementToActsGeometryIdMap::getValue ( const value_type & element)
inlinestatic

Definition at line 41 of file DetectorElementToActsGeometryIdMap.h.

41 {
42 return element.second.geoId;
43 }

◆ makeValue()

DetectorElementGeoInfo ActsTrk::DetectorElementToActsGeometryIdMap::makeValue ( const Acts::GeometryIdentifier & geo_id,
const Acts::Surface * surface = nullptr )
inlinestatic

Definition at line 37 of file DetectorElementToActsGeometryIdMap.h.

38 {
39 return DetectorElementGeoInfo{geo_id, surface};
40 }

Member Data Documentation

◆ elements

T std::unordered_map< K, T >::elements
inherited

STL member.

◆ keys

K std::unordered_map< K, T >::keys
inherited

STL member.


The documentation for this struct was generated from the following file: