Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PerigeeSurface Class Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/PerigeeSurface.hpp>

+ Inheritance diagram for Acts::PerigeeSurface:
+ Collaboration diagram for Acts::PerigeeSurface:

Public Member Functions

 ~PerigeeSurface () override=default
 Destructor - defaulted.
 
 PerigeeSurface ()=delete
 Default Constructor - deleted.
 
PerigeeSurfaceoperator= (const PerigeeSurface &other)
 
SurfaceType type () const final
 Return the surface type.
 
std::string name () const final
 Return properly formatted class name for screen output */.
 
std::ostream & toStream (const GeometryContext &gctx, std::ostream &sl) const final
 
Polyhedron polyhedronRepresentation (const GeometryContext &gctx, size_t lseg) const final
 
- Public Member Functions inherited from Acts::LineSurface
 ~LineSurface () override=default
 
 LineSurface ()=delete
 
LineSurfaceoperator= (const LineSurface &other)
 
Vector3 normal (const GeometryContext &gctx, const Vector2 &lposition) const final
 
Vector3 binningPosition (const GeometryContext &gctx, BinningValue bValue) const final
 
RotationMatrix3 referenceFrame (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const final
 
BoundToFreeMatrix boundToFreeJacobian (const GeometryContext &gctx, const BoundVector &boundParams) const final
 
FreeToPathMatrix freeToPathDerivative (const GeometryContext &gctx, const FreeVector &parameters) const final
 
Vector3 localToGlobal (const GeometryContext &gctx, const Vector2 &lposition, const Vector3 &direction) const final
 
Result< Vector2globalToLocal (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, double tolerance=s_onSurfaceTolerance) const final
 
SurfaceMultiIntersection intersect (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryCheck &bcheck=false, ActsScalar tolerance=s_onSurfaceTolerance) const final
 
double pathCorrection (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const override
 
const SurfaceBoundsbounds () const final
 This method returns the bounds of the surface by reference.
 
AlignmentToPathMatrix alignmentToPathDerivative (const GeometryContext &gctx, const FreeVector &parameters) const final
 
ActsMatrix< 2, 3 > localCartesianToBoundLocalDerivative (const GeometryContext &gctx, const Vector3 &position) const final
 
Vector3 lineDirection (const GeometryContext &gctx) const
 
- 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 Transform3transform (const GeometryContext &gctx) const
 
virtual Vector3 center (const GeometryContext &gctx) const
 
virtual Vector3 normal (const GeometryContext &gctx, const Vector3 &position) const
 
virtual Vector3 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 assignDetectorElement (const DetectorElementBase &detelement)
 
void assignSurfaceMaterial (std::shared_ptr< const ISurfaceMaterial > material)
 
bool isOnSurface (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const BoundaryCheck &bcheck=true) const
 
virtual bool insideBounds (const Vector2 &lposition, const BoundaryCheck &bcheck=true) const
 
virtual FreeToBoundMatrix freeToBoundJacobian (const GeometryContext &gctx, const FreeVector &parameters) const
 
std::string toString (const GeometryContext &gctx) const
 
AlignmentToBoundMatrix alignmentToBoundDerivative (const GeometryContext &gctx, const FreeVector &parameters, const FreeVector &pathDerivative) const
 
- Public Member Functions inherited from Acts::GeometryObject
 GeometryObject ()=default
 Defaulted constructor.
 
 GeometryObject (const GeometryObject &)=default
 Defaulted copy constructor.
 
 GeometryObject (const GeometryIdentifier &geometryId)
 
GeometryObjectoperator= (const GeometryObject &geometryId)
 
const GeometryIdentifiergeometryId () const
 
virtual double binningPositionValue (const GeometryContext &gctx, BinningValue bValue) const
 
void assignGeometryId (const GeometryIdentifier &geometryId)
 

Protected Member Functions

 PerigeeSurface (const Vector3 &gp)
 
 PerigeeSurface (const Transform3 &transform)
 
 PerigeeSurface (const PerigeeSurface &other)
 
 PerigeeSurface (const GeometryContext &gctx, const PerigeeSurface &other, const Transform3 &shift)
 
- Protected Member Functions inherited from Acts::LineSurface
 LineSurface (const Transform3 &transform, double radius, double halez)
 
 LineSurface (const Transform3 &transform, std::shared_ptr< const LineBounds > lbounds=nullptr)
 
 LineSurface (std::shared_ptr< const LineBounds > lbounds, const DetectorElementBase &detelement)
 
 LineSurface (const LineSurface &other)
 
 LineSurface (const GeometryContext &gctx, const LineSurface &other, const Transform3 &shift)
 
- Protected Member Functions inherited from Acts::Surface
 Surface (const Transform3 &transform=Transform3::Identity())
 
 Surface (const Surface &other)
 
 Surface (const DetectorElementBase &detelement)
 
 Surface (const GeometryContext &gctx, const Surface &other, const Transform3 &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)
 
- Static Public Attributes inherited from Acts::Surface
static std::array< std::string,
SurfaceType::Other > 
s_surfaceTypeNames
 Helper strings for screen output.
 
- Protected Attributes inherited from Acts::LineSurface
std::shared_ptr< const LineBoundsm_bounds
 bounds (shared)
 

Detailed Description

Class describing the Line to which the Perigee refers to. The Surface axis is fixed to be the z-axis of the Tracking frame. It inherits from StraingLineSurface.

LineSurface.png

Definition at line 30 of file PerigeeSurface.hpp.

View newest version in sPHENIX GitHub at line 30 of file PerigeeSurface.hpp

Constructor & Destructor Documentation

Acts::PerigeeSurface::PerigeeSurface ( const Vector3 gp)
protected

Constructor from GlobalPosition

Parameters
gpposition where the perigee is centered

Definition at line 18 of file PerigeeSurface.cpp.

View newest version in sPHENIX GitHub at line 18 of file PerigeeSurface.cpp

Acts::PerigeeSurface::PerigeeSurface ( const Transform3 transform)
protected

Constructor with a Transform - needed for tilt

Parameters
transformis the transform for position and tilting

Definition at line 21 of file PerigeeSurface.cpp.

View newest version in sPHENIX GitHub at line 21 of file PerigeeSurface.cpp

Acts::PerigeeSurface::PerigeeSurface ( const PerigeeSurface other)
protected

Copy constructor

Parameters
otheris the source surface to be copied

Definition at line 24 of file PerigeeSurface.cpp.

View newest version in sPHENIX GitHub at line 24 of file PerigeeSurface.cpp

Acts::PerigeeSurface::PerigeeSurface ( const GeometryContext gctx,
const PerigeeSurface other,
const Transform3 shift 
)
protected

Copy constructor - with shift

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

Definition at line 27 of file PerigeeSurface.cpp.

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

Acts::PerigeeSurface::~PerigeeSurface ( )
overridedefault

Destructor - defaulted.

Acts::PerigeeSurface::PerigeeSurface ( )
delete

Default Constructor - deleted.

Member Function Documentation

std::string Acts::PerigeeSurface::name ( ) const
finalvirtual

Return properly formatted class name for screen output */.

Reimplemented from Acts::LineSurface.

Definition at line 44 of file PerigeeSurface.cpp.

View newest version in sPHENIX GitHub at line 44 of file PerigeeSurface.cpp

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

Assignment operator

Parameters
otheris the source surface to be assigned

Definition at line 32 of file PerigeeSurface.cpp.

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

References Acts::LineSurface::operator=().

+ Here is the call graph for this function:

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

Return a Polyhedron for the surfaces

Parameters
gctxThe current geometry context object, e.g. alignment
lsegis ignored for a perigee
Note
ignored
Returns
A list of vertices and a face/facett description of it

Implements Acts::Surface.

Definition at line 60 of file PerigeeSurface.cpp.

View newest version in sPHENIX GitHub at line 60 of file PerigeeSurface.cpp

References left(), Acts::Test::transform, and ActsExamples::HepMC3Event::vertices().

+ Here is the call graph for this function:

std::ostream & Acts::PerigeeSurface::toStream ( const GeometryContext gctx,
std::ostream &  sl 
) const
finalvirtual

Output Method for std::ostream

Parameters
gctxThe current geometry context object, e.g. alignment
slis the ostream to be dumped into
Returns
ostreamn object which was streamed into

Reimplemented from Acts::Surface.

Definition at line 48 of file PerigeeSurface.cpp.

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

Acts::Surface::SurfaceType Acts::PerigeeSurface::type ( ) const
finalvirtual

Return the surface type.

Implements Acts::Surface.

Definition at line 40 of file PerigeeSurface.cpp.

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

References Acts::Surface::Perigee.

Member Data Documentation

friend Acts::PerigeeSurface::Surface
private

Definition at line 32 of file PerigeeSurface.hpp.

View newest version in sPHENIX GitHub at line 32 of file PerigeeSurface.hpp


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