ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::StrawSurface Class Reference

#include <acts/blob/master/Core/include/Acts/Surfaces/StrawSurface.hpp>

+ Inheritance diagram for Acts::StrawSurface:
+ Collaboration diagram for Acts::StrawSurface:

Public Member Functions

 ~StrawSurface () override=default
 Destructor - defaulted.
 
 StrawSurface ()=delete
 Default Constructor - deleted.
 
StrawSurfaceoperator= (const StrawSurface &other)
 
SurfaceType type () const final
 Return the surface type.
 
std::string name () const final
 Return properly formatted class name for screen output */.
 
Polyhedron polyhedronRepresentation (const GeometryContext &gctx, size_t lseg) const final
 
- Public Member Functions inherited from Acts::LineSurface
 ~LineSurface () override=default
 Destructor - defaulted.
 
 LineSurface ()=delete
 Default Constructor - deleted.
 
LineSurfaceoperator= (const LineSurface &other)
 
const Vector3D normal (const GeometryContext &gctx, const Vector2D &lposition) const final
 
const Vector3D binningPosition (const GeometryContext &gctx, BinningValue bValue) const final
 
const RotationMatrix3D referenceFrame (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum) const final
 
void initJacobianToGlobal (const GeometryContext &gctx, BoundToFreeMatrix &jacobian, const Vector3D &position, const Vector3D &direction, const BoundVector &pars) const final
 
const BoundRowVector derivativeFactors (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const RotationMatrix3D &rft, const BoundToFreeMatrix &jacobian) const final
 
void localToGlobal (const GeometryContext &gctx, const Vector2D &lposition, const Vector3D &momentum, Vector3D &position) const final
 
bool globalToLocal (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum, Vector2D &lposition) const final
 
Intersection intersectionEstimate (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const BoundaryCheck &bcheck=false) const final
 Straight line intersection schema.
 
double pathCorrection (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum) const override
 
const SurfaceBoundsbounds () const final
 This method returns the bounds of the Surface by reference */.
 
- Public Member Functions inherited from Acts::Surface
virtual ~Surface ()
 
std::shared_ptr< SurfacegetSharedPtr ()
 
std::shared_ptr< const SurfacegetSharedPtr () const
 
Surfaceoperator= (const Surface &other)
 
virtual bool operator== (const Surface &other) const
 
virtual bool operator!= (const Surface &sf) const
 
virtual const Transform3Dtransform (const GeometryContext &gctx) const
 
virtual const Vector3D center (const GeometryContext &gctx) const
 
virtual const Vector3D normal (const GeometryContext &gctx, const Vector3D &position) const
 
virtual const Vector3D normal (const GeometryContext &gctx) const
 
const DetectorElementBaseassociatedDetectorElement () const
 
const LayerassociatedLayer () const
 
void associateLayer (const Layer &lay)
 
const ISurfaceMaterialsurfaceMaterial () const
 
const std::shared_ptr< const
ISurfaceMaterial > & 
surfaceMaterialSharedPtr () const
 
void assignSurfaceMaterial (std::shared_ptr< const ISurfaceMaterial > material)
 
bool isOnSurface (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum, const BoundaryCheck &bcheck=true) const
 
virtual bool insideBounds (const Vector2D &lposition, const BoundaryCheck &bcheck=true) const
 
virtual const RotationMatrix3D initJacobianToLocal (const GeometryContext &gctx, FreeToBoundMatrix &jacobian, const Vector3D &position, const Vector3D &direction) const
 
virtual SurfaceIntersection intersect (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const BoundaryCheck &bcheck) const
 
virtual std::ostream & toStream (const GeometryContext &gctx, std::ostream &sl) const
 
- Public Member Functions inherited from Acts::GeometryObject
 GeometryObject ()=default
 Defaulted construrctor.
 
 GeometryObject (const GeometryObject &)=default
 Defaulted copy constructor.
 
 GeometryObject (const GeometryID &geoID)
 
GeometryObjectoperator= (const GeometryObject &geoID)
 
const GeometryIDgeoID () const
 
virtual double binningPositionValue (const GeometryContext &gctx, BinningValue bValue) const
 
void assignGeoID (const GeometryID &geoID)
 

Protected Member Functions

 StrawSurface (std::shared_ptr< const Transform3D > htrans, double radius, double halez)
 
 StrawSurface (std::shared_ptr< const Transform3D > htrans, std::shared_ptr< const LineBounds > lbounds=nullptr)
 
 StrawSurface (const std::shared_ptr< const LineBounds > &lbounds, const DetectorElementBase &detelement)
 
 StrawSurface (const StrawSurface &other)
 
 StrawSurface (const GeometryContext &gctx, const StrawSurface &other, const Transform3D &transf)
 
- Protected Member Functions inherited from Acts::LineSurface
 LineSurface (std::shared_ptr< const Transform3D > htrans, double radius, double halez)
 
 LineSurface (std::shared_ptr< const Transform3D > htrans, std::shared_ptr< const LineBounds > lbounds=nullptr)
 
 LineSurface (const std::shared_ptr< const LineBounds > &lbounds, const DetectorElementBase &detelement)
 
 LineSurface (const LineSurface &other)
 
 LineSurface (const GeometryContext &gctx, const LineSurface &other, const Transform3D &transf)
 
- Protected Member Functions inherited from Acts::Surface
 Surface (std::shared_ptr< const Transform3D > tform=nullptr)
 
 Surface (const Surface &other)
 
 Surface (const DetectorElementBase &detelement)
 
 Surface (const GeometryContext &gctx, const Surface &other, const Transform3D &shift)
 

Private Attributes

friend Surface
 

Additional Inherited Members

- Public Types inherited from Acts::Surface
enum  SurfaceType {
  Cone = 0, Cylinder = 1, Disc = 2, Perigee = 3,
  Plane = 4, Straw = 5, Curvilinear = 6, Other = 7
}
 
- Static Public Member Functions inherited from Acts::Surface
template<class T , typename... Args>
static std::shared_ptr< TmakeShared (Args &&...args)
 
- Protected Attributes inherited from Acts::LineSurface
std::shared_ptr< const LineBoundsm_bounds
 bounds (shared)
 

Detailed Description

Class for a StrawSurface in the TrackingGeometry to describe dirft tube and straw like detectors.

LineSurface.png

Definition at line 28 of file StrawSurface.hpp.

View newest version in sPHENIX GitHub at line 28 of file StrawSurface.hpp

Constructor & Destructor Documentation

Acts::StrawSurface::StrawSurface ( std::shared_ptr< const Transform3D htrans,
double  radius,
double  halez 
)
protected

Constructor from Transform3D and bounds

Parameters
htransis the transform that positions the surface in the global frame
radiusis the straw radius
halezis the half length in z

Definition at line 19 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 19 of file StrawSurface.cpp

Acts::StrawSurface::StrawSurface ( std::shared_ptr< const Transform3D htrans,
std::shared_ptr< const LineBounds lbounds = nullptr 
)
protected

Constructor from Transform3D and a shared bounds object

Parameters
htransis the transform that positions the surface in the global frame
lboundsare the bounds describing the straw dimensions, can be optionally nullptr

Definition at line 23 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 23 of file StrawSurface.cpp

Acts::StrawSurface::StrawSurface ( const std::shared_ptr< const LineBounds > &  lbounds,
const DetectorElementBase detelement 
)
protected

Constructor from DetectorElementBase : Element proxy

Parameters
lboundsare the bounds describing the straw dimensions, they must not be nullptr
detelementfor which this surface is (at least) one representation

Definition at line 27 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 27 of file StrawSurface.cpp

Acts::StrawSurface::StrawSurface ( const StrawSurface other)
protected

Copy constructor

Parameters
slsfis the source surface for copying

Definition at line 32 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 32 of file StrawSurface.cpp

Acts::StrawSurface::StrawSurface ( const GeometryContext gctx,
const StrawSurface other,
const Transform3D transf 
)
protected

Copy constructor - with shift

Parameters
gctxThe current geometry context object, e.g. alignment
otheris the source cone surface
transfis the additional transfrom applied after copying

Definition at line 35 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 35 of file StrawSurface.cpp

Acts::StrawSurface::~StrawSurface ( )
overridedefault

Destructor - defaulted.

Acts::StrawSurface::StrawSurface ( )
delete

Default Constructor - deleted.

Member Function Documentation

std::string Acts::StrawSurface::name ( ) const
inlinefinalvirtual

Return properly formatted class name for screen output */.

Reimplemented from Acts::LineSurface.

Definition at line 105 of file StrawSurface.hpp.

View newest version in sPHENIX GitHub at line 105 of file StrawSurface.hpp

Acts::StrawSurface & Acts::StrawSurface::operator= ( const StrawSurface other)

Assignment operator

Parameters
otheris the source surface for copying

Definition at line 40 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 40 of file StrawSurface.cpp

References Acts::LineSurface::m_bounds, and Acts::LineSurface::operator=().

+ Here is the call graph for this function:

Acts::Polyhedron Acts::StrawSurface::polyhedronRepresentation ( const GeometryContext gctx,
size_t  lseg 
) const
finalvirtual

Return a Polyhedron for the surfaces

Parameters
gctxThe current geometry context object, e.g. alignment
lsegNumber of segments along curved lines, it represents the full 2*M_PI coverange, if lseg is set to 1 only the extrema are given
Note
if lseg is set to 1 then only the straw is created
Returns
A list of vertices and a face/facett description of it

Helper method to create the segment

Implements Acts::Surface.

Definition at line 48 of file StrawSurface.cpp.

View newest version in sPHENIX GitHub at line 48 of file StrawSurface.cpp

References Acts::detail::VerticesHelper::createSegment(), Acts::detail::FacesHelper::cylindricalFaceMesh(), Acts::LineBounds::eHalfLengthZ, Acts::LineBounds::eR, left, Acts::detail::VerticesHelper::phiSegments(), r, right, and Acts::Test::transform.

+ Here is the call graph for this function:

Surface::SurfaceType Acts::StrawSurface::type ( ) const
inlinefinalvirtual

Return the surface type.

Implements Acts::Surface.

Definition at line 101 of file StrawSurface.hpp.

View newest version in sPHENIX GitHub at line 101 of file StrawSurface.hpp

References Acts::Surface::Straw.

Member Data Documentation

friend Acts::StrawSurface::Surface
private

Definition at line 29 of file StrawSurface.hpp.

View newest version in sPHENIX GitHub at line 29 of file StrawSurface.hpp


The documentation for this class was generated from the following files: