ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Core/include/Acts/Geometry/TrackingGeometry.hpp>
Public Member Functions | |
TrackingGeometry (const MutableTrackingVolumePtr &highestVolume, const IMaterialDecorator *materialDecorator=nullptr) | |
~TrackingGeometry () | |
Destructor. | |
const TrackingVolume * | highestTrackingVolume () const |
const TrackingVolume * | lowestTrackingVolume (const GeometryContext &gctx, const Vector3D &gp) const |
const TrackingVolume * | trackingVolume (const std::string &name) const |
const Layer * | associatedLayer (const GeometryContext &gctx, const Vector3D &gp) const |
void | registerBeamTube (std::shared_ptr< const PerigeeSurface > beam) |
const Surface * | getBeamline () const |
surface representing the beam pipe | |
void | visitSurfaces (const std::function< void(const Acts::Surface *)> &visitor) const |
Visit all sensitive surfaces. | |
Private Attributes | |
TrackingVolumePtr | m_world |
The known world - and the beamline. | |
std::shared_ptr< const PerigeeSurface > | m_beam |
std::map< std::string, const TrackingVolume * > | m_trackingVolumes |
The Volumes in a map for string based search. | |
Friends | |
class | TrackingGeometryBuilder |
Give the GeometryBuilder friend rights. | |
The TrackingGeometry class is the owner of the constructed TrackingVolumes.
It enables both, a global search for an asociatedVolume (respectively, if existing, a global search of an associated Layer or the next associated Layer), such as a continous navigation by BoundarySurfaces between the confined TrackingVolumes.
Definition at line 43 of file TrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 43 of file TrackingGeometry.hpp
Acts::TrackingGeometry::TrackingGeometry | ( | const MutableTrackingVolumePtr & | highestVolume, |
const IMaterialDecorator * | materialDecorator = nullptr |
||
) |
Constructor
highestVolume | is the world volume |
materialDecorator | is a dediated decorator that can assign surface or volume based material to the TrackingVolume |
Definition at line 21 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 21 of file TrackingGeometry.cpp
References m_trackingVolumes.
|
default |
Destructor.
const Acts::Layer * Acts::TrackingGeometry::associatedLayer | ( | const GeometryContext & | gctx, |
const Vector3D & | gp | ||
) | const |
Forward the associated Layer information
gctx is the context for this request (e.g. alignment)
gp | is the global position of the call |
Definition at line 59 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 59 of file TrackingGeometry.cpp
References Acts::TrackingVolume::associatedLayer().
const Acts::Surface * Acts::TrackingGeometry::getBeamline | ( | ) | const |
surface representing the beam pipe
Definition at line 70 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 70 of file TrackingGeometry.cpp
const Acts::TrackingVolume * Acts::TrackingGeometry::highestTrackingVolume | ( | ) | const |
Access to the world volume
Definition at line 44 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 44 of file TrackingGeometry.cpp
Referenced by Acts::VolumeMaterialMapper::createState(), Acts::SurfaceMaterialMapper::createState(), Acts::JsonGeometryConverter::trackingGeometryToJson(), FW::Obj::ObjTrackingGeometryWriter::write(), and FW::RootMaterialWriter::write().
const Acts::TrackingVolume * Acts::TrackingGeometry::lowestTrackingVolume | ( | const GeometryContext & | gctx, |
const Vector3D & | gp | ||
) | const |
return the lowest tracking Volume
gctx | The current geometry context object, e.g. alignment |
gp | is the global position of the call |
Definition at line 33 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 33 of file TrackingGeometry.cpp
References Acts::TrackingVolume::lowestTrackingVolume().
void Acts::TrackingGeometry::registerBeamTube | ( | std::shared_ptr< const PerigeeSurface > | beam | ) |
Register the beam tube
beam | is the beam line surface |
Definition at line 65 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 65 of file TrackingGeometry.cpp
const Acts::TrackingVolume * Acts::TrackingGeometry::trackingVolume | ( | const std::string & | name | ) | const |
return the lowest tracking Volume
name | is the name for the volume search |
Definition at line 49 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 49 of file TrackingGeometry.cpp
void Acts::TrackingGeometry::visitSurfaces | ( | const std::function< void(const Acts::Surface *)> & | visitor | ) | const |
Visit all sensitive surfaces.
visitor | The callable. Will be called for each sensitive surface that is found |
Definition at line 74 of file TrackingGeometry.cpp.
View newest version in sPHENIX GitHub at line 74 of file TrackingGeometry.cpp
Referenced by FW::Contextual::PayloadDecorator::parseGeometry().
|
friend |
Give the GeometryBuilder friend rights.
Definition at line 45 of file TrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 45 of file TrackingGeometry.hpp
|
private |
Definition at line 111 of file TrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 111 of file TrackingGeometry.hpp
|
private |
The Volumes in a map for string based search.
Definition at line 114 of file TrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 114 of file TrackingGeometry.hpp
Referenced by TrackingGeometry().
|
private |
The known world - and the beamline.
Definition at line 110 of file TrackingGeometry.hpp.
View newest version in sPHENIX GitHub at line 110 of file TrackingGeometry.hpp