Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
class | ContextType |
Public Member Functions | |
TelescopeDetectorElement (std::shared_ptr< const Acts::Transform3 > transform, std::shared_ptr< const Acts::PlanarBounds > pBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr) | |
TelescopeDetectorElement (std::shared_ptr< const Acts::Transform3 > transform, std::shared_ptr< const Acts::DiscBounds > dBounds, double thickness, std::shared_ptr< const Acts::ISurfaceMaterial > material=nullptr) | |
~TelescopeDetectorElement () override=default | |
Destructor. | |
const Acts::Surface & | surface () const final |
Return surface associated with this detector element. | |
Acts::Surface & | surface () final |
Non-const access to the surface associated with this detector element. | |
double | thickness () const final |
The maximal thickness of the detector element wrt normal axis. | |
const Acts::Transform3 & | transform (const Acts::GeometryContext &gctx) const final |
const Acts::Transform3 & | nominalTransform (const Acts::GeometryContext &gctx) const |
void | addAlignedTransform (std::unique_ptr< Acts::Transform3 > alignedTransform, unsigned int iov) |
const std::vector < std::unique_ptr < Acts::Transform3 > > & | alignedTransforms () const |
Return the set of alignment transforms in flight. | |
Public Member Functions inherited from Acts::DetectorElementBase | |
DetectorElementBase ()=default | |
virtual | ~DetectorElementBase ()=default |
Private Attributes | |
std::shared_ptr< const Acts::Transform3 > | m_elementTransform = nullptr |
the transform for positioning in 3D space | |
std::vector< std::unique_ptr < Acts::Transform3 > > | m_alignedTransforms = {} |
std::shared_ptr< Acts::Surface > | m_elementSurface = nullptr |
the surface represented by it | |
double | m_elementThickness = 0. |
the element thickness | |
std::shared_ptr< const Acts::PlanarBounds > | m_elementPlanarBounds = nullptr |
the planar bounds | |
std::shared_ptr< const Acts::DiscBounds > | m_elementDiscBounds = nullptr |
the disc bounds | |
This is a lightweight type of detector element, it simply implements the base class.
Definition at line 35 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 35 of file TelescopeDetectorElement.hpp
ActsExamples::Telescope::TelescopeDetectorElement::TelescopeDetectorElement | ( | std::shared_ptr< const Acts::Transform3 > | transform, |
std::shared_ptr< const Acts::PlanarBounds > | pBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr |
||
) |
Constructor for single sided detector element
transform | is the transform that element the layer in 3D frame |
pBounds | is the planar bounds for the planar detector element |
thickness | is the module thickness |
material | is the (optional) Surface material associated to it |
Definition at line 14 of file TelescopeDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 14 of file TelescopeDetectorElement.cpp
References Acts::Surface::assignSurfaceMaterial(), boost::const_pointer_cast(), m_elementSurface, and testing::internal::move().
ActsExamples::Telescope::TelescopeDetectorElement::TelescopeDetectorElement | ( | std::shared_ptr< const Acts::Transform3 > | transform, |
std::shared_ptr< const Acts::DiscBounds > | dBounds, | ||
double | thickness, | ||
std::shared_ptr< const Acts::ISurfaceMaterial > | material = nullptr |
||
) |
Constructor for single sided detector element
transform | is the transform that element the layer in 3D frame |
dBounds | is the planar bounds for the disc like detector element |
thickness | is the module thickness |
material | is the (optional) Surface material associated to it |
Definition at line 30 of file TelescopeDetectorElement.cpp.
View newest version in sPHENIX GitHub at line 30 of file TelescopeDetectorElement.cpp
References m_elementSurface, and testing::internal::move().
|
overridedefault |
Destructor.
|
inline |
Return local to global transform associated with this identifier
alignedTransform | is a new transform |
iov | is the batch for which it is meant |
Definition at line 149 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 149 of file TelescopeDetectorElement.hpp
References m_alignedTransforms, and testing::internal::move().
|
inline |
Return the set of alignment transforms in flight.
Definition at line 160 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 160 of file TelescopeDetectorElement.hpp
References m_alignedTransforms.
|
inline |
Return the nominal local to global transform
Definition at line 144 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 144 of file TelescopeDetectorElement.hpp
References m_elementTransform.
Referenced by transform().
|
inlinefinalvirtual |
Return surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 120 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 120 of file TelescopeDetectorElement.hpp
References m_elementSurface.
|
inlinefinalvirtual |
Non-const access to the surface associated with this detector element.
Implements Acts::DetectorElementBase.
Definition at line 124 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 124 of file TelescopeDetectorElement.hpp
References m_elementSurface.
|
inlinefinalvirtual |
The maximal thickness of the detector element wrt normal axis.
Implements Acts::DetectorElementBase.
Definition at line 128 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 128 of file TelescopeDetectorElement.hpp
References m_elementThickness.
|
inlinefinalvirtual |
Return local to global transform associated with this identifier
gctx | The current geometry context object, e.g. alignment |
Implements Acts::DetectorElementBase.
Definition at line 132 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 132 of file TelescopeDetectorElement.hpp
References m_alignedTransforms, and nominalTransform().
|
private |
Definition at line 109 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 109 of file TelescopeDetectorElement.hpp
Referenced by addAlignedTransform(), alignedTransforms(), and transform().
|
private |
the disc bounds
Definition at line 117 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 117 of file TelescopeDetectorElement.hpp
|
private |
the planar bounds
Definition at line 115 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 115 of file TelescopeDetectorElement.hpp
|
private |
the surface represented by it
Definition at line 111 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 111 of file TelescopeDetectorElement.hpp
Referenced by surface(), and TelescopeDetectorElement().
|
private |
the element thickness
Definition at line 113 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 113 of file TelescopeDetectorElement.hpp
Referenced by thickness().
|
private |
the transform for positioning in 3D space
Definition at line 107 of file TelescopeDetectorElement.hpp.
View newest version in sPHENIX GitHub at line 107 of file TelescopeDetectorElement.hpp
Referenced by nominalTransform().