ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/Tests/UnitTests/Core/Geometry/LayerStub.hpp>
Public Member Functions | |
LayerStub ()=delete | |
constructor (deleted in Surface baseclass) | |
LayerStub (const LayerStub &otherLayer)=delete | |
copy constructor (deleted in Surface baseclass) | |
LayerStub (std::unique_ptr< SurfaceArray > surfaceArray, double thickness=0, std::unique_ptr< ApproachDescriptor > ad=nullptr, LayerType ltype=passive) | |
constructor with pointer to SurfaceArray (protected in Layer baseclass) | |
~LayerStub () override | |
Destructor. | |
LayerStub & | operator= (const LayerStub &lay)=delete |
Assignment is deleted in the Layer baseclass. | |
const Surface & | surfaceRepresentation () const override |
surfaceRepresentation is pure virtual in baseclass | |
Surface & | surfaceRepresentation () override |
bool | constructedOk () const |
Public Member Functions inherited from Acts::SurfaceStub | |
SurfaceStub (std::shared_ptr< const Transform3D > htrans=nullptr) | |
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. | |
const Vector3D | normal (const GeometryContext &gctx, const Vector2D &) const final |
Return method for the normal vector of the surface. | |
const Vector3D | normal (const GeometryContext &gctx, const Vector3D &) const final |
const Vector3D | normal (const GeometryContext &) const final |
const SurfaceBounds & | bounds () const final |
Return method for SurfaceBounds. | |
void | localToGlobal (const GeometryContext &, const Vector2D &, const Vector3D &, Vector3D &) const final |
Local to global transformation. | |
bool | globalToLocal (const GeometryContext &, const Vector3D &, const Vector3D &, Vector2D &lpos) const final |
Global to local transformation. | |
double | pathCorrection (const GeometryContext &, const Vector3D &, const Vector3D &) const final |
Calculation of the path correction for incident. | |
Intersection | intersectionEstimate (const GeometryContext &, const Vector3D &, const Vector3D &, const BoundaryCheck &) const final |
Straight line intersection schema from parameters. | |
const Vector3D | binningPosition (const GeometryContext &, BinningValue) const final |
Inherited from GeometryObject base. | |
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. | |
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 const 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 const 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 const RotationMatrix3D | initJacobianToLocal (const GeometryContext &gctx, FreeToBoundMatrix &jacobian, const Vector3D &position, const Vector3D &direction) const |
virtual const BoundRowVector | derivativeFactors (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const RotationMatrix3D &rft, const BoundToFreeMatrix &jacobian) 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) | |
GeometryObject & | operator= (const GeometryObject &geoID) |
const GeometryID & | geoID () const |
virtual double | binningPositionValue (const GeometryContext &gctx, BinningValue bValue) const |
void | assignGeoID (const GeometryID &geoID) |
Public Member Functions inherited from Acts::Layer | |
Layer ()=delete | |
Default Constructor - deleted. | |
Layer (const Layer &)=delete | |
Copy Constructor - deleted. | |
virtual | ~Layer ()=default |
Destructor. | |
Layer & | operator= (const Layer &)=delete |
const SurfaceArray * | surfaceArray () const |
Return the entire SurfaceArray, returns a nullptr if no SurfaceArray. | |
SurfaceArray * | surfaceArray () |
Non-const version. | |
double | thickness () const |
virtual bool | isOnLayer (const GeometryContext &gctx, const Vector3D &position, const BoundaryCheck &bcheck=true) const |
const ApproachDescriptor * | approachDescriptor () const |
Return method for the approach descriptor, can be nullptr. | |
ApproachDescriptor * | approachDescriptor () |
Non-const version of the approach descriptor. | |
template<typename options_t > | |
bool | resolve (const options_t &options) const |
virtual bool | resolve (bool resolveSensitive, bool resolveMaterial, bool resolvePassive) const |
template<typename options_t > | |
std::vector< SurfaceIntersection > | compatibleSurfaces (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const options_t &options) const |
Decompose Layer into (compatible) surfaces. | |
template<typename options_t > | |
const SurfaceIntersection | surfaceOnApproach (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction, const options_t &options) const |
const Layer * | nextLayer (const GeometryContext &gctx, const Vector3D &position, const Vector3D &direction) const |
const TrackingVolume * | trackingVolume () const |
const AbstractVolume * | representingVolume () const |
LayerType | layerType () const |
return the LayerType | |
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 (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) | |
Protected Member Functions inherited from Acts::Layer | |
Layer (std::unique_ptr< SurfaceArray > surfaceArray, double thickness=0., std::unique_ptr< ApproachDescriptor > ades=nullptr, LayerType laytyp=passive) | |
void | encloseTrackingVolume (const TrackingVolume &tvol) |
Protected Attributes inherited from Acts::Surface | |
std::shared_ptr< const Transform3D > | m_transform |
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. | |
Protected Attributes inherited from Acts::Layer | |
NextLayers | m_nextLayers |
the previous Layer according to BinGenUtils | |
const BinUtility * | m_nextLayerUtility = nullptr |
std::unique_ptr< const SurfaceArray > | m_surfaceArray = nullptr |
double | m_layerThickness = 0. |
Thickness of the Layer. | |
std::unique_ptr< const ApproachDescriptor > | m_approachDescriptor = nullptr |
const TrackingVolume * | m_trackingVolume = nullptr |
the enclosing TrackingVolume | |
std::unique_ptr< AbstractVolume > | m_representingVolume = nullptr |
LayerType | m_layerType |
make a passive/active either way | |
int | m_ssRepresentingSurface = 0 |
sub structure indication | |
int | m_ssSensitiveSurfaces = 0 |
int | m_ssApproachSurfaces = 0 |
Layer derived class stub Note: Layer classes in general have a static 'create' factory method, but nothing in the baseclasses mandates this.
Definition at line 20 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 20 of file LayerStub.hpp
|
delete |
constructor (deleted in Surface baseclass)
|
delete |
copy constructor (deleted in Surface baseclass)
|
inline |
constructor with pointer to SurfaceArray (protected in Layer baseclass)
Definition at line 27 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 27 of file LayerStub.hpp
|
inlineoverride |
Destructor.
Definition at line 34 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 34 of file LayerStub.hpp
|
inline |
simply return true to show a method can be called on the constructed object
Definition at line 46 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 46 of file LayerStub.hpp
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE().
Assignment is deleted in the Layer baseclass.
|
inlineoverridevirtual |
surfaceRepresentation is pure virtual in baseclass
Implements Acts::Layer.
Definition at line 40 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 40 of file LayerStub.hpp
|
inlineoverridevirtual |
Implements Acts::Layer.
Definition at line 42 of file LayerStub.hpp.
View newest version in sPHENIX GitHub at line 42 of file LayerStub.hpp