ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
ActsPlugins::GeoModelDetectorElementITk Class Reference

Specialization of the GeoModelDetectorElement for the ITk. More...

#include </home/runner/work/acts/acts/Plugins/GeoModel/include/ActsPlugins/GeoModel/GeoModelDetectorElementITk.hpp>

Inheritance diagram for ActsPlugins::GeoModelDetectorElementITk:
[legend]
Collaboration diagram for ActsPlugins::GeoModelDetectorElementITk:
[legend]

Public Member Functions

 GeoModelDetectorElementITk (const PVConstLink &geoPhysVol, std::shared_ptr< Acts::Surface > surface, const Acts::Transform3 &sfTransform, double thickness, int hardware, int barrelEndcap, int layerWheel, int etaModule, int phiModule, int side)
ITkIdentifier identifier () const
Public Member Functions inherited from ActsPlugins::GeoModelDetectorElement
 GeoModelDetectorElement ()=delete
 GeoModelDetectorElement (PVConstLink geoPhysVol, std::shared_ptr< Acts::Surface > surface, const Acts::Transform3 &sfTransform, double thickness)
 Constructor with arguments.
const std::string & databaseEntryName () const
 Get the string identifier of the corresponding database entry Note: This is not by defnitition a unique identifier, there can be several detector elements created from a single database entry.
bool isSensitive () const final
 Is the detector element a sensitive element.
const Acts::Transform3localToGlobalTransform (const Acts::GeometryContext &gctx) const override
 Return local to global transform associated with this detector element.
const std::string & logVolName () const
 Get the name of the logical volume.
const Acts::Transform3nominalTransform () const
 Return the nominal - non-contextual transform.
PVConstLink physicalVolume () const
void setDatabaseEntryName (const std::string &n)
 Set the corresponding database entry string.
const Acts::Surfacesurface () const override
 Return surface associated with this detector element.
Acts::Surfacesurface () override
 Non-const access to surface associated with this detector element.
double thickness () const
 Return the thickness of this detector element.
Public Member Functions inherited from Acts::SurfacePlacementBase
virtual ~SurfacePlacementBase ()=default
 Virtual default constructor.

Static Public Member Functions

static std::tuple< std::shared_ptr< GeoModelDetectorElementITk >, std::shared_ptr< Acts::Surface > > convertFromGeomodel (std::shared_ptr< GeoModelDetectorElement > detEl, std::shared_ptr< Acts::Surface > srf, const Acts::GeometryContext &gctx, int hardware, int barrelEndcap, int layerWheel, int etaModule, int phiModule, int side)
 Convert a GeoModelDetectorElement to a GeoModelDetectorElementITk A new surface is constructed.
Static Public Member Functions inherited from ActsPlugins::GeoModelDetectorElement
template<typename SurfaceType, typename BoundsType>
static std::shared_ptr< GeoModelDetectorElementcreateDetectorElement (const PVConstLink &geoPhysVol, const std::shared_ptr< BoundsType > bounds, const Acts::Transform3 &sfTransform, double thickness)
 Factory to create a planar detector element with connected surface.

Additional Inherited Members

Public Types inherited from ActsPlugins::GeoModelDetectorElement
using ContextType = Acts::GeometryContext
 Broadcast the context type.
Protected Member Functions inherited from ActsPlugins::GeoModelDetectorElement
void attachSurface (std::shared_ptr< Acts::Surface > surface)
 Attach a surface.

Detailed Description

Specialization of the GeoModelDetectorElement for the ITk.

This allows mapping of Acts::GeometryIdentifiers to ITk modules in a straight-forward way.

Constructor & Destructor Documentation

◆ GeoModelDetectorElementITk()

ActsPlugins::GeoModelDetectorElementITk::GeoModelDetectorElementITk ( const PVConstLink & geoPhysVol,
std::shared_ptr< Acts::Surface > surface,
const Acts::Transform3 & sfTransform,
double thickness,
int hardware,
int barrelEndcap,
int layerWheel,
int etaModule,
int phiModule,
int side )

Member Function Documentation

◆ convertFromGeomodel()

std::tuple< std::shared_ptr< GeoModelDetectorElementITk >, std::shared_ptr< Acts::Surface > > ActsPlugins::GeoModelDetectorElementITk::convertFromGeomodel ( std::shared_ptr< GeoModelDetectorElement > detEl,
std::shared_ptr< Acts::Surface > srf,
const Acts::GeometryContext & gctx,
int hardware,
int barrelEndcap,
int layerWheel,
int etaModule,
int phiModule,
int side )
static

Convert a GeoModelDetectorElement to a GeoModelDetectorElementITk A new surface is constructed.

Todo
Remove redundancy in signature once plugin is refactored

◆ identifier()

ITkIdentifier ActsPlugins::GeoModelDetectorElementITk::identifier ( ) const