EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Surfaces/StrawSurface.hpp>
Public Member Functions | |
~StrawSurface () override=default | |
StrawSurface ()=delete | |
StrawSurface & | operator= (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 | |
LineSurface ()=delete | |
LineSurface & | operator= (const LineSurface &other) |
Vector3D | normal (const GeometryContext &gctx, const Vector2D &lposition) const final |
Vector3D | binningPosition (const GeometryContext &gctx, BinningValue bValue) const final |
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 |
BoundRowVector | derivativeFactors (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const RotationMatrix3D &rft, const BoundToFreeMatrix &jacobian) const final |
Vector3D | localToGlobal (const GeometryContext &gctx, const Vector2D &lposition, const Vector3D &momentum) const final |
Result< Vector2D > | globalToLocal (const GeometryContext &gctx, const Vector3D &position, const Vector3D &momentum) const final |
SurfaceIntersection | intersect (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 SurfaceBounds & | bounds () const final |
This method returns the bounds of the Surface by reference */. | |
AlignmentRowVector | alignmentToPathDerivative (const GeometryContext &gctx, const RotationMatrix3D &rotToLocalZAxis, const Vector3D &position, const Vector3D &direction) const final |
LocalCartesianToBoundLocalMatrix | localCartesianToBoundLocalDerivative (const GeometryContext &gctx, const Vector3D &position) 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 |
virtual Vector3D | normal (const GeometryContext &gctx, const Vector3D &position) const |
virtual Vector3D | normal (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 RotationMatrix3D | initJacobianToLocal (const GeometryContext &gctx, FreeToBoundMatrix &jacobian, const Vector3D &position, const Vector3D &direction) 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 |
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) |
Protected Member Functions | |
StrawSurface (const Transform3D &transform, double radius, double halez) | |
StrawSurface (const Transform3D &transform, 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 &shift) | |
Protected Member Functions inherited from Acts::LineSurface | |
LineSurface (const Transform3D &transform, double radius, double halez) | |
LineSurface (const Transform3D &transform, 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 &shift) | |
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) | |
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< T > | makeShared (Args &&...args) |
Protected Attributes inherited from Acts::LineSurface | |
std::shared_ptr< const LineBounds > | m_bounds |
bounds (shared) | |
Class for a StrawSurface in the TrackingGeometry to describe dirft tube and straw like detectors.
Definition at line 28 of file StrawSurface.hpp.
View newest version in sPHENIX GitHub at line 28 of file StrawSurface.hpp
|
protected |
Constructor from Transform3D and bounds
transform | the transform that positions the straw in the global frame |
radius | is the straw radius |
halez | is the half length in z |
Definition at line 20 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 20 of file StrawSurface.cpp
|
protected |
Constructor from Transform3D and a shared bounds object
transform | the transform that positions the straw in the global frame |
lbounds | are the bounds describing the straw dimensions, can be optionally nullptr |
Definition at line 24 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 24 of file StrawSurface.cpp
|
protected |
Constructor from DetectorElementBase : Element proxy
lbounds | are the bounds describing the straw dimensions, they must not be nullptr |
detelement | for which this surface is (at least) one representation |
Definition at line 28 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 28 of file StrawSurface.cpp
|
protected |
Copy constructor
slsf | is the source surface for copying |
Definition at line 33 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 33 of file StrawSurface.cpp
|
protected |
Copy constructor - with shift
gctx | The current geometry context object, e.g. alignment |
other | is the source cone surface |
shift | is the additional transfrom applied after copying |
Definition at line 36 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 36 of file StrawSurface.cpp
|
overridedefault |
|
delete |
|
inlinefinalvirtual |
Return properly formatted class name for screen output */.
Reimplemented from Acts::LineSurface.
Definition at line 101 of file StrawSurface.hpp.
View newest version in sPHENIX GitHub at line 101 of file StrawSurface.hpp
Referenced by eicpy.verify.PythiaHistograms::__init__(), and eicpy.verify.DjangohHistograms::__init__().
Acts::StrawSurface & Acts::StrawSurface::operator= | ( | const StrawSurface & | other | ) |
Assignment operator
other | is the source surface for copying |
Definition at line 41 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 41 of file StrawSurface.cpp
References Acts::LineSurface::m_bounds, and Acts::LineSurface::operator=().
|
finalvirtual |
Return a Polyhedron for the surfaces
gctx | The current geometry context object, e.g. alignment |
lseg | Number of segments along curved lines, it represents the full 2*M_PI coverange, if lseg is set to 1 only the extrema are given |
Helper method to create the segment
Implements Acts::Surface.
Definition at line 49 of file StrawSurface.cpp.
View newest version in sPHENIX GitHub at line 49 of file StrawSurface.cpp
References Acts::detail::VerticesHelper::createSegment(), Acts::detail::FacesHelper::cylindricalFaceMesh(), Acts::LineBounds::eHalfLengthZ, Acts::LineBounds::eR, Acts::detail::VerticesHelper::phiSegments(), and Acts::Test::transform.
|
inlinefinalvirtual |
Return the surface type.
Implements Acts::Surface.
Definition at line 97 of file StrawSurface.hpp.
View newest version in sPHENIX GitHub at line 97 of file StrawSurface.hpp
References Acts::Surface::Straw.
|
private |
Definition at line 29 of file StrawSurface.hpp.
View newest version in sPHENIX GitHub at line 29 of file StrawSurface.hpp