Project
Loading...
Searching...
No Matches
o2::acts::TrackingGeometryOutput Struct Reference

#include <ITrackingGeometryBuilder.h>

Public Attributes

std::shared_ptr< Acts::TrackingGeometry > geometry
 
std::vector< std::shared_ptr< const Acts::SurfacePlacementBase > > elementStore
 
SurfaceIndexMap index
 Sensor <-> surface lookup. May be empty if the builder cannot provide one.
 

Detailed Description

Everything a builder produces, kept together because the parts have a lifetime dependency on each other.

Definition at line 37 of file ITrackingGeometryBuilder.h.

Member Data Documentation

◆ elementStore

std::vector<std::shared_ptr<const Acts::SurfacePlacementBase> > o2::acts::TrackingGeometryOutput::elementStore

Detector elements backing the sensitive surfaces.

Acts::TrackingGeometry does NOT own these: Acts::Surface keeps a raw, non-owning back-pointer to its placement (Surface::surfacePlacement()). Destroying this store while geometry is alive is a dangling-pointer bug, so it must be kept for at least as long as the geometry.

Definition at line 48 of file ITrackingGeometryBuilder.h.

◆ geometry

std::shared_ptr<Acts::TrackingGeometry> o2::acts::TrackingGeometryOutput::geometry

Non-const so the manager can still decorate it with material before handing it out; it is published as shared_ptr<const> afterwards.

Definition at line 40 of file ITrackingGeometryBuilder.h.

◆ index

SurfaceIndexMap o2::acts::TrackingGeometryOutput::index

Sensor <-> surface lookup. May be empty if the builder cannot provide one.

Definition at line 51 of file ITrackingGeometryBuilder.h.


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