Analysis Software
Documentation for sPHENIX simulation software
|
#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/DiscLayer.hpp>
Public Member Functions | |
DiscLayer ()=delete | |
DiscLayer (const DiscLayer &cla)=delete | |
~DiscLayer () override=default | |
DiscLayer & | operator= (const DiscLayer &)=delete |
const DiscSurface & | surfaceRepresentation () const override |
DiscSurface & | surfaceRepresentation () override |
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 &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 Vector3 &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 |
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 Layer * | nextLayer (const GeometryContext &gctx, const Vector3 &position, const Vector3 &direction) const |
const TrackingVolume * | trackingVolume () const |
const AbstractVolume * | representingVolume () const |
LayerType | layerType () const |
return the LayerType | |
Public Member Functions inherited from Acts::GeometryObject | |
GeometryObject ()=default | |
Defaulted constructor. | |
GeometryObject (const GeometryObject &)=default | |
Defaulted copy constructor. | |
GeometryObject (const GeometryIdentifier &geometryId) | |
GeometryObject & | operator= (const GeometryObject &geometryId) |
const GeometryIdentifier & | geometryId () const |
virtual Vector3 | binningPosition (const GeometryContext &gctx, BinningValue bValue) const =0 |
virtual double | binningPositionValue (const GeometryContext &gctx, BinningValue bValue) const |
void | assignGeometryId (const GeometryIdentifier &geometryId) |
Static Public Member Functions | |
static std::shared_ptr< DiscLayer > | create (const Transform3 &transform, const std::shared_ptr< const DiscBounds > &dbounds, std::unique_ptr< SurfaceArray > surfaceArray=nullptr, double thickness=0., std::unique_ptr< ApproachDescriptor > ad=nullptr, LayerType laytyp=Acts::passive) |
Protected Member Functions | |
DiscLayer (const Transform3 &transform, const std::shared_ptr< const DiscBounds > &dbounds, std::unique_ptr< SurfaceArray > surfaceArray=nullptr, double thickness=0., std::unique_ptr< ApproachDescriptor > ades=nullptr, LayerType laytyp=Acts::active) | |
DiscLayer (const DiscLayer &cla, const Transform3 &tr) | |
Copy constructor with 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) |
Private Member Functions | |
void | buildApproachDescriptor () |
build approach surfaces | |
Additional Inherited Members | |
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 |
Class to describe a disc-like detector layer for tracking, it inhertis from both, Layer base class and DiscSurface class
Definition at line 30 of file DiscLayer.hpp.
View newest version in sPHENIX GitHub at line 30 of file DiscLayer.hpp
|
delete |
|
delete |
|
overridedefault |
|
protected |
transform | is the transform to place the layer in the 3D frame |
dbounds | are the disc bounds that describe the layer dimensions |
surfaceArray | is the array of sensitive surfaces |
thickness | is the layer thickness (along the normal vector) |
ades | Are the approach descriptors that provides the approach surface |
laytyp | is the layer taype |
Definition at line 26 of file DiscLayer.cpp.
View newest version in sPHENIX GitHub at line 26 of file DiscLayer.cpp
References Acts::Layer::approachDescriptor(), buildApproachDescriptor(), Acts::Layer::m_approachDescriptor, Acts::Layer::m_representingVolume, Acts::Layer::m_surfaceArray, m_transform(), rBounds, Acts::ApproachDescriptor::registerLayer(), and Acts::Layer::thickness().
|
protected |
Copy constructor with shift.
|
private |
build approach surfaces
Definition at line 65 of file DiscLayer.cpp.
View newest version in sPHENIX GitHub at line 65 of file DiscLayer.cpp
References testing::internal::move(), Acts::negativeFaceXY, Acts::positiveFaceXY, Acts::tubeInnerCover, and Acts::tubeOuterCover.
Referenced by DiscLayer().
|
inlinestatic |
Factory constructor with DiscSurface components
transform | is the transform to place the layer in the 3D frame |
dbounds | are the disc bounds that describe the layer dimensions |
surfaceArray | is the array of sensitive surfaces |
thickness | is the layer thickness (along the normal vector) |
ad | is the approach descriptor that provides the approach surface |
laytyp | is the layer type |
Definition at line 44 of file DiscLayer.hpp.
View newest version in sPHENIX GitHub at line 44 of file DiscLayer.hpp
References DiscLayer(), testing::internal::move(), Acts::Layer::surfaceArray(), and Acts::Layer::thickness().
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE(), Acts::CylinderVolumeHelper::createDiscLayer(), Acts::LayerCreator::discLayer(), Acts::PassiveLayerBuilder::endcapLayers(), Acts::DD4hepLayerBuilder::endcapLayers(), and Acts::KDTreeTrackingGeometryBuilder::translateLayer().
|
overridevirtual |
Transforms the layer into a Surface representation for extrapolation
Implements Acts::Layer.
Definition at line 57 of file DiscLayer.cpp.
View newest version in sPHENIX GitHub at line 57 of file DiscLayer.cpp
|
overridevirtual |
Implements Acts::Layer.
Definition at line 61 of file DiscLayer.cpp.
View newest version in sPHENIX GitHub at line 61 of file DiscLayer.cpp