EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
Surface derived class stub. More...
#include <acts/blob/sPHENIX/Tests/UnitTests/Core/Surfaces/SurfaceStub.hpp>
Public Member Functions | |
SurfaceStub (const Transform3D &htrans=Transform3D::Identity()) | |
SurfaceStub (const GeometryContext &gctx, const SurfaceStub &sf, const Transform3D &transf) | |
SurfaceStub (const DetectorElementBase &detelement) | |
~SurfaceStub () override | |
SurfaceType | type () const final |
Return method for the Surface type to avoid dynamic casts. | |
Vector3D | normal (const GeometryContext &gctx, const Vector2D &) const final |
Return method for the normal vector of the surface. | |
Vector3D | normal (const GeometryContext &gctx, const Vector3D &) const final |
Vector3D | normal (const GeometryContext &) const final |
const SurfaceBounds & | bounds () const final |
Return method for SurfaceBounds. | |
Vector3D | localToGlobal (const GeometryContext &, const Vector2D &, const Vector3D &) const final |
Local to global transformation. | |
Result< Vector2D > | globalToLocal (const GeometryContext &, const Vector3D &, const Vector3D &) const final |
Global to local transformation. | |
double | pathCorrection (const GeometryContext &, const Vector3D &, const Vector3D &) const final |
Calculation of the path correction for incident. | |
Vector3D | binningPosition (const GeometryContext &, BinningValue) const final |
Inherited from GeometryObject base. | |
SurfaceIntersection | intersect (const GeometryContext &, const Vector3D &, const Vector3D &, const BoundaryCheck &) const final |
Surface intersction. | |
std::string | name () const final |
Return properly formatted class name. | |
bool | constructedOk () const |
Simply return true to check a method can be called on a constructed object. | |
Polyhedron | polyhedronRepresentation (const GeometryContext &, size_t) const final |
Return a Polyhedron for the surfaces. | |
LocalCartesianToBoundLocalMatrix | localCartesianToBoundLocalDerivative (const GeometryContext &, const Vector3D &) const final |
Public Member Functions inherited from Acts::Surface | |
virtual | ~Surface () |
std::shared_ptr< Surface > | getSharedPtr () |
std::shared_ptr< const Surface > | getSharedPtr () const |
Surface & | operator= (const Surface &other) |
virtual bool | operator== (const Surface &other) const |
virtual bool | operator!= (const Surface &sf) const |
virtual const Transform3D & | transform (const GeometryContext &gctx) const |
virtual Vector3D | center (const GeometryContext &gctx) const |
const DetectorElementBase * | associatedDetectorElement () const |
const Layer * | associatedLayer () const |
void | associateLayer (const Layer &lay) |
const ISurfaceMaterial * | surfaceMaterial () 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 Acts::RotationMatrix3D | referenceFrame (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum) const |
virtual void | initJacobianToGlobal (const GeometryContext &gctx, BoundToFreeMatrix &jacobian, const Vector3D &position, const Vector3D &direction, const BoundVector &pars) const |
virtual RotationMatrix3D | initJacobianToLocal (const GeometryContext &gctx, FreeToBoundMatrix &jacobian, const Vector3D &position, const Vector3D &direction) const |
virtual BoundRowVector | derivativeFactors (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const RotationMatrix3D &rft, const BoundToFreeMatrix &jacobian) const |
virtual std::ostream & | toStream (const GeometryContext &gctx, std::ostream &sl) const |
AlignmentToBoundMatrix | alignmentToBoundDerivative (const GeometryContext &gctx, const FreeVector &derivatives, const Vector3D &position, const Vector3D &direction) const |
virtual AlignmentRowVector | alignmentToPathDerivative (const GeometryContext &gctx, const RotationMatrix3D &rotToLocalZAxis, const Vector3D &position, const Vector3D &direction) const |
Public Member Functions inherited from Acts::GeometryObject | |
GeometryObject ()=default | |
Defaulted construrctor. | |
GeometryObject (const GeometryObject &)=default | |
Defaulted copy constructor. | |
GeometryObject (const GeometryIdentifier &geometryId) | |
GeometryObject & | operator= (const GeometryObject &geometryId) |
const GeometryIdentifier & | geometryId () const |
virtual double | binningPositionValue (const GeometryContext &gctx, BinningValue bValue) const |
void | assignGeometryId (const GeometryIdentifier &geometryId) |
Private Attributes | |
std::shared_ptr< const PlanarBounds > | m_bounds |
the bounds of this 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< T > | makeShared (Args &&...args) |
Protected Member Functions inherited from Acts::Surface | |
Surface (const Transform3D &transform=Transform3D::Identity()) | |
Surface (const Surface &other) | |
Surface (const DetectorElementBase &detelement) | |
Surface (const GeometryContext &gctx, const Surface &other, const Transform3D &shift) | |
Protected Attributes inherited from Acts::Surface | |
Transform3D | m_transform = Transform3D::Identity() |
const DetectorElementBase * | m_associatedDetElement {nullptr} |
Pointer to the a DetectorElementBase. | |
const Layer * | m_associatedLayer {nullptr} |
const TrackingVolume * | m_associatedTrackingVolume {nullptr} |
std::shared_ptr< const ISurfaceMaterial > | m_surfaceMaterial |
Possibility to attach a material descrption. | |
Surface derived class stub.
Definition at line 19 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 19 of file SurfaceStub.hpp
|
inline |
Definition at line 21 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 21 of file SurfaceStub.hpp
|
inline |
Definition at line 23 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 23 of file SurfaceStub.hpp
|
inline |
Definition at line 26 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 26 of file SurfaceStub.hpp
|
inlineoverride |
Definition at line 29 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 29 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Inherited from GeometryObject base.
Implements Acts::GeometryObject.
Definition at line 76 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 76 of file SurfaceStub.hpp
References v.
|
inlinefinalvirtual |
Return method for SurfaceBounds.
Implements Acts::Surface.
Definition at line 50 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 50 of file SurfaceStub.hpp
References Acts::s_noBounds.
|
inline |
Simply return true to check a method can be called on a constructed object.
Definition at line 96 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 96 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Global to local transformation.
Implements Acts::Surface.
Definition at line 62 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 62 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Surface intersction.
Implements Acts::Surface.
Definition at line 83 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 83 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Calculate the derivative of bound track parameters local position w.r.t. position in local 3D Cartesian coordinates
gctx | The current geometry context object, e.g. alignment |
position | The position of the paramters in global |
Implements Acts::Surface.
Definition at line 109 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 109 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Local to global transformation.
Implements Acts::Surface.
Definition at line 55 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 55 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Return properly formatted class name.
Implements Acts::Surface.
Definition at line 93 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 93 of file SurfaceStub.hpp
Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().
|
inlinefinalvirtual |
Return method for the normal vector of the surface.
Implements Acts::Surface.
Definition at line 36 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 36 of file SurfaceStub.hpp
Referenced by normal().
|
inlinefinalvirtual |
Return method for the normal vector of the surface The normal vector can only be generally defined at a given local position It requires a local position to be given (in general)
position | is the global position where the normal vector is constructed |
gctx | The current geometry context object, e.g. alignment |
Reimplemented from Acts::Surface.
Definition at line 41 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 41 of file SurfaceStub.hpp
References normal().
|
inlinefinalvirtual |
Return method for the normal vector of the surface
It will return a normal vector at the center() position
gctx | The current geometry context object, e.g. alignment |
Reimplemented from Acts::Surface.
Definition at line 45 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 45 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Calculation of the path correction for incident.
Implements Acts::Surface.
Definition at line 69 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 69 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Return a Polyhedron for the surfaces.
Implements Acts::Surface.
Definition at line 99 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 99 of file SurfaceStub.hpp
|
inlinefinalvirtual |
Return method for the Surface type to avoid dynamic casts.
Implements Acts::Surface.
Definition at line 33 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 33 of file SurfaceStub.hpp
References Acts::Surface::Other.
|
private |
the bounds of this surface
Definition at line 113 of file SurfaceStub.hpp.
View newest version in sPHENIX GitHub at line 113 of file SurfaceStub.hpp