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

#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/ConeLayer.hpp>

+ Inheritance diagram for Acts::ConeLayer:
+ Collaboration diagram for Acts::ConeLayer:

Public Member Functions

 ConeLayer ()=delete
 
 ConeLayer (const ConeLayer &cla)=delete
 
 ~ConeLayer () override=default
 
ConeLayeroperator= (const ConeLayer &)=delete
 
const ConeSurfacesurfaceRepresentation () const override
 Transforms the layer into a Surface representation for extrapolation.
 
ConeSurfacesurfaceRepresentation () override
 
- Public Member Functions inherited from Acts::ConeSurface
 ~ConeSurface () override=default
 
 ConeSurface ()=delete
 
ConeSurfaceoperator= (const ConeSurface &other)
 
Vector3 binningPosition (const GeometryContext &gctx, BinningValue bValue) const final
 
SurfaceType type () const override
 Return the surface type.
 
RotationMatrix3 referenceFrame (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const final
 
Vector3 normal (const GeometryContext &gctx, const Vector2 &lposition) const final
 
Vector3 normal (const GeometryContext &gctx, const Vector3 &position) const final
 
virtual Vector3 rotSymmetryAxis (const GeometryContext &gctx) const
 
const ConeBoundsbounds () const final
 This method returns the ConeBounds by reference.
 
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, double tolerance=s_onSurfaceTolerance) const final
 
double pathCorrection (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const final
 
Polyhedron polyhedronRepresentation (const GeometryContext &gctx, size_t lseg) const override
 
std::string name () const override
 Return properly formatted class name for screen output.
 
AlignmentToPathMatrix alignmentToPathDerivative (const GeometryContext &gctx, const FreeVector &parameters) const final
 
ActsMatrix< 2, 3 > localCartesianToBoundLocalDerivative (const GeometryContext &gctx, const Vector3 &position) const final
 
- 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
 
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 BoundToFreeMatrix boundToFreeJacobian (const GeometryContext &gctx, const BoundVector &boundParams) const
 
virtual FreeToBoundMatrix freeToBoundJacobian (const GeometryContext &gctx, const FreeVector &parameters) const
 
virtual FreeToPathMatrix freeToPathDerivative (const GeometryContext &gctx, const FreeVector &parameters) const
 
virtual std::ostream & toStream (const GeometryContext &gctx, std::ostream &sl) 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)
 
- Public Member Functions inherited from Acts::Layer
 Layer ()=delete
 Default Constructor - deleted.
 
 Layer (const Layer &)=delete
 Copy Constructor - deleted.
 
virtual ~Layer ()=default
 Destructor.
 
Layeroperator= (const Layer &layer)=delete
 
const SurfaceArraysurfaceArray () const
 Return the entire SurfaceArray, returns a nullptr if no SurfaceArray.
 
SurfaceArraysurfaceArray ()
 Non-const version.
 
double thickness () const
 
virtual bool isOnLayer (const GeometryContext &gctx, const Vector3 &position, const BoundaryCheck &bcheck=true) const
 
const ApproachDescriptorapproachDescriptor () const
 Return method for the approach descriptor, can be nullptr.
 
ApproachDescriptorapproachDescriptor ()
 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
 
boost::container::small_vector
< SurfaceIntersection, 10 > 
compatibleSurfaces (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const NavigationOptions< Surface > &options) const
 Decompose Layer into (compatible) surfaces.
 
SurfaceIntersection surfaceOnApproach (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction, const NavigationOptions< Layer > &options) const
 
const LayernextLayer (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const
 
const TrackingVolumetrackingVolume () const
 
const AbstractVolumerepresentingVolume () const
 
LayerType layerType () const
 return the LayerType
 

Static Public Member Functions

static MutableLayerPtr create (const Transform3 &transform, std::shared_ptr< const ConeBounds > cbounds, std::unique_ptr< SurfaceArray > surfaceArray, double thickness=0., std::unique_ptr< ApproachDescriptor > ad=nullptr, LayerType laytyp=Acts::active)
 

Protected Member Functions

 ConeLayer (const Transform3 &transform, std::shared_ptr< const ConeBounds > cbounds, std::unique_ptr< SurfaceArray > surfaceArray, double thickness=0., std::unique_ptr< ApproachDescriptor > ade=nullptr, LayerType laytyp=Acts::active)
 
 ConeLayer (const ConeLayer &cla, const Transform3 &shift)
 
- Protected Member Functions inherited from Acts::ConeSurface
 ConeSurface (const Transform3 &transform, double alpha, bool symmetric=false)
 
 ConeSurface (const Transform3 &transform, double alpha, double zmin, double zmax, double halfPhi=M_PI)
 
 ConeSurface (const Transform3 &transform, std::shared_ptr< const ConeBounds > cbounds)
 
 ConeSurface (const ConeSurface &other)
 
 ConeSurface (const GeometryContext &gctx, const ConeSurface &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)
 
- 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)
 

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 Attributes inherited from Acts::Surface
static std::array< std::string,
SurfaceType::Other > 
s_surfaceTypeNames
 Helper strings for screen output.
 
- Protected Attributes inherited from Acts::ConeSurface
std::shared_ptr< const ConeBoundsm_bounds
 bounds (shared)
 
- Protected Attributes inherited from Acts::Layer
NextLayers m_nextLayers
 the previous Layer according to BinGenUtils
 
const BinUtilitym_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 TrackingVolumem_trackingVolume = nullptr
 the enclosing TrackingVolume
 
std::unique_ptr< AbstractVolumem_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
 

Detailed Description

Class to describe a conical detector layer for tracking, it inhertis from both, Layer base class and ConeSurface class

Definition at line 29 of file ConeLayer.hpp.

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

Constructor & Destructor Documentation

Acts::ConeLayer::ConeLayer ( )
delete

Referenced by create().

+ Here is the caller graph for this function:

Acts::ConeLayer::ConeLayer ( const ConeLayer cla)
delete
Acts::ConeLayer::~ConeLayer ( )
overridedefault
Acts::ConeLayer::ConeLayer ( const Transform3 transform,
std::shared_ptr< const ConeBounds cbounds,
std::unique_ptr< SurfaceArray surfaceArray,
double  thickness = 0.,
std::unique_ptr< ApproachDescriptor ade = nullptr,
LayerType  laytyp = Acts::active 
)
protected

Private constructor with arguments

Parameters
transformis the 3D transform that positions the layer in 3D frame
cboundsis the conical bound description
surfaceArrayis the array of sensitive surfaces
thicknessis the layer thickness along the normal axis
adeis the approach descriptor for navigation towards the layer
laytypis the layer type

Definition at line 17 of file ConeLayer.cpp.

View newest version in sPHENIX GitHub at line 17 of file ConeLayer.cpp

Acts::ConeLayer::ConeLayer ( const ConeLayer cla,
const Transform3 shift 
)
protected

Private copy constructor with shift, called by create(args*)

Parameters
clais the source clone layer
shiftis the additional shift applied after copying

Member Function Documentation

static MutableLayerPtr Acts::ConeLayer::create ( const Transform3 transform,
std::shared_ptr< const ConeBounds cbounds,
std::unique_ptr< SurfaceArray surfaceArray,
double  thickness = 0.,
std::unique_ptr< ApproachDescriptor ad = nullptr,
LayerType  laytyp = Acts::active 
)
inlinestatic

Factory for shared layer

Parameters
transformis the 3D transform that positions the layer in 3D frame
cboundsis the conical bound description
surfaceArrayis the array of sensitive surfaces
thicknessis the layer thickness along the normal axis
adis the approach descriptor for navigation towards the layer
laytypis the layer type
Returns
is a shared pointer to a layer

Definition at line 43 of file ConeLayer.hpp.

View newest version in sPHENIX GitHub at line 43 of file ConeLayer.hpp

References ConeLayer(), testing::internal::move(), and Acts::Layer::thickness().

Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ConeLayer& Acts::ConeLayer::operator= ( const ConeLayer )
delete
const Acts::ConeSurface & Acts::ConeLayer::surfaceRepresentation ( ) const
overridevirtual

Transforms the layer into a Surface representation for extrapolation.

Implements Acts::Layer.

Definition at line 26 of file ConeLayer.cpp.

View newest version in sPHENIX GitHub at line 26 of file ConeLayer.cpp

Acts::ConeSurface & Acts::ConeLayer::surfaceRepresentation ( )
overridevirtual

Implements Acts::Layer.

Definition at line 30 of file ConeLayer.cpp.

View newest version in sPHENIX GitHub at line 30 of file ConeLayer.cpp


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