ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::ConeLayer Class Referencefinal

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

#include <ConeLayer.h>

Inheritance diagram for Trk::ConeLayer:
Collaboration diagram for Trk::ConeLayer:

Public Types

using ChargedTrackParametersUniquePtr
 Unique ptr types.
using NeutralTrackParametersUniquePtr

Public Member Functions

 ConeLayer ()
 Default Constructor.
 ConeLayer (const Amg::Transform3D &transform, std::shared_ptr< const ConeBounds > cbounds, const LayerMaterialProperties &laymatprop, double thickness=0., std::unique_ptr< OverlapDescriptor > od=nullptr, int laytyp=int(Trk::active))
 Constructor with ConeBounds components and MaterialProperties.
 ConeLayer (ConeSurface *cyl, const LayerMaterialProperties &laymatprop, double thickness=0., std::unique_ptr< OverlapDescriptor > od=nullptr, int laytyp=int(Trk::active))
 Constructor with ConeSurface and MaterialProperties.
 ConeLayer (const Amg::Transform3D &transform, std::shared_ptr< const ConeBounds > cbounds, std::unique_ptr< SurfaceArray > surfaceArray, double thickness=0., std::unique_ptr< OverlapDescriptor > od=nullptr, int laytyp=int(Trk::active))
 Constructor with ConeSurface components and pointer to SurfaceArray (passing ownership)
 ConeLayer (const Amg::Transform3D &transform, std::shared_ptr< const ConeBounds > cbounds, std::unique_ptr< SurfaceArray > surfaceArray, const LayerMaterialProperties &laymatprop, double thickness=0., std::unique_ptr< OverlapDescriptor > od=nullptr, int laytyp=int(Trk::active))
 Constructor with ConeSurface components, MaterialProperties and pointer SurfaceArray (passing ownership)
 ConeLayer (const ConeLayer &cla)
 Copy constructor of ConeLayer.
 ConeLayer (const ConeLayer &cla, const Amg::Transform3D &tr)
 Copy constructor with shift.
ConeLayeroperator= (const ConeLayer &)
 Assignment operator for ConeLayers.
virtual ~ConeLayer () override
 Destructor.
virtual const ConeSurfacesurfaceRepresentation () const override final
 Transforms the layer into a Surface representation for extrapolation.
virtual ConeSurfacesurfaceRepresentation () override final
virtual double preUpdateMaterialFactor (const Trk::TrackParameters &par, Trk::PropDirection dir) const override final
 getting the MaterialProperties back - for pre-update
virtual double postUpdateMaterialFactor (const Trk::TrackParameters &par, Trk::PropDirection dir) const override final
 getting the MaterialProperties back - for post-update
virtual void moveLayer (Amg::Transform3D &shift) override final
 move the Layer
virtual void resizeLayer (const VolumeBounds &, double) override final
 Resize the layer to the tracking volume - not (yet) supported for ConeLayer.
virtual void resizeAndRepositionLayer (const VolumeBounds &, const Amg::Vector3D &, double) override final
 Resize the layer to the tracking volume - not supported since this an entry layer method.
virtual bool operator== (const Surface &sf) const override
 Equality operator.
bool operator== (const ConeSurface &cf) const
virtual ConeSurfaceclone () const override
 Implicit Constructor.
virtual Surface::ChargedTrackParametersUniquePtr createUniqueTrackParameters (double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
 Use the Surface as a ParametersBase constructor, from local parameters - charged.
virtual Surface::ChargedTrackParametersUniquePtr createUniqueTrackParameters (const Amg::Vector3D &position, const Amg::Vector3D &momentum, double charge, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
 Use the Surface as a ParametersBase constructor, from global parameters - charged.
virtual NeutralTrackParametersUniquePtr createUniqueNeutralParameters (double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
 Use the Surface as a ParametersBase constructor, from local parameters - neutral.
virtual NeutralTrackParametersUniquePtr createUniqueNeutralParameters (const Amg::Vector3D &position, const Amg::Vector3D &momentum, double charge, std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final
 Use the Surface as a ParametersBase constructor, from global parameters - neutral.
template<int DIM, class T>
std::unique_ptr< ParametersT< DIM, T, ConeSurface > > createUniqueParameters (double l1, double l2, double phi, double theta, double qop, std::optional< AmgSymMatrix(DIM)> cov=std::nullopt) const
 Use the Surface as a ParametersBase constructor, from local parameters.
template<int DIM, class T>
std::unique_ptr< ParametersT< DIM, T, ConeSurface > > createUniqueParameters (const Amg::Vector3D &position, const Amg::Vector3D &momentum, double charge, std::optional< AmgSymMatrix(DIM)> cov=std::nullopt) const
 Use the Surface as a ParametersBase constructor, from global parameters.
virtual constexpr SurfaceType type () const override final
 Return the surface type.
virtual Amg::RotationMatrix3D measurementFrame (const Amg::Vector3D &glopos, const Amg::Vector3D &glomom) const override final
 Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface.
virtual const Amg::Vector3DglobalReferencePoint () const override final
 Returns a global reference point: For the Cylinder this is \( (R*cos(\phi), R*sin(\phi),0)*transform() \) Where \( \phi \) denotes the averagePhi() of the cylinderBounds.
virtual Amg::Vector3D normal (const Amg::Vector2D &locpo) const override final
 Return method for surface normal information at a given local point, overwrites the normal() from base class.
virtual const Amg::Vector3Dnormal () const
 Returns the normal vector of the Surface (i.e.
virtual const Amg::Vector3DrotSymmetryAxis () const
 Return method for the rotational symmetry axis - the z-Axis of the HepTransform.
virtual const ConeBoundsbounds () const override final
 This method returns the ConeBounds by reference (NoBounds is not possible for cone)
virtual bool insideBounds (const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const override
 This method calls the inside method of ConeBounds.
virtual bool insideBoundsCheck (const Amg::Vector2D &locpos, const BoundaryCheck &bchk) const override final
virtual Amg::Vector2D localParametersToPosition (const LocalParameters &locpars) const override final
 Specialized for ConeSurface : LocalParameters to Vector2D.
virtual void localToGlobal (const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final
 Specialized for ConeSurface : LocalToGlobal method without dynamic memory allocation.
Amg::Vector3D localToGlobal (const Amg::Vector2D &locpos) const
 This method returns the GlobalPosition from a LocalPosition uses the per surface localToGlobal.
Amg::Vector3D localToGlobal (const Amg::Vector2D &locpos, const Amg::Vector3D &glomom) const
 This method returns the GlobalPosition from a LocalPosition The LocalPosition can be outside Surface bounds - for generality with momentum.
Amg::Vector3D localToGlobal (const LocalParameters &locpars) const
 This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds.
Amg::Vector3D localToGlobal (const LocalParameters &locpars, const Amg::Vector3D &glomom) const
 This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds - for generality with momentum.
virtual bool globalToLocal (const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const override final
 Specialized for ConeSurface : GlobalToLocal method without dynamic memory allocation - boolean checks if on surface.
std::optional< Amg::Vector2DglobalToLocal (const Amg::Vector3D &glopos, double tol=0.) const
 This method returns the LocalPosition from a provided GlobalPosition.
std::optional< Amg::Vector2DglobalToLocal (const Amg::Vector3D &glopos, const Amg::Vector3D &glomom) const
 This method returns the LocalPosition from a provided GlobalPosition.
virtual Intersection straightLineIntersection (const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool forceDir=false, BoundaryCheck bchk=false) const override final
 fast straight line intersection schema - provides closest intersection and (signed) path length
template<typename T>
Intersection straightLineIntersection (const T &pars, bool forceDir=false, const Trk::BoundaryCheck &bchk=false) const
 fst straight line intersection schema - templated for charged and neutral parameters
virtual DistanceSolution straightLineDistanceEstimate (const Amg::Vector3D &pos, const Amg::Vector3D &dir) const override final
 fast straight line distance to Surface
virtual DistanceSolution straightLineDistanceEstimate (const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool bound) const override final
 fast straight line distance to Surface - with bounds options
virtual double pathCorrection (const Amg::Vector3D &, const Amg::Vector3D &) const override
 the pathCorrection for derived classes with thickness
virtual std::string name () const override
 Return properly formatted class name for screen output.
bool operator!= (const Surface &sf) const
 Non-equality operator.
std::unique_ptr< SurfaceuniqueClone () const
 NVI method returning unique_ptr clone.
const Amg::Transform3DcachedTransform () const
 Return the cached transformation directly.
const Amg::Transform3Dtransform () const
 Returns HepGeom::Transform3D by reference.
const Amg::Vector3Dcenter () const
 Returns the center position of the Surface.
const TrkDetElementBaseassociatedDetectorElement () const
 return associated Detector Element
Identifier associatedDetectorElementIdentifier () const
 return Identifier of the associated Detector Element
const Trk::LayerassociatedLayer () const
 return the associated Layer
const Trk::MaterialLayermaterialLayer () const
 return the material Layer
Trk::MaterialLayermaterialLayer ()
virtual const Trk::SurfacebaseSurface () const
 return the base surface (simplified for persistification)
std::optional< Amg::Vector2DpositionOnSurface (const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const
 positionOnSurface() returns the LocalPosition on the Surface,
If BoundaryCheck==false it just returns the value of globalToLocal (including nullptr possibility), if BoundaryCheck==true it checks whether the point is inside bounds or not (returns std::nullopt in this case).
template<class T>
bool onSurface (const T &parameters, const BoundaryCheck &bchk=BoundaryCheck(true)) const
 The templated Parameters OnSurface method - checks on surface pointer first.
virtual bool isOnSurface (const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const
 This method returns true if the GlobalPosition is on the Surface for both, within or without check of whether the local position is inside boundaries or not.
bool isFree () const
 Returns 'true' if this surface is 'free', i.e.
bool isActive () const
 Return 'true' if this surface is owned by the detector element.
void setTransform (const Amg::Transform3D &trans)
 Set the transform updates center and normal.
void setOwner (SurfaceOwner x)
 set Ownership
SurfaceOwner owner () const
 return ownership
void setMaterialLayer (std::shared_ptr< Trk::MaterialLayer > mlay)
 set material layer
virtual MsgStream & dump (MsgStream &sl) const
 Output Method for MsgStream, to be overloaded by child classes.
virtual std::ostream & dump (std::ostream &sl) const
 Output Method for std::ostream, to be overloaded by child classes.
void associateLayer (const Layer &lay)
 method to associate a Trk::Layer.
const SurfaceArraysurfaceArray () const
 Return the entire SurfaceArray, returns nullptr if no SurfaceArray.
SurfaceArraysurfaceArray ()
 Return the entire SurfaceArray, returns nullptr if no SurfaceArray.
const SurfacesubSurface (const Amg::Vector3D &gp) const
 If no subSurface array is defined or no subSurface can be found to the given Amg::Vector3D, it would return 0.
const SurfacesubSurface (const Amg::Vector2D &lp) const
 If no subSurface array is defined or no subSurface can be found to the given Amg::Vector2D, it would return 0.
const SurfacesubSurfaceReference (unsigned int idx=0) const
 Return a reference sub surface of the layer, usually the first one in the array.
double thickness () const
 Return the Thickness of the Layer.
template<class T>
bool onLayer (const T &parameters, const BoundaryCheck &bcheck=BoundaryCheck(true)) const
 templated on Layer method
virtual bool isOnLayer (const Amg::Vector3D &gp, const BoundaryCheck &bcheck=BoundaryCheck(true)) const
 isOnLayer() method, using isOnSurface() with Layer specific tolerance
const LayerMaterialPropertieslayerMaterialProperties () const
 getting the LayerMaterialProperties including full/pre/post update
const MaterialPropertiesfullUpdateMaterialProperties (const TrackParameters &par) const
 getting the MaterialProperties back - for full update
const OverlapDescriptoroverlapDescriptor () const
 gettint hte overlap descriptor
const LayerpreviousLayer (bool skipNavLayer=false) const
 getting what's stored to be the previous Layer, boolean to skip navigation layers
void setPreviousLayer (const Layer *)
 set the previous Layer
const LayernextLayer (const Amg::Vector3D &gp, const Amg::Vector3D &udir) const
 getting the next/previous Layer if registered - unit for direction vector required
const LayernextLayer (bool skipNavLayer=false) const
 getting what's stored to be the next Layer, boolean to skip navigation layers
void setNextLayer (const Layer *)
 set the next Layer
const BinUtilitybinUtility () const
 access the BinUtility
void setBinUtility (const BinUtility *)
 set the BinUtility
virtual const SurfacesurfaceOnApproach (const Amg::Vector3D &pos, const Amg::Vector3D &dir, PropDirection pdir, const BoundaryCheck &bcheck, bool resolveSubSurfaces=0, const ICompatibilityEstimator *ice=nullptr) const
 Surface seen on approach - if not defined differently, it is the surfaceRepresentation()
size_t compatibleSurfaces (std::vector< SurfaceIntersection > &cSurfaces, const TrackParameters &pars, PropDirection pdir, const BoundaryCheck &bcheck, bool materialSurfacesOnly=true, const Surface *startSurface=nullptr, const Surface *endSurface=nullptr, const ICompatibilityEstimator *ice=nullptr) const
 get compatible surfaces starting from charged parameters
size_t compatibleSurfaces (std::vector< SurfaceIntersection > &cSurfaces, const NeutralParameters &pars, PropDirection pdir, const BoundaryCheck &bcheck, bool materialSurfacesOnly=true, const Surface *startSurface=nullptr, const Surface *endSurface=nullptr, const ICompatibilityEstimator *ice=nullptr) const
 get compatible surfaces starting from neutral parameters
virtual bool hasSubStructure (bool resolveSensitive=false) const
 Has sub-structure method:
const TrackingVolumeenclosingTrackingVolume () const
 get the confining TrackingVolume
const DetachedTrackingVolumeenclosingDetachedTrackingVolume () const
 get the confining DetachedTrackingVolume
const LayerIndexlayerIndex () const
 get the layerIndex
int layerType () const
 get the Layer coding
void setLayerType (int identifier)
 set the Layer coding
void assignMaterialProperties (const LayerMaterialProperties &, double scale=1.0)
 assignMaterialPropeties
void registerRepresentingVolume (const Volume *theVol)
 register Volume associated to the layer
const VolumerepresentingVolume () const
 get the Volume associated to the layer
void setRef (double)
 set the reference measure
double getRef () const
 get the reference measure
void encloseTrackingVolume (const TrackingVolume &tvol)
 private method to set the enclosed detached TV
void encloseDetachedTrackingVolume (const DetachedTrackingVolume &tvol)
template<class T>
size_t getCompatibleSurfaces (std::vector< SurfaceIntersection > &cSurfaces, const T &pars, PropDirection pdir, const BoundaryCheck &bcheck, bool materialSurfacesOnly=true, const Surface *startSurface=nullptr, const Surface *endSurface=nullptr, const ICompatibilityEstimator *ice=nullptr) const
 get compatible surfaces starting from charged parameters
void compactify (size_t &cSurfaces, size_t &tSurfaces)
 register layer index for material map registration
void registerLayerIndex (const LayerIndex &lIdx)

Static Public Member Functions

static std::size_t numberOfInstantiations ()

Static Public Attributes

static constexpr SurfaceType staticType = SurfaceType::Cone
 The surface type static constexpr.
static std::atomic_size_t s_numberOfInstantiations

Protected Member Functions

Amg::Transform3D inverseTransformHelper () const
 Helper method to factorize in one place common operations calculate inverse transofrm and multiply with position.
Amg::Vector3D inverseTransformMultHelper (const Amg::Vector3D &glopos) const

Protected Attributes

std::shared_ptr< const ConeBoundsm_bounds
 The global reference point (== a point on thesurface)
CxxUtils::CachedUniquePtr< Amg::Vector3Dm_referencePoint
 The rotational symmetry axis.
CxxUtils::CachedUniquePtr< Amg::Vector3Dm_rotSymmetryAxis
std::unique_ptr< Transformsm_transforms {}
 Unique Pointer to the Transforms struct.
const TrkDetElementBasem_associatedDetElement {}
 Not owning Pointer to the Detector Element.
Identifier m_associatedDetElementId {}
 Identifier to the Detector Element.
const Layerm_associatedLayer {}
 The associated layer Trk::Layer This is the layer in which the Surface is embedded.
std::shared_ptr< MaterialLayerm_materialLayer {}
 Possibility to attach a material description to the surface.
SurfaceOwner m_owner {SurfaceOwner::noOwn}
 enum for surface owner : default free surface
std::unique_ptr< SurfaceArraym_surfaceArray {}
 MaterialPoperties of this layer Surface.
std::unique_ptr< LayerMaterialPropertiesm_layerMaterialProperties {}
 thickness of the Layer
double m_layerThickness {}
 descriptor for overlap/next surface (owning ptr)
std::unique_ptr< OverlapDescriptorm_overlapDescriptor {}
const Layerm_previousLayer = nullptr
 < the previous Layer according to BinGenUtils
const Layerm_nextLayer = nullptr
 BinUtility for next/previous decision.
const BinUtilitym_binUtility = nullptr
 Enclosing TrackingVolume.
const TrackingVolumem_enclosingTrackingVolume = nullptr
 Enclosing DetachedTrackingVolume.
const DetachedTrackingVolumem_enclosingDetachedTrackingVolume = nullptr
LayerIndex m_index {-1}
 LayerIndex.
int m_layerType {Trk::active}
 active passive layer
double m_ref {}
 reference measure for local coordinate convertors

Static Protected Attributes

static constexpr double s_onSurfaceTolerance = 10e-5
 Tolerance for being on Surface.

Detailed Description

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

Author
Ian.W.nosp@m.atso.nosp@m.n@cer.nosp@m.n.ch, Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 39 of file ConeLayer.h.

Member Typedef Documentation

◆ ChargedTrackParametersUniquePtr

Initial value:
std::unique_ptr<ParametersBase<5, Trk::Charged>>

Unique ptr types.

Definition at line 128 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

◆ NeutralTrackParametersUniquePtr

Initial value:
std::unique_ptr<ParametersBase<5, Trk::Neutral>>

Definition at line 130 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

Constructor & Destructor Documentation

◆ ConeLayer() [1/7]

Trk::ConeLayer::ConeLayer ( )
inline

Default Constructor.

Definition at line 45 of file ConeLayer.h.

45{}

◆ ConeLayer() [2/7]

Trk::ConeLayer::ConeLayer ( const Amg::Transform3D & transform,
std::shared_ptr< const ConeBounds > cbounds,
const LayerMaterialProperties & laymatprop,
double thickness = 0.,
std::unique_ptr< OverlapDescriptor > od = nullptr,
int laytyp = int(Trk::active) )

Constructor with ConeBounds components and MaterialProperties.

Definition at line 19 of file ConeLayer.cxx.

25 : ConeSurface(transform, std::move(cbounds))
26 , Layer(laymatprop, thickness, std::move(olap), laytyp)
27{}
ConeSurface()
Default Constructor.
Layer()=default
Default Constructor.
double thickness() const
Return the Thickness of the Layer.
const Amg::Transform3D & transform() const
Returns HepGeom::Transform3D by reference.

◆ ConeLayer() [3/7]

Trk::ConeLayer::ConeLayer ( Trk::ConeSurface * cyl,
const LayerMaterialProperties & laymatprop,
double thickness = 0.,
std::unique_ptr< OverlapDescriptor > od = nullptr,
int laytyp = int(Trk::active) )

Constructor with ConeSurface and MaterialProperties.

Definition at line 29 of file ConeLayer.cxx.

34 : ConeSurface(*cyl)
35 , Layer(laymatprop, thickness, std::move(olap), laytyp)
36{}

◆ ConeLayer() [4/7]

Trk::ConeLayer::ConeLayer ( const Amg::Transform3D & transform,
std::shared_ptr< const ConeBounds > cbounds,
std::unique_ptr< SurfaceArray > surfaceArray,
double thickness = 0.,
std::unique_ptr< OverlapDescriptor > od = nullptr,
int laytyp = int(Trk::active) )

Constructor with ConeSurface components and pointer to SurfaceArray (passing ownership)

Definition at line 38 of file ConeLayer.cxx.

44 : ConeSurface(transform, std::move(cbounds))
45 , Layer(std::move(surfaceArray), thickness, std::move(olap), laytyp)
46{}
const SurfaceArray * surfaceArray() const
Return the entire SurfaceArray, returns nullptr if no SurfaceArray.

◆ ConeLayer() [5/7]

Trk::ConeLayer::ConeLayer ( const Amg::Transform3D & transform,
std::shared_ptr< const ConeBounds > cbounds,
std::unique_ptr< SurfaceArray > surfaceArray,
const LayerMaterialProperties & laymatprop,
double thickness = 0.,
std::unique_ptr< OverlapDescriptor > od = nullptr,
int laytyp = int(Trk::active) )

Constructor with ConeSurface components, MaterialProperties and pointer SurfaceArray (passing ownership)

Definition at line 48 of file ConeLayer.cxx.

55 : ConeSurface(transform, std::move(cbounds))
56 , Layer(std::move(surfaceArray), laymatprop, thickness, std::move(olap), laytyp)
57{}

◆ ConeLayer() [6/7]

Trk::ConeLayer::ConeLayer ( const ConeLayer & cla)
default

Copy constructor of ConeLayer.

◆ ConeLayer() [7/7]

Trk::ConeLayer::ConeLayer ( const ConeLayer & cla,
const Amg::Transform3D & tr )

Copy constructor with shift.

Definition at line 61 of file ConeLayer.cxx.

63 : ConeSurface(clay, transf)
64 , Layer(clay)
65{}

◆ ~ConeLayer()

virtual Trk::ConeLayer::~ConeLayer ( )
inlineoverridevirtual

Destructor.

Definition at line 91 of file ConeLayer.h.

91{}

Member Function Documentation

◆ assignMaterialProperties()

void Trk::Layer::assignMaterialProperties ( const LayerMaterialProperties & prop,
double scale = 1.0 )
inherited

assignMaterialPropeties

Definition at line 177 of file Layer.cxx.

178 {
179 m_layerMaterialProperties.reset(prop.clone());
180 if (scale != 1.0) {
181 (*(m_layerMaterialProperties)) *= scale;
182 }
183}
std::unique_ptr< LayerMaterialProperties > m_layerMaterialProperties
thickness of the Layer
Definition Layer.h:288

◆ associatedDetectorElement()

const TrkDetElementBase * Trk::Surface::associatedDetectorElement ( ) const
inherited

return associated Detector Element

◆ associatedDetectorElementIdentifier()

Identifier Trk::Surface::associatedDetectorElementIdentifier ( ) const
inherited

return Identifier of the associated Detector Element

◆ associatedLayer()

const Trk::Layer * Trk::Surface::associatedLayer ( ) const
inherited

return the associated Layer

◆ associateLayer()

void Trk::Surface::associateLayer ( const Layer & lay)
inherited

method to associate a Trk::Layer.

We do not take ownership as this is typically already owned by the Geometry

◆ baseSurface()

virtual const Trk::Surface * Trk::Surface::baseSurface ( ) const
virtualinherited

return the base surface (simplified for persistification)

◆ binUtility()

const BinUtility * Trk::Layer::binUtility ( ) const
inherited

access the BinUtility

◆ bounds()

virtual const ConeBounds & Trk::ConeSurface::bounds ( ) const
finaloverridevirtualinherited

This method returns the ConeBounds by reference (NoBounds is not possible for cone)

Implements Trk::Surface.

◆ cachedTransform()

const Amg::Transform3D * Trk::Surface::cachedTransform ( ) const
inherited

Return the cached transformation directly.

Don't try to make a new transform if it's not here.

◆ center()

const Amg::Vector3D & Trk::Surface::center ( ) const
inherited

Returns the center position of the Surface.

◆ clone()

virtual ConeSurface * Trk::ConeSurface::clone ( ) const
overridevirtualinherited

Implicit Constructor.

Implements Trk::Surface.

◆ compactify()

void Trk::Layer::compactify ( size_t & cSurfaces,
size_t & tSurfaces )
inherited

register layer index for material map registration

Definition at line 186 of file Layer.cxx.

187{
188 // set the layer surface representation
189 ++tSurfaces;
190 if (surfaceRepresentation().owner() == Trk::noOwn) {
192 ++cSurfaces;
193 }
194 // set the subsurface representation, usually already owned by DetElement
195 if (m_surfaceArray) {
196 std::span<Trk::Surface * const> surfaces = m_surfaceArray->arrayObjects();
197 for (Trk::Surface * const sIter : surfaces) {
198 if (sIter && (*sIter).owner() == Trk::noOwn) {
199 (*sIter).setOwner(Trk::TGOwn);
200 ++cSurfaces;
201 }
202 ++tSurfaces;
203 }
204 }
205}
virtual Surface & surfaceRepresentation()=0
std::unique_ptr< SurfaceArray > m_surfaceArray
MaterialPoperties of this layer Surface.
Definition Layer.h:286
void setOwner(SurfaceOwner x)
set Ownership

◆ compatibleSurfaces() [1/2]

size_t Trk::Layer::compatibleSurfaces ( std::vector< SurfaceIntersection > & cSurfaces,
const NeutralParameters & pars,
PropDirection pdir,
const BoundaryCheck & bcheck,
bool materialSurfacesOnly = true,
const Surface * startSurface = nullptr,
const Surface * endSurface = nullptr,
const ICompatibilityEstimator * ice = nullptr ) const
inherited

get compatible surfaces starting from neutral parameters

◆ compatibleSurfaces() [2/2]

size_t Trk::Layer::compatibleSurfaces ( std::vector< SurfaceIntersection > & cSurfaces,
const TrackParameters & pars,
PropDirection pdir,
const BoundaryCheck & bcheck,
bool materialSurfacesOnly = true,
const Surface * startSurface = nullptr,
const Surface * endSurface = nullptr,
const ICompatibilityEstimator * ice = nullptr ) const
inherited

get compatible surfaces starting from charged parameters

◆ createUniqueNeutralParameters() [1/2]

Trk::Surface::NeutralTrackParametersUniquePtr Trk::ConeSurface::createUniqueNeutralParameters ( const Amg::Vector3D & position,
const Amg::Vector3D & momentum,
double charge,
std::optional< AmgSymMatrix(5)> cov = std::nullopt ) const
finaloverridevirtualinherited

Use the Surface as a ParametersBase constructor, from global parameters - neutral.

Implements Trk::Surface.

Definition at line 126 of file ConeSurface.cxx.

128 {
129 return std::make_unique<ParametersT<5, Neutral, ConeSurface>>(
130 position, momentum, charge, *this, std::move(cov));
131}
double charge(const T &p)
Definition AtlasPID.h:997

◆ createUniqueNeutralParameters() [2/2]

Trk::Surface::NeutralTrackParametersUniquePtr Trk::ConeSurface::createUniqueNeutralParameters ( double l1,
double l2,
double phi,
double theta,
double qop,
std::optional< AmgSymMatrix(5)> cov = std::nullopt ) const
finaloverridevirtualinherited

Use the Surface as a ParametersBase constructor, from local parameters - neutral.

Implements Trk::Surface.

Definition at line 116 of file ConeSurface.cxx.

118 {
119 return std::make_unique<ParametersT<5, Neutral, ConeSurface>>(
120 l1, l2, phi, theta, qop, *this, std::move(cov));
121}
@ theta
Definition ParamDefs.h:66
@ phi
Definition ParamDefs.h:75

◆ createUniqueParameters() [1/2]

template<int DIM, class T>
std::unique_ptr< ParametersT< DIM, T, ConeSurface > > Trk::ConeSurface::createUniqueParameters ( const Amg::Vector3D & position,
const Amg::Vector3D & momentum,
double charge,
std::optional< AmgSymMatrix(DIM)> cov = std::nullopt ) const
inherited

Use the Surface as a ParametersBase constructor, from global parameters.

◆ createUniqueParameters() [2/2]

template<int DIM, class T>
std::unique_ptr< ParametersT< DIM, T, ConeSurface > > Trk::ConeSurface::createUniqueParameters ( double l1,
double l2,
double phi,
double theta,
double qop,
std::optional< AmgSymMatrix(DIM)> cov = std::nullopt ) const
inherited

Use the Surface as a ParametersBase constructor, from local parameters.

◆ createUniqueTrackParameters() [1/2]

Trk::Surface::ChargedTrackParametersUniquePtr Trk::ConeSurface::createUniqueTrackParameters ( const Amg::Vector3D & position,
const Amg::Vector3D & momentum,
double charge,
std::optional< AmgSymMatrix(5)> cov = std::nullopt ) const
finaloverridevirtualinherited

Use the Surface as a ParametersBase constructor, from global parameters - charged.

Implements Trk::Surface.

Definition at line 106 of file ConeSurface.cxx.

108 {
109 return std::make_unique<ParametersT<5, Charged, ConeSurface>>(
110 position, momentum, charge, *this, std::move(cov));
111}

◆ createUniqueTrackParameters() [2/2]

Trk::Surface::ChargedTrackParametersUniquePtr Trk::ConeSurface::createUniqueTrackParameters ( double l1,
double l2,
double phi,
double theta,
double qop,
std::optional< AmgSymMatrix(5)> cov = std::nullopt ) const
finaloverridevirtualinherited

Use the Surface as a ParametersBase constructor, from local parameters - charged.

Implements Trk::Surface.

Definition at line 97 of file ConeSurface.cxx.

99 {
100 return std::make_unique<ParametersT<5, Charged, ConeSurface>>(
101 l1, l2, phi, theta, qop, *this, std::move(cov));
102}

◆ dump() [1/2]

MsgStream & Surface::dump ( MsgStream & sl) const
virtualinherited

Output Method for MsgStream, to be overloaded by child classes.

Reimplemented in Trk::DetElementSurface, and Trk::PerigeeSurface.

Definition at line 157 of file Surface.cxx.

158{
159 sl << std::setiosflags(std::ios::fixed);
160 sl << std::setprecision(4);
161 sl << name() << std::endl;
162 if (associatedDetectorElement()!=nullptr){
163 sl<<" Detector Type = "<<associatedDetectorElement()->detectorTypeString()<<std::endl;
164 }
165 sl << " Center position (x, y, z) = (" << center().x() << ", " << center().y() << ", " << center().z() << ")"
166 << std::endl;
168 Amg::Vector3D rotX(rot.col(0));
169 Amg::Vector3D rotY(rot.col(1));
170 Amg::Vector3D rotZ(rot.col(2));
171 sl << std::setprecision(6);
172 sl << " Rotation: colX = (" << rotX(0) << ", " << rotX(1) << ", " << rotX(2) << ")" << std::endl;
173 sl << " colY = (" << rotY(0) << ", " << rotY(1) << ", " << rotY(2) << ")" << std::endl;
174 sl << " colZ = (" << rotZ(0) << ", " << rotZ(1) << ", " << rotZ(2) << ")" << std::endl;
175 sl << " Bounds : " << bounds();
176 if (!checkTransform(*this)) {
177 sl << std::endl << " NOT a strict rotation matrix." << std::endl;
178 }
179 sl << std::setprecision(-1);
180 return sl;
181}
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
virtual const SurfaceBounds & bounds() const =0
Surface Bounds method.
const Amg::Vector3D & center() const
Returns the center position of the Surface.
virtual std::string name() const =0
Return properly formatted class name.
std::string detectorTypeString() const
Returns a string of the Detector element type.
Eigen::Matrix< double, 3, 3 > RotationMatrix3D
Eigen::Matrix< double, 3, 1 > Vector3D

◆ dump() [2/2]

std::ostream & Surface::dump ( std::ostream & sl) const
virtualinherited

Output Method for std::ostream, to be overloaded by child classes.

Reimplemented in Trk::DetElementSurface, and Trk::PerigeeSurface.

Definition at line 185 of file Surface.cxx.

186{
187 sl << std::setiosflags(std::ios::fixed);
188 sl << std::setprecision(4);
189 sl << name() << std::endl;
190 if (associatedDetectorElement()!=nullptr){
191 sl<<" Detector Type = "<<associatedDetectorElement()->detectorTypeString()<<std::endl;
192 }
193 sl << " Center position (x, y, z) = (" << center().x() << ", " << center().y() << ", " << center().z() << ")"
194 << std::endl;
196 Amg::Vector3D rotX(rot.col(0));
197 Amg::Vector3D rotY(rot.col(1));
198 Amg::Vector3D rotZ(rot.col(2));
199 sl << std::setprecision(6);
200 sl << " Rotation: colX = (" << rotX(0) << ", " << rotX(1) << ", " << rotX(2) << ")" << std::endl;
201 sl << " colY = (" << rotY(0) << ", " << rotY(1) << ", " << rotY(2) << ")" << std::endl;
202 sl << " colZ = (" << rotZ(0) << ", " << rotZ(1) << ", " << rotZ(2) << ")" << std::endl;
203 sl << " Bounds : " << bounds();
204 if (!checkTransform(*this)) {
205 sl << std::endl << " NOT a strict rotation matrix." << std::endl;
206 }
207 sl << std::setprecision(-1);
208 return sl;
209}

◆ encloseDetachedTrackingVolume()

void Trk::Layer::encloseDetachedTrackingVolume ( const DetachedTrackingVolume & tvol)
inherited

◆ encloseTrackingVolume()

void Trk::Layer::encloseTrackingVolume ( const TrackingVolume & tvol)
inherited

private method to set the enclosed detached TV

◆ enclosingDetachedTrackingVolume()

const DetachedTrackingVolume * Trk::Layer::enclosingDetachedTrackingVolume ( ) const
inherited

get the confining DetachedTrackingVolume

◆ enclosingTrackingVolume()

const TrackingVolume * Trk::Layer::enclosingTrackingVolume ( ) const
inherited

get the confining TrackingVolume

◆ fullUpdateMaterialProperties()

const Trk::MaterialProperties * Trk::Layer::fullUpdateMaterialProperties ( const TrackParameters & par) const
inherited

getting the MaterialProperties back - for full update

Definition at line 169 of file Layer.cxx.

170 {
172 return m_layerMaterialProperties->fullMaterial(parm.position());
173 }
174 return nullptr;
175}

◆ getCompatibleSurfaces()

template<class T>
size_t Trk::Layer::getCompatibleSurfaces ( std::vector< SurfaceIntersection > & cSurfaces,
const T & pars,
PropDirection pdir,
const BoundaryCheck & bcheck,
bool materialSurfacesOnly = true,
const Surface * startSurface = nullptr,
const Surface * endSurface = nullptr,
const ICompatibilityEstimator * ice = nullptr ) const
inherited

get compatible surfaces starting from charged parameters

propagate TrackingGeometry owner downstream

◆ getRef()

double Trk::Layer::getRef ( ) const
inherited

get the reference measure

◆ globalReferencePoint()

const Amg::Vector3D & Trk::ConeSurface::globalReferencePoint ( ) const
finaloverridevirtualinherited

Returns a global reference point: For the Cylinder this is \( (R*cos(\phi), R*sin(\phi),0)*transform() \) Where \( \phi \) denotes the averagePhi() of the cylinderBounds.

Reimplemented from Trk::Surface.

Definition at line 135 of file ConeSurface.cxx.

136{
137 if (!m_referencePoint) {
138 // this is what was in cylinder
139 // double rMedium = bounds().r();
140 // double phi = bounds().averagePhi();
141 // Trk::GlobalPosition gp(rMedium*cos(phi), rMedium*sin(phi), 0.);
142 Amg::Vector3D gp(0., 0., 0.);
143 m_referencePoint.set(std::make_unique<Amg::Vector3D>(transform() * gp));
144 }
145 return (*m_referencePoint);
146}
CxxUtils::CachedUniquePtr< Amg::Vector3D > m_referencePoint
The rotational symmetry axis.

◆ globalToLocal() [1/3]

bool Trk::ConeSurface::globalToLocal ( const Amg::Vector3D & glob,
const Amg::Vector3D & mom,
Amg::Vector2D & loc ) const
finaloverridevirtualinherited

Specialized for ConeSurface : GlobalToLocal method without dynamic memory allocation - boolean checks if on surface.

Implements Trk::Surface.

Definition at line 201 of file ConeSurface.cxx.

202{
203 Amg::Vector3D loc3Dframe(inverseTransformMultHelper(glopos));
204 double r = loc3Dframe.z() * bounds().tanAlpha();
205 locpos = Amg::Vector2D(r * atan2(loc3Dframe.y(), loc3Dframe.x()), loc3Dframe.z());
206 // now decide on the quility of the transformation
207 // double inttol = r*0.0001;
208 // inttol = (inttol<0.01) ? 0.01 : 0.01; // ?
209 double inttol = 0.01;
210 return ((loc3Dframe.perp() - r) <= inttol);
211}
double tanAlpha() const
This method returns the average phi.
virtual const ConeBounds & bounds() const override final
This method returns the ConeBounds by reference (NoBounds is not possible for cone)
Amg::Vector3D inverseTransformMultHelper(const Amg::Vector3D &glopos) const
int r
Definition globals.cxx:22
Eigen::Matrix< double, 2, 1 > Vector2D

◆ globalToLocal() [2/3]

std::optional< Amg::Vector2D > Trk::Surface::globalToLocal ( const Amg::Vector3D & glopos,
const Amg::Vector3D & glomom ) const
inherited

This method returns the LocalPosition from a provided GlobalPosition.

If the GlobalPosition is not on the Surface, it returns a nullopt This method does not check if the calculated LocalPosition is inside surface bounds. If this check is needed, use positionOnSurface - for generality with momentum

◆ globalToLocal() [3/3]

std::optional< Amg::Vector2D > Trk::Surface::globalToLocal ( const Amg::Vector3D & glopos,
double tol = 0. ) const
inherited

This method returns the LocalPosition from a provided GlobalPosition.

If the GlobalPosition is not on the Surface, it returns nullopt This method does not check if the calculated LocalPosition is inside surface bounds. If this check is needed, use positionOnSurface - only for planar, cylinder surface fully defined

◆ hasSubStructure()

bool Trk::Layer::hasSubStructure ( bool resolveSensitive = false) const
virtualinherited

Has sub-structure method:

  • sub-structure depending on : (a) only when required to resolve sub surfaces for sensitive hits (b) also material is ordered with sub structure

Definition at line 238 of file Layer.cxx.

238 {
239 return resolveSensitive && m_surfaceArray;
240}

◆ insideBounds()

virtual bool Trk::ConeSurface::insideBounds ( const Amg::Vector2D & locpos,
double tol1 = 0.,
double tol2 = 0. ) const
overridevirtualinherited

This method calls the inside method of ConeBounds.

Implements Trk::Surface.

◆ insideBoundsCheck()

virtual bool Trk::ConeSurface::insideBoundsCheck ( const Amg::Vector2D & locpos,
const BoundaryCheck & bchk ) const
finaloverridevirtualinherited

Implements Trk::Surface.

◆ inverseTransformHelper()

Amg::Transform3D Trk::Surface::inverseTransformHelper ( ) const
protectedinherited

Helper method to factorize in one place common operations calculate inverse transofrm and multiply with position.

◆ inverseTransformMultHelper()

Amg::Vector3D Trk::Surface::inverseTransformMultHelper ( const Amg::Vector3D & glopos) const
protectedinherited

◆ isActive()

bool Trk::Surface::isActive ( ) const
inherited

Return 'true' if this surface is owned by the detector element.

◆ isFree()

bool Trk::Surface::isFree ( ) const
inherited

Returns 'true' if this surface is 'free', i.e.

it does not belong to a detector element (and returns false otherwise

◆ isOnLayer()

bool Trk::Layer::isOnLayer ( const Amg::Vector3D & gp,
const BoundaryCheck & bcheck = BoundaryCheck(true) ) const
virtualinherited

isOnLayer() method, using isOnSurface() with Layer specific tolerance

Reimplemented in Trk::MaterialLayer, Trk::MaterialLayerNoOwnSurf, Trk::MaterialLayerOwnSurf, and Trk::NavigationLayer.

Definition at line 135 of file Layer.cxx.

136 {
137 return (surfaceRepresentation())
138 .isOnSurface(gp, bchk, 0.5 * m_layerThickness);
139}
double m_layerThickness
descriptor for overlap/next surface (owning ptr)
Definition Layer.h:290

◆ isOnSurface()

bool Surface::isOnSurface ( const Amg::Vector3D & glopo,
const BoundaryCheck & bchk = true,
double tol1 = 0.,
double tol2 = 0. ) const
virtualinherited

This method returns true if the GlobalPosition is on the Surface for both, within or without check of whether the local position is inside boundaries or not.

Reimplemented in GXF::CylinderSurface, GXF::DiscSurface, PlaneSurface, Trk::CylinderSurface, Trk::DetElementSurface, Trk::DiscSurface, Trk::PerigeeSurface, Trk::PlaneSurface, Trk::SlidingCylinderSurface, Trk::SlidingDiscSurface, and Trk::StraightLineSurface.

Definition at line 123 of file Surface.cxx.

127{
128 std::optional<Amg::Vector2D> posOnSurface =
129 positionOnSurface(glopo, bchk, tol1, tol2);
130 return static_cast<bool>(posOnSurface);
131}
std::optional< Amg::Vector2D > positionOnSurface(const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const
positionOnSurface() returns the LocalPosition on the Surface, If BoundaryCheck==false it just return...
Definition Surface.cxx:106

◆ layerIndex()

const LayerIndex & Trk::Layer::layerIndex ( ) const
inherited

get the layerIndex

◆ layerMaterialProperties()

const LayerMaterialProperties * Trk::Layer::layerMaterialProperties ( ) const
inherited

getting the LayerMaterialProperties including full/pre/post update

◆ layerType()

int Trk::Layer::layerType ( ) const
inherited

get the Layer coding

◆ localParametersToPosition()

virtual Amg::Vector2D Trk::ConeSurface::localParametersToPosition ( const LocalParameters & locpars) const
finaloverridevirtualinherited

Specialized for ConeSurface : LocalParameters to Vector2D.

Reimplemented from Trk::Surface.

◆ localToGlobal() [1/5]

ATH_FLATTEN void Trk::ConeSurface::localToGlobal ( const Amg::Vector2D & locp,
const Amg::Vector3D & mom,
Amg::Vector3D & glob ) const
finaloverridevirtualinherited

Specialized for ConeSurface : LocalToGlobal method without dynamic memory allocation.

Implements Trk::Surface.

Definition at line 190 of file ConeSurface.cxx.

191{
192 // create the position in the local 3d frame
193 double r = locpos[Trk::locZ] * bounds().tanAlpha();
194 double phi = locpos[Trk::locRPhi] / r;
195 Amg::Vector3D loc3Dframe(r * cos(phi), r * sin(phi), locpos[Trk::locZ]);
196 // transport it to the globalframe
197 glopos = transform() * loc3Dframe;
198}
@ locRPhi
Definition ParamDefs.h:40
@ locZ
local cylindrical
Definition ParamDefs.h:42

◆ localToGlobal() [2/5]

Amg::Vector3D Trk::Surface::localToGlobal ( const Amg::Vector2D & locpos) const
inherited

This method returns the GlobalPosition from a LocalPosition uses the per surface localToGlobal.

◆ localToGlobal() [3/5]

Amg::Vector3D Trk::Surface::localToGlobal ( const Amg::Vector2D & locpos,
const Amg::Vector3D & glomom ) const
inherited

This method returns the GlobalPosition from a LocalPosition The LocalPosition can be outside Surface bounds - for generality with momentum.

◆ localToGlobal() [4/5]

Amg::Vector3D Trk::Surface::localToGlobal ( const LocalParameters & locpars) const
inherited

This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds.

◆ localToGlobal() [5/5]

Amg::Vector3D Trk::Surface::localToGlobal ( const LocalParameters & locpars,
const Amg::Vector3D & glomom ) const
inherited

This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds - for generality with momentum.

◆ materialLayer() [1/2]

Trk::MaterialLayer * Trk::Surface::materialLayer ( )
inherited

◆ materialLayer() [2/2]

const Trk::MaterialLayer * Trk::Surface::materialLayer ( ) const
inherited

return the material Layer

◆ measurementFrame()

Amg::RotationMatrix3D Trk::ConeSurface::measurementFrame ( const Amg::Vector3D & glopos,
const Amg::Vector3D & glomom ) const
finaloverridevirtualinherited

Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface.

<

Todo
fold in alpha

Reimplemented from Trk::Surface.

Definition at line 170 of file ConeSurface.cxx.

171{
173 // construct the measurement frame
174 Amg::Vector3D measY(transform().rotation().col(2)); // measured Y is the z axis
175 Amg::Vector3D measDepth =
176 Amg::Vector3D(pos.x(), pos.y(), 0.).unit(); // measured z is the position transverse normalized
177 Amg::Vector3D measX(measY.cross(measDepth).unit()); // measured X is what comoes out of it
178 // the columnes
179 mFrame.col(0) = measX;
180 mFrame.col(1) = measY;
181 mFrame.col(2) = measDepth;
182 // return the rotation matrix
184 // return it
185 return mFrame;
186}

◆ moveLayer()

void Trk::ConeLayer::moveLayer ( Amg::Transform3D & shift)
finaloverridevirtual

move the Layer

Implements Trk::Layer.

Definition at line 119 of file ConeLayer.cxx.

120{
122 std::make_unique<Transforms>(shift * m_transforms->transform);
123}
std::unique_ptr< Transforms > m_transforms
Unique Pointer to the Transforms struct.

◆ name()

virtual std::string Trk::ConeSurface::name ( ) const
overridevirtualinherited

Return properly formatted class name for screen output.

Implements Trk::Surface.

◆ nextLayer() [1/2]

const Trk::Layer * Trk::Layer::nextLayer ( bool skipNavLayer = false) const
inherited

getting what's stored to be the next Layer, boolean to skip navigation layers

Definition at line 151 of file Layer.cxx.

151 {
152 if (!skipNavLayer) return m_nextLayer;
153 const Trk::Layer* nextMatLayer = m_nextLayer;
154 // get the next Material layer
155 while (nextMatLayer && !nextMatLayer->layerMaterialProperties() &&
156 !nextMatLayer->surfaceArray())
157 nextMatLayer = nextMatLayer->nextLayer();
158 return nextMatLayer;
159}
const Layer * nextLayer(const Amg::Vector3D &gp, const Amg::Vector3D &udir) const
getting the next/previous Layer if registered - unit for direction vector required
Definition Layer.cxx:161
const LayerMaterialProperties * layerMaterialProperties() const
getting the LayerMaterialProperties including full/pre/post update
const Layer * m_nextLayer
BinUtility for next/previous decision.
Definition Layer.h:298

◆ nextLayer() [2/2]

const Trk::Layer * Trk::Layer::nextLayer ( const Amg::Vector3D & gp,
const Amg::Vector3D & udir ) const
inherited

getting the next/previous Layer if registered - unit for direction vector required

Definition at line 161 of file Layer.cxx.

162 {
163 // no binutility -> no chance to find out the direction
164 if (!m_binUtility) return nullptr;
165 return (m_binUtility->orderDirection(gp, mom) == Trk::next) ? m_nextLayer
167}
const Layer * m_previousLayer
< the previous Layer according to BinGenUtils
Definition Layer.h:296
const BinUtility * m_binUtility
Enclosing TrackingVolume.
Definition Layer.h:300
@ next
Definition BinningData.h:33

◆ normal() [1/2]

virtual const Amg::Vector3D & Trk::Surface::normal ( ) const
virtualinherited

Returns the normal vector of the Surface (i.e.

in generall z-axis of rotation)

Reimplemented from Trk::Surface.

◆ normal() [2/2]

virtual Amg::Vector3D Trk::ConeSurface::normal ( const Amg::Vector2D & locpo) const
finaloverridevirtualinherited

Return method for surface normal information at a given local point, overwrites the normal() from base class.

Reimplemented from Trk::Surface.

◆ numberOfInstantiations()

std::size_t Trk::ObjectCounter< Trk::Surface >::numberOfInstantiations ( )
inlinestaticinherited

Definition at line 25 of file TrkObjectCounter.h.

26 {
27#ifndef NDEBUG
28 return s_numberOfInstantiations.load();
29#endif
30 return 0;
31 }
Helper to enable counting number of instantiations in debug builds.

◆ onLayer()

template<class T>
bool Trk::Layer::onLayer ( const T & parameters,
const BoundaryCheck & bcheck = BoundaryCheck(true) ) const
inherited

templated on Layer method

◆ onSurface()

template<class T>
bool Trk::Surface::onSurface ( const T & parameters,
const BoundaryCheck & bchk = BoundaryCheck(true) ) const
inherited

The templated Parameters OnSurface method - checks on surface pointer first.

◆ operator!=()

bool Trk::Surface::operator!= ( const Surface & sf) const
inherited

Non-equality operator.

◆ operator=()

Trk::ConeLayer & Trk::ConeLayer::operator= ( const ConeLayer & clay)

Assignment operator for ConeLayers.

Definition at line 68 of file ConeLayer.cxx.

69{
70 if (this != &clay) {
71 // call the assignments of the base classes
74 }
75 return (*this);
76}
ConeSurface & operator=(const ConeSurface &csf)
Assignment operator.
Layer & operator=(const Layer &lay)
Assignment operator for Derived classes.
Definition Layer.cxx:84

◆ operator==() [1/2]

bool Trk::ConeSurface::operator== ( const ConeSurface & cf) const
inherited

◆ operator==() [2/2]

bool Trk::ConeSurface::operator== ( const Surface & sf) const
overridevirtualinherited

Equality operator.

Implements Trk::Surface.

Definition at line 149 of file ConeSurface.cxx.

150{
151 // first check the type not to compare apples with oranges
152 if (sf.type()!=Trk::SurfaceType::Cone){
153 return false;
154 }
155 return (*this) == static_cast<const Trk::ConeSurface&>(sf);
156}

◆ overlapDescriptor()

const OverlapDescriptor * Trk::Layer::overlapDescriptor ( ) const
inherited

gettint hte overlap descriptor

◆ owner()

SurfaceOwner Trk::Surface::owner ( ) const
inherited

return ownership

◆ pathCorrection()

double Trk::ConeSurface::pathCorrection ( const Amg::Vector3D & pos,
const Amg::Vector3D & mom ) const
overridevirtualinherited

the pathCorrection for derived classes with thickness

Reimplemented from Trk::Surface.

Definition at line 361 of file ConeSurface.cxx.

362{
363 // (cos phi cos alpha, sin phi cos alpha, sgn z sin alpha)
364 bool applyTransform = !(transform().isApprox(Amg::Transform3D::Identity()));
365 Amg::Vector3D posLocal = applyTransform ? inverseTransformMultHelper(pos) : pos;
366 double phi = posLocal.phi();
367 double sgn = posLocal.z() > 0. ? -1. : +1.;
368 Amg::Vector3D normalC(cos(phi) * bounds().cosAlpha(), sin(phi) * bounds().cosAlpha(), sgn * bounds().sinAlpha());
369 if (applyTransform)
370 normalC = transform().linear() * normalC;
371 // back in global frame
372 double cAlpha = normalC.dot(mom.unit());
373 return (cAlpha != 0.) ? std::abs(1. / cAlpha) : 1.; // ST undefined for cAlpha=0
374}

◆ positionOnSurface()

std::optional< Amg::Vector2D > Surface::positionOnSurface ( const Amg::Vector3D & glopo,
const BoundaryCheck & bchk = true,
double tol1 = 0.,
double tol2 = 0. ) const
inherited

positionOnSurface() returns the LocalPosition on the Surface,
If BoundaryCheck==false it just returns the value of globalToLocal (including nullptr possibility), if BoundaryCheck==true it checks whether the point is inside bounds or not (returns std::nullopt in this case).

Definition at line 106 of file Surface.cxx.

110{
111 std::optional<Amg::Vector2D> posOnSurface = globalToLocal(glopo, tol1);
112 if (!bchk){
113 return posOnSurface;
114 }
115 if (posOnSurface && insideBounds(*posOnSurface, tol1, tol2)){
116 return posOnSurface;
117 }
118 return std::nullopt;
119}
virtual bool globalToLocal(const Amg::Vector3D &glob, const Amg::Vector3D &mom, Amg::Vector2D &loc) const =0
Specified by each surface type: GlobalToLocal method without dynamic memory allocation - boolean chec...
virtual bool insideBounds(const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const =0
virtual methods to be overwritten by the inherited surfaces

◆ postUpdateMaterialFactor()

double Trk::ConeLayer::postUpdateMaterialFactor ( const Trk::TrackParameters & par,
Trk::PropDirection dir ) const
finaloverridevirtual

getting the MaterialProperties back - for post-update

Reimplemented from Trk::Layer.

Definition at line 106 of file ConeLayer.cxx.

108{
110 return 0;
111 const Amg::Vector3D& parmPos = parm.position();
112 Amg::Vector3D pastStep(parmPos + dir * parm.momentum().normalized());
113 if (pastStep.perp() > parm.position().perp())
114 return Trk::Layer::m_layerMaterialProperties->alongPostFactor();
115 return Trk::Layer::m_layerMaterialProperties->oppositePostFactor();
116}

◆ preUpdateMaterialFactor()

double Trk::ConeLayer::preUpdateMaterialFactor ( const Trk::TrackParameters & par,
Trk::PropDirection dir ) const
finaloverridevirtual

getting the MaterialProperties back - for pre-update

Reimplemented from Trk::Layer.

Definition at line 92 of file ConeLayer.cxx.

94{
96 return 0.;
97 // calculate the direction to the normal
98 const Amg::Vector3D& parmPos = parm.position();
99 Amg::Vector3D pastStep(parmPos + dir * parm.momentum().normalized());
100 if (pastStep.perp() > parm.position().perp())
101 return Trk::Layer::m_layerMaterialProperties->alongPreFactor();
102 return Trk::Layer::m_layerMaterialProperties->oppositePreFactor();
103}

◆ previousLayer()

const Trk::Layer * Trk::Layer::previousLayer ( bool skipNavLayer = false) const
inherited

getting what's stored to be the previous Layer, boolean to skip navigation layers

Definition at line 141 of file Layer.cxx.

141 {
142 if (!skipNavLayer) return m_previousLayer;
143 const Trk::Layer* prevMatLayer = m_previousLayer;
144 // get the previoys Material layer
145 while (prevMatLayer && !prevMatLayer->layerMaterialProperties() &&
146 !prevMatLayer->surfaceArray())
147 prevMatLayer = prevMatLayer->previousLayer();
148 return prevMatLayer;
149}
const Layer * previousLayer(bool skipNavLayer=false) const
getting what's stored to be the previous Layer, boolean to skip navigation layers
Definition Layer.cxx:141

◆ registerLayerIndex()

void Trk::Layer::registerLayerIndex ( const LayerIndex & lIdx)
inherited

◆ registerRepresentingVolume()

void Trk::Layer::registerRepresentingVolume ( const Volume * theVol)
inherited

register Volume associated to the layer

◆ representingVolume()

const Volume * Trk::Layer::representingVolume ( ) const
inherited

get the Volume associated to the layer

◆ resizeAndRepositionLayer()

virtual void Trk::ConeLayer::resizeAndRepositionLayer ( const VolumeBounds & ,
const Amg::Vector3D & ,
double  )
inlinefinaloverridevirtual

Resize the layer to the tracking volume - not supported since this an entry layer method.

Implements Trk::Layer.

Definition at line 116 of file ConeLayer.h.

119 {}

◆ resizeLayer()

virtual void Trk::ConeLayer::resizeLayer ( const VolumeBounds & ,
double  )
inlinefinaloverridevirtual

Resize the layer to the tracking volume - not (yet) supported for ConeLayer.

Implements Trk::Layer.

Definition at line 112 of file ConeLayer.h.

112{}

◆ rotSymmetryAxis()

const Amg::Vector3D & Trk::ConeSurface::rotSymmetryAxis ( ) const
virtualinherited

Return method for the rotational symmetry axis - the z-Axis of the HepTransform.

Definition at line 159 of file ConeSurface.cxx.

160{
161 if (!m_rotSymmetryAxis) {
163 m_rotSymmetryAxis.set(std::make_unique<Amg::Vector3D>(zAxis));
164 }
165 return (*m_rotSymmetryAxis);
166}
CxxUtils::CachedUniquePtr< Amg::Vector3D > m_rotSymmetryAxis

◆ setBinUtility()

void Trk::Layer::setBinUtility ( const BinUtility * )
inherited

set the BinUtility

◆ setLayerType()

void Trk::Layer::setLayerType ( int identifier)
inherited

set the Layer coding

◆ setMaterialLayer()

void Trk::Surface::setMaterialLayer ( std::shared_ptr< Trk::MaterialLayer > mlay)
inherited

set material layer

◆ setNextLayer()

void Trk::Layer::setNextLayer ( const Layer * )
inherited

set the next Layer

◆ setOwner()

void Trk::Surface::setOwner ( SurfaceOwner x)
inherited

set Ownership

◆ setPreviousLayer()

void Trk::Layer::setPreviousLayer ( const Layer * )
inherited

set the previous Layer

◆ setRef()

void Trk::Layer::setRef ( double )
inherited

set the reference measure

◆ setTransform()

void Trk::Surface::setTransform ( const Amg::Transform3D & trans)
inherited

Set the transform updates center and normal.

◆ straightLineDistanceEstimate() [1/2]

Trk::DistanceSolution Trk::ConeSurface::straightLineDistanceEstimate ( const Amg::Vector3D & pos,
const Amg::Vector3D & dir ) const
finaloverridevirtualinherited

fast straight line distance to Surface

distance to surface

Implements Trk::Surface.

Definition at line 281 of file ConeSurface.cxx.

282{
283 return straightLineDistanceEstimate(pos, dir, false);
284}
virtual DistanceSolution straightLineDistanceEstimate(const Amg::Vector3D &pos, const Amg::Vector3D &dir) const override final
fast straight line distance to Surface

◆ straightLineDistanceEstimate() [2/2]

Trk::DistanceSolution Trk::ConeSurface::straightLineDistanceEstimate ( const Amg::Vector3D & pos,
const Amg::Vector3D & dir,
bool bound ) const
finaloverridevirtualinherited

fast straight line distance to Surface - with bounds options

Implements Trk::Surface.

Definition at line 287 of file ConeSurface.cxx.

288{
289 double tol = 0.001;
290
291 Amg::Vector3D Cntr = center(); // tip of the cone (i.e. join between halves)
292 Amg::Vector3D N = normal(); // this is the z-direction of the cone in
293 // global coordiantes i believe
294
295 Amg::Vector3D dPos = pos - Cntr; // pos w.r.t. cone tip
296 double posLength = sqrt(dPos.dot(dPos));
297 if (posLength < tol) // at origin of cone => on cone (avoid div by zero)
298 return {1, 0., true, 0.};
299 double posProj = dPos.dot(N);
300 double posProjAngle = acos(posProj / posLength);
301 double currDist = posLength * sin(posProjAngle - atan(bounds().tanAlpha()));
302 // solution on the surface
303 if (std::abs(currDist) < tol)
304 return {1, currDist, true, 0.};
305
306 // transform to a frame with the cone along z, with the tip a 0
307 Amg::Vector3D locFramePos = inverseTransformMultHelper(pos);
308 Amg::Vector3D locFrameDir = transform().rotation().inverse() * dir.normalized();
309
310 // solutions are in the form of a solution to a quadratic eqn.
311 double tan2Alpha = bounds().tanAlpha() * bounds().tanAlpha();
312 double A = locFrameDir.x() * locFrameDir.x() + locFrameDir.y() * locFrameDir.y() -
313 tan2Alpha * locFrameDir.z() * locFrameDir.z();
314 double B = 2 * (locFrameDir.x() * locFramePos.x() + locFrameDir.y() * locFramePos.y() -
315 tan2Alpha * locFrameDir.z() * locFramePos.z());
316 double C = locFramePos.x() * locFramePos.x() + locFramePos.y() * locFramePos.y() -
317 tan2Alpha * locFramePos.z() * locFramePos.z();
318 if (A == 0.)
319 A += 1e-16; // avoid div by zero
320 // use Andreas' quad solver, much more stable than what I wrote
321 Trk::RealQuadraticEquation solns(A, B, C);
322
323 double d2bound = 0.;
324 if (bound && solns.solutions != Trk::none) {
325 std::optional<Amg::Vector2D> p = std::nullopt;
326 if (std::abs(solns.first) < std::abs(solns.second)){
327 p = Surface::globalToLocal(locFramePos + solns.first * locFrameDir);
328 }
329 else{
330 p = Surface::globalToLocal(locFramePos + solns.second * locFrameDir);
331 }
332 if (p) {
333 d2bound = bounds().minDistance(*p);
334 }
335 if (d2bound < 0){
336 d2bound = 0;
337 }
338 }
339 double totDist = d2bound > 0. ? sqrt(d2bound * d2bound + currDist * currDist) : currDist;
340
341 switch (solns.solutions) {
342 case Trk::none:{
343 return {0, totDist, true, 0., 0.};
344 }
345 case Trk::one:{
346 return {1, totDist, true, solns.first};
347 }
348 case Trk::two:{
349 if (std::abs(solns.first) < std::abs(solns.second)){
350 return {2, totDist, true, solns.first, solns.second};
351 }
352 return {2, totDist, true, solns.second, solns.first};
353 }
354 default:{
355 return {0, totDist, true, 0., 0.};
356 }
357 };
358}
virtual double minDistance(const Amg::Vector2D &pos) const override
Minimal distance to boundary ( > 0 if outside and <=0 if inside)
virtual Amg::Vector3D normal(const Amg::Vector2D &locpo) const override final
Return method for surface normal information at a given local point, overwrites the normal() from bas...
struct color C

◆ straightLineIntersection() [1/2]

Trk::Intersection Trk::ConeSurface::straightLineIntersection ( const Amg::Vector3D & pos,
const Amg::Vector3D & dir,
bool forceDir = false,
Trk::BoundaryCheck bchk = false ) const
finaloverridevirtualinherited

fast straight line intersection schema - provides closest intersection and (signed) path length

mathematical motivation:

The calculation will be done in the 3-dim frame of the cone, i.e. the symmetry axis of the cone is the z-axis, x- and y-axis are perpenticular to the the z-axis. In this frame the cone is centered around the origin. Therefore the two points describing the line have to be first recalculated into the new frame. Suppose, this is done, the points of intersection can be obtained as follows:

The cone is described by the implicit equation \(x^2 + y^2 = z^2 \tan \alpha\) where \(\alpha\) is opening half-angle of the cone the and the line by the parameter equation (with \(t\) the parameter and \(x_1\) and \(x_2\) are points on the line) \((x,y,z) = \vec x_1 + (\vec x_2 - \vec x_2) t \). The intersection is the given to the value of \(t\) where the \((x,y,z)\) coordinates of the line satisfy the implicit equation of the cone. Inserting the expression for the points on the line into the equation of the cone and rearranging to the form of a gives (letting \( \vec x_d = \frac{\vec x_2 - \vec x_1}{\abs{\vec x_2 - \vec x_1}} \)): \(t^2 (x_d^2 + y_d^2 - z_d^2 \tan^2 \alpha) + 2 t (x_1 x_d + y_1 y_d - z_1 z_d \tan^2 \alpha) + (x_1^2 + y_1^2 - z_1^2 \tan^2 \alpha) = 0 \) Solving the above for \(t\) and putting the values into the equation of the line gives the points of intersection. \(t\) is also the length of the path, since we normalized \(x_d\) to be unit length.

Implements Trk::Surface.

Definition at line 214 of file ConeSurface.cxx.

218{
219 // transform to a frame with the cone along z, with the tip at 0
220 const Amg::Transform3D surfaceTrans = inverseTransformHelper();
221 Amg::Vector3D tpos1 = surfaceTrans * pos;
222 Amg::Vector3D tdir = surfaceTrans.linear() * dir;
223 // see the header for the formula derivation
224 double tan2Alpha = bounds().tanAlpha() * bounds().tanAlpha();
225 double A = tdir.x() * tdir.x() + tdir.y() * tdir.y() - tan2Alpha * tdir.z() * tdir.z();
226 double B = 2 * (tdir.x() * tpos1.x() + tdir.y() * tpos1.y() - tan2Alpha * dir.z() * tpos1.z());
227 double C = tpos1.x() * tpos1.x() + tpos1.y() * tpos1.y() - tan2Alpha * tpos1.z() * tpos1.z();
228 if (A == 0.)
229 A += 1e-16; // avoid div by zero
230
231 // use Andreas' quad solver, much more stable than what I wrote
232 Trk::RealQuadraticEquation solns(A, B, C);
233
234 Amg::Vector3D solution(0., 0., 0.);
235 double path = 0.;
236 bool isValid = false;
237 if (solns.solutions != Trk::none) {
238 double t1 = solns.first;
239 Amg::Vector3D soln1Loc(tpos1 + t1 * dir);
240 isValid = forceDir ? (t1 > 0.) : true;
241 // there's only one solution
242 if (solns.solutions == Trk::one) {
243 solution = soln1Loc;
244 path = t1;
245 } else {
246 double t2 = solns.second;
247 Amg::Vector3D soln2Loc(tpos1 + t2 * dir);
248 // both solutions have the same sign
249 if (t1 * t2 > 0. || !forceDir) {
250 if (t1 * t1 < t2 * t2) {
251 solution = soln1Loc;
252 path = t1;
253 } else {
254 solution = soln2Loc;
255 path = t2;
256 }
257 } else {
258 if (t1 > 0.) {
259 solution = soln1Loc;
260 path = t1;
261 } else {
262 solution = soln2Loc;
263 path = t2;
264 }
265 }
266 }
267 }
268 solution = transform() * solution;
269
270 isValid = bchk ? (isValid && isOnSurface(solution)) : isValid;
271 return Trk::Intersection(solution, path, isValid);
272}
bool isValid(const T &p)
Av: we implement here an ATLAS-sepcific convention: all particles which are 99xxxxx are fine.
Definition AtlasPID.h:878
Amg::Transform3D inverseTransformHelper() const
Helper method to factorize in one place common operations calculate inverse transofrm and multiply wi...
virtual bool isOnSurface(const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const
This method returns true if the GlobalPosition is on the Surface for both, within or without check of...
Definition Surface.cxx:123
std::vector< ALFA_RawDataContainer_p1 > t2
std::vector< ALFA_RawDataCollection_p1 > t1
Eigen::Affine3d Transform3D
path
python interpreter configuration --------------------------------------—
Definition athena.py:128

◆ straightLineIntersection() [2/2]

template<typename T>
Intersection Trk::Surface::straightLineIntersection ( const T & pars,
bool forceDir = false,
const Trk::BoundaryCheck & bchk = false ) const
inlineinherited

fst straight line intersection schema - templated for charged and neutral parameters

Definition at line 352 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

356 {
358 pars.position(), pars.momentum().unit(), forceDir, bchk);
359 }
Intersection straightLineIntersection(const T &pars, bool forceDir=false, const Trk::BoundaryCheck &bchk=false) const
fst straight line intersection schema - templated for charged and neutral parameters

◆ subSurface() [1/2]

const Trk::Surface * Trk::Layer::subSurface ( const Amg::Vector2D & lp) const
inherited

If no subSurface array is defined or no subSurface can be found to the given Amg::Vector2D, it would return 0.

Definition at line 112 of file Layer.cxx.

112 {
113 if (m_surfaceArray) return m_surfaceArray->object(lp);
114 return nullptr;
115}

◆ subSurface() [2/2]

const Trk::Surface * Trk::Layer::subSurface ( const Amg::Vector3D & gp) const
inherited

If no subSurface array is defined or no subSurface can be found to the given Amg::Vector3D, it would return 0.

Definition at line 107 of file Layer.cxx.

107 {
108 if (m_surfaceArray) return m_surfaceArray->object(gp);
109 return nullptr;
110}

◆ subSurfaceReference()

const Trk::Surface * Trk::Layer::subSurfaceReference ( unsigned int idx = 0) const
inherited

Return a reference sub surface of the layer, usually the first one in the array.

  • if an index is given (and the index is in range), this surface is returned

Definition at line 117 of file Layer.cxx.

117 {
118 // the reference surface
119 const Trk::Surface* referenceSurface = nullptr;
120 if (m_surfaceArray) {
121 // get a reference surface
122 std::span<Trk::Surface const * const> surfaces = std::as_const(*m_surfaceArray).arrayObjects();
123 // get a reference surface
124 unsigned int rfSurfaces = surfaces.size();
125 if (idx && idx < rfSurfaces) return surfaces[idx];
126 // get the first one which is non zero
127 for (unsigned int rsf = 0; rsf < rfSurfaces; ++rsf) {
128 referenceSurface = surfaces[rsf];
129 if (referenceSurface) break;
130 }
131 }
132 return referenceSurface;
133}

◆ surfaceArray() [1/2]

SurfaceArray * Trk::Layer::surfaceArray ( )
inherited

Return the entire SurfaceArray, returns nullptr if no SurfaceArray.

◆ surfaceArray() [2/2]

const SurfaceArray * Trk::Layer::surfaceArray ( ) const
inherited

Return the entire SurfaceArray, returns nullptr if no SurfaceArray.

◆ surfaceOnApproach()

const Trk::Surface & Trk::Layer::surfaceOnApproach ( const Amg::Vector3D & pos,
const Amg::Vector3D & dir,
PropDirection pdir,
const BoundaryCheck & bcheck,
bool resolveSubSurfaces = 0,
const ICompatibilityEstimator * ice = nullptr ) const
virtualinherited

Surface seen on approach - if not defined differently, it is the surfaceRepresentation()

Reimplemented in Trk::CylinderLayer, and Trk::DiscLayer.

Definition at line 209 of file Layer.cxx.

212 {
213 return surfaceRepresentation();
214}

◆ surfaceRepresentation() [1/2]

const Trk::ConeSurface & Trk::ConeLayer::surfaceRepresentation ( ) const
finaloverridevirtual

Transforms the layer into a Surface representation for extrapolation.

Implements Trk::Layer.

Definition at line 79 of file ConeLayer.cxx.

80{
81 return (*this);
82}

◆ surfaceRepresentation() [2/2]

Trk::ConeSurface & Trk::ConeLayer::surfaceRepresentation ( )
finaloverridevirtual

Implements Trk::Layer.

Definition at line 85 of file ConeLayer.cxx.

86{
87 return (*this);
88}

◆ thickness()

double Trk::Layer::thickness ( ) const
inherited

Return the Thickness of the Layer.

◆ transform()

const Amg::Transform3D & Trk::Surface::transform ( ) const
inherited

Returns HepGeom::Transform3D by reference.

◆ type()

virtual constexpr SurfaceType Trk::ConeSurface::type ( ) const
constexprfinaloverridevirtualinherited

Return the surface type.

Implements Trk::Surface.

◆ uniqueClone()

std::unique_ptr< Surface > Trk::Surface::uniqueClone ( ) const
inherited

NVI method returning unique_ptr clone.

Member Data Documentation

◆ m_associatedDetElement

const TrkDetElementBase* Trk::Surface::m_associatedDetElement {}
protectedinherited

Not owning Pointer to the Detector Element.

Definition at line 441 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

441{};

◆ m_associatedDetElementId

Identifier Trk::Surface::m_associatedDetElementId {}
protectedinherited

Identifier to the Detector Element.

Definition at line 443 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

443{};

◆ m_associatedLayer

const Layer* Trk::Surface::m_associatedLayer {}
protectedinherited

The associated layer Trk::Layer This is the layer in which the Surface is embedded.

so not owning pointer.

Definition at line 448 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

448{};

◆ m_binUtility

const BinUtility* Trk::Layer::m_binUtility = nullptr
protectedinherited

Enclosing TrackingVolume.

Definition at line 300 of file Layer.h.

◆ m_bounds

std::shared_ptr<const ConeBounds> Trk::ConeSurface::m_bounds
protectedinherited

The global reference point (== a point on thesurface)

Definition at line 274 of file ConeSurface.h.

◆ m_enclosingDetachedTrackingVolume

const DetachedTrackingVolume* Trk::Layer::m_enclosingDetachedTrackingVolume = nullptr
protectedinherited

Definition at line 304 of file Layer.h.

◆ m_enclosingTrackingVolume

const TrackingVolume* Trk::Layer::m_enclosingTrackingVolume = nullptr
protectedinherited

Enclosing DetachedTrackingVolume.

Definition at line 302 of file Layer.h.

◆ m_index

LayerIndex Trk::Layer::m_index {-1}
protectedinherited

LayerIndex.

Definition at line 306 of file Layer.h.

306{-1};

◆ m_layerMaterialProperties

std::unique_ptr<LayerMaterialProperties> Trk::Layer::m_layerMaterialProperties {}
protectedinherited

thickness of the Layer

Definition at line 288 of file Layer.h.

288{};

◆ m_layerThickness

double Trk::Layer::m_layerThickness {}
protectedinherited

descriptor for overlap/next surface (owning ptr)

Definition at line 290 of file Layer.h.

290{};

◆ m_layerType

int Trk::Layer::m_layerType {Trk::active}
protectedinherited

active passive layer

Definition at line 307 of file Layer.h.

307{Trk::active};
@ active
Definition Layer.h:47

◆ m_materialLayer

std::shared_ptr<MaterialLayer> Trk::Surface::m_materialLayer {}
protectedinherited

Possibility to attach a material description to the surface.

In this case the surface is what holds the MaterialLayer. This is usually done for boundary surfaces so shared ptr.

Definition at line 453 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

453{};

◆ m_nextLayer

const Layer* Trk::Layer::m_nextLayer = nullptr
protectedinherited

BinUtility for next/previous decision.

Definition at line 298 of file Layer.h.

◆ m_overlapDescriptor

std::unique_ptr<OverlapDescriptor> Trk::Layer::m_overlapDescriptor {}
protectedinherited

Definition at line 292 of file Layer.h.

292{};

◆ m_owner

SurfaceOwner Trk::Surface::m_owner {SurfaceOwner::noOwn}
protectedinherited

enum for surface owner : default free surface

Definition at line 455 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

◆ m_previousLayer

const Layer* Trk::Layer::m_previousLayer = nullptr
protectedinherited

< the previous Layer according to BinGenUtils

next Layer according to BinGenUtils

Definition at line 296 of file Layer.h.

◆ m_ref

double Trk::Layer::m_ref {}
protectedinherited

reference measure for local coordinate convertors

Definition at line 308 of file Layer.h.

308{};

◆ m_referencePoint

CxxUtils::CachedUniquePtr<Amg::Vector3D> Trk::ConeSurface::m_referencePoint
protectedinherited

The rotational symmetry axis.

Definition at line 276 of file ConeSurface.h.

◆ m_rotSymmetryAxis

CxxUtils::CachedUniquePtr<Amg::Vector3D> Trk::ConeSurface::m_rotSymmetryAxis
protectedinherited

Definition at line 278 of file ConeSurface.h.

◆ m_surfaceArray

std::unique_ptr<SurfaceArray> Trk::Layer::m_surfaceArray {}
protectedinherited

MaterialPoperties of this layer Surface.

Definition at line 286 of file Layer.h.

286{};

◆ m_transforms

std::unique_ptr<Transforms> Trk::Surface::m_transforms {}
protectedinherited

Unique Pointer to the Transforms struct.

Definition at line 439 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

439{};

◆ s_numberOfInstantiations

std::atomic_size_t Trk::ObjectCounter< Trk::Surface >::s_numberOfInstantiations
inlinestaticinherited

Definition at line 22 of file TrkObjectCounter.h.

◆ s_onSurfaceTolerance

double Trk::Surface::s_onSurfaceTolerance = 10e-5
staticconstexprprotectedinherited

Tolerance for being on Surface.

Definition at line 458 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

◆ staticType

SurfaceType Trk::ConeSurface::staticType = SurfaceType::Cone
staticconstexprinherited

The surface type static constexpr.

Definition at line 55 of file ConeSurface.h.


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