![]() |
ATLAS Offline Software
|
Class to describe a planar detector layer for tracking, with subtraction. More...
#include <SubtractedPlaneLayer.h>
Public Types | |
| using | ChargedTrackParametersUniquePtr |
| Unique ptr types. | |
| using | NeutralTrackParametersUniquePtr |
Public Member Functions | |
| SubtractedPlaneLayer () | |
| Default Constructor. | |
| SubtractedPlaneLayer (const SubtractedPlaneSurface *subtrPlaneSurf, const LayerMaterialProperties &laymatprop, double thickness=0., std::unique_ptr< OverlapDescriptor > od=nullptr, int laytyp=int(Trk::active)) | |
| Constructor with SubtractedPlaneSurface and MaterialProperties. | |
| SubtractedPlaneLayer (const SubtractedPlaneLayer &pla) | |
| Copy constructor of SubtractedPlaneLayer. | |
| SubtractedPlaneLayer (const SubtractedPlaneLayer &pla, const Amg::Transform3D &tr) | |
| Copy constructor with shift. | |
| SubtractedPlaneLayer & | operator= (const SubtractedPlaneLayer &) |
| Assignment operator for PlaneLayers. | |
| ~SubtractedPlaneLayer () override | |
| Destructor. | |
| virtual const SubtractedPlaneSurface & | surfaceRepresentation () const override final |
| Transforms the layer into a Surface representation for extrapolation. | |
| virtual SubtractedPlaneSurface & | surfaceRepresentation () override final |
| double | preUpdateMaterialFactor (const Trk::TrackParameters &par, Trk::PropDirection dir) const override final |
| getting the MaterialProperties back - for pre-update | |
| 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 implemented. | |
| virtual void | resizeAndRepositionLayer (const VolumeBounds &, const Amg::Vector3D &, double) override final |
| Resize the layer to the tracking volume - not implemented. | |
| virtual bool | operator== (const Surface &sf) const override final |
| Equality operator. | |
| bool | operator== (const PlaneSurface &cf) const |
| bool | shared () const |
| This method indicates the subtraction mode. | |
| virtual bool | insideBounds (const Amg::Vector2D &locpos, double tol1=0., double tol2=0.) const override final |
| This method calls the inside() method of the Bounds. | |
| const AreaExcluder * | subtractedVolume () const |
| This method allows access to the subtracted part. | |
| virtual std::string | name () const override final |
| Return properly formatted class name for screen output. | |
| virtual PlaneSurface * | clone () const override |
| Virtual constructor. | |
| virtual constexpr SurfaceType | type () const override final |
| Return the surface type. | |
| 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 oop, 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=0., std::optional< AmgSymMatrix(5)> cov=std::nullopt) const override final |
| Use the Surface as a ParametersBase constructor, from global parameters. | |
| template<int DIM, class T> | |
| std::unique_ptr< ParametersT< DIM, T, PlaneSurface > > | 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, PlaneSurface > > | 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 const SurfaceBounds & | bounds () const override final |
| This method returns the bounds by reference, static NoBounds in case of no boundaries. | |
| virtual bool | insideBoundsCheck (const Amg::Vector2D &locpos, const BoundaryCheck &bchk) const override final |
| virtual bool | isOnSurface (const Amg::Vector3D &glopo, const BoundaryCheck &bchk=true, double tol1=0., double tol2=0.) const override final |
| 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. | |
| virtual void | localToGlobal (const Amg::Vector2D &locp, const Amg::Vector3D &mom, Amg::Vector3D &glob) const override final |
| Specified for PlaneSurface: 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 |
| Specified for PlaneSurface: GlobalToLocal method without dynamic memory allocation - boolean checks if on surface. | |
| std::optional< Amg::Vector2D > | globalToLocal (const Amg::Vector3D &glopos, double tol=0.) const |
| This method returns the LocalPosition from a provided GlobalPosition. | |
| std::optional< Amg::Vector2D > | globalToLocal (const Amg::Vector3D &glopos, const Amg::Vector3D &glomom) const |
| This method returns the LocalPosition from a provided GlobalPosition. | |
| void | localToGlobalDirection (const Trk::LocalDirection &locdir, Amg::Vector3D &globdir) const |
| This method transforms a local direction wrt the plane to a global direction. | |
| void | globalToLocalDirection (const Amg::Vector3D &glodir, Trk::LocalDirection &locdir) const |
| This method transforms the global direction to a local direction wrt the plane. | |
| virtual Intersection | straightLineIntersection (const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool forceDir, Trk::BoundaryCheck bchk) const override final |
| fast straight line intersection schema - standard: provides closest intersection and (signed) path length forceDir is to provide the closest forward solution | |
| 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 evaluation to Surface | |
| virtual DistanceSolution | straightLineDistanceEstimate (const Amg::Vector3D &pos, const Amg::Vector3D &dir, bool Bound) const override final |
| fast straight line distance evaluation to Surface - with bound option | |
| bool | operator!= (const Surface &sf) const |
| Non-equality operator. | |
| std::unique_ptr< Surface > | uniqueClone () const |
| NVI method returning unique_ptr clone. | |
| const Amg::Transform3D * | cachedTransform () const |
| Return the cached transformation directly. | |
| const Amg::Transform3D & | transform () const |
| Returns HepGeom::Transform3D by reference. | |
| const Amg::Vector3D & | center () const |
| Returns the center position of the Surface. | |
| virtual const Amg::Vector3D & | normal () const |
| Returns the normal vector of the Surface (i.e. | |
| virtual Amg::Vector3D | normal (const Amg::Vector2D &lp) const |
| Returns a normal vector at a specific local position. | |
| virtual const Amg::Vector3D & | globalReferencePoint () const |
| Returns a global reference point on the surface, for PlaneSurface, StraightLineSurface, PerigeeSurface this is equal to center(), for CylinderSurface and DiscSurface this is a new member. | |
| const TrkDetElementBase * | associatedDetectorElement () const |
| return associated Detector Element | |
| Identifier | associatedDetectorElementIdentifier () const |
| return Identifier of the associated Detector Element | |
| const Trk::Layer * | associatedLayer () const |
| return the associated Layer | |
| const Trk::MaterialLayer * | materialLayer () const |
| return the material Layer | |
| Trk::MaterialLayer * | materialLayer () |
| virtual const Trk::Surface * | baseSurface () const |
| return the base surface (simplified for persistification) | |
| 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 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 ¶meters, const BoundaryCheck &bchk=BoundaryCheck(true)) const |
| The templated Parameters OnSurface method - checks on surface pointer first. | |
| virtual Amg::Vector2D | localParametersToPosition (const LocalParameters &locpars) const |
| Optionally specified by each surface type : LocalParameters to Vector2D. | |
| virtual double | pathCorrection (const Amg::Vector3D &pos, const Amg::Vector3D &mom) const |
| the pathCorrection for derived classes with thickness - it reflects if the direction projection is positive or negative | |
| virtual Amg::RotationMatrix3D | measurementFrame (const Amg::Vector3D &glopos, const Amg::Vector3D &glomom) const |
| Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface. | |
| 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 SurfaceArray * | surfaceArray () const |
| Return the entire SurfaceArray, returns nullptr if no SurfaceArray. | |
| SurfaceArray * | surfaceArray () |
| Return the entire SurfaceArray, returns nullptr if no SurfaceArray. | |
| const Surface * | subSurface (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 Surface * | subSurface (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 Surface * | subSurfaceReference (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 ¶meters, 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 LayerMaterialProperties * | layerMaterialProperties () const |
| getting the LayerMaterialProperties including full/pre/post update | |
| const MaterialProperties * | fullUpdateMaterialProperties (const TrackParameters &par) const |
| getting the MaterialProperties back - for full update | |
| const OverlapDescriptor * | overlapDescriptor () const |
| gettint hte overlap descriptor | |
| const Layer * | previousLayer (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 Layer * | nextLayer (const Amg::Vector3D &gp, const Amg::Vector3D &udir) const |
| getting the next/previous Layer if registered - unit for direction vector required | |
| const Layer * | nextLayer (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 BinUtility * | binUtility () const |
| access the BinUtility | |
| void | setBinUtility (const BinUtility *) |
| set the BinUtility | |
| virtual const Surface & | surfaceOnApproach (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 TrackingVolume * | enclosingTrackingVolume () const |
| get the confining TrackingVolume | |
| const DetachedTrackingVolume * | enclosingDetachedTrackingVolume () const |
| get the confining DetachedTrackingVolume | |
| const LayerIndex & | layerIndex () 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 Volume * | representingVolume () 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::Plane |
| 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 AreaExcluder > | m_subtrVol |
| bool | m_shared {true} |
| std::shared_ptr< const SurfaceBounds > | m_bounds |
| bounds (shared) | |
| std::unique_ptr< Transforms > | m_transforms {} |
| Unique Pointer to the Transforms struct. | |
| const TrkDetElementBase * | m_associatedDetElement {} |
| Not owning Pointer to the Detector Element. | |
| Identifier | m_associatedDetElementId {} |
| Identifier to the Detector Element. | |
| const Layer * | m_associatedLayer {} |
| The associated layer Trk::Layer This is the layer in which the Surface is embedded. | |
| std::shared_ptr< MaterialLayer > | m_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< SurfaceArray > | m_surfaceArray {} |
| MaterialPoperties of this layer Surface. | |
| std::unique_ptr< LayerMaterialProperties > | m_layerMaterialProperties {} |
| thickness of the Layer | |
| double | m_layerThickness {} |
| descriptor for overlap/next surface (owning ptr) | |
| std::unique_ptr< OverlapDescriptor > | m_overlapDescriptor {} |
| const Layer * | m_previousLayer = nullptr |
| < the previous Layer according to BinGenUtils | |
| const Layer * | m_nextLayer = nullptr |
| BinUtility for next/previous decision. | |
| const BinUtility * | m_binUtility = nullptr |
| Enclosing TrackingVolume. | |
| const TrackingVolume * | m_enclosingTrackingVolume = nullptr |
| Enclosing DetachedTrackingVolume. | |
| const DetachedTrackingVolume * | m_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 const NoBounds | s_boundless |
| static constexpr double | s_onSurfaceTolerance = 10e-5 |
| Tolerance for being on Surface. | |
Class to describe a planar detector layer for tracking, with subtraction.
Definition at line 31 of file SubtractedPlaneLayer.h.
|
inherited |
Unique ptr types.
Definition at line 128 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
inherited |
Definition at line 130 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
inline |
| Trk::SubtractedPlaneLayer::SubtractedPlaneLayer | ( | const SubtractedPlaneSurface * | subtrPlaneSurf, |
| const LayerMaterialProperties & | laymatprop, | ||
| double | thickness = 0., | ||
| std::unique_ptr< OverlapDescriptor > | od = nullptr, | ||
| int | laytyp = int(Trk::active) ) |
Constructor with SubtractedPlaneSurface and MaterialProperties.
Definition at line 18 of file SubtractedPlaneLayer.cxx.
|
default |
Copy constructor of SubtractedPlaneLayer.
| Trk::SubtractedPlaneLayer::SubtractedPlaneLayer | ( | const SubtractedPlaneLayer & | pla, |
| const Amg::Transform3D & | tr ) |
|
inlineoverride |
|
inherited |
assignMaterialPropeties
Definition at line 177 of file Layer.cxx.
|
inherited |
return associated Detector Element
|
inherited |
return Identifier of the associated Detector Element
|
inherited |
return the associated Layer
|
inherited |
method to associate a Trk::Layer.
We do not take ownership as this is typically already owned by the Geometry
|
virtualinherited |
return the base surface (simplified for persistification)
|
inherited |
access the BinUtility
|
finaloverridevirtualinherited |
This method returns the bounds by reference, static NoBounds in case of no boundaries.
Implements Trk::Surface.
|
inherited |
Return the cached transformation directly.
Don't try to make a new transform if it's not here.
|
inherited |
Returns the center position of the Surface.
|
overridevirtualinherited |
Virtual constructor.
Implements Trk::Surface.
|
inherited |
register layer index for material map registration
Definition at line 186 of file Layer.cxx.
|
inherited |
get compatible surfaces starting from neutral parameters
|
inherited |
get compatible surfaces starting from charged parameters
|
finaloverridevirtualinherited |
Use the Surface as a ParametersBase constructor, from global parameters.
Use the Surface as a ParametersBase constructor, from global parameters - neutral.
Implements Trk::Surface.
Definition at line 185 of file PlaneSurface.cxx.
|
finaloverridevirtualinherited |
Use the Surface as a ParametersBase constructor, from local parameters - neutral.
Implements Trk::Surface.
Definition at line 170 of file PlaneSurface.cxx.
|
inherited |
Use the Surface as a ParametersBase constructor, from global parameters.
|
inherited |
Use the Surface as a ParametersBase constructor, from local parameters.
|
finaloverridevirtualinherited |
Use the Surface as a ParametersBase constructor, from global parameters - charged.
Implements Trk::Surface.
Definition at line 157 of file PlaneSurface.cxx.
|
finaloverridevirtualinherited |
Use the Surface as a ParametersBase constructor, from local parameters - charged.
Implements Trk::Surface.
Definition at line 143 of file PlaneSurface.cxx.
|
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.
|
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.
|
inherited |
|
inherited |
private method to set the enclosed detached TV
|
inherited |
get the confining DetachedTrackingVolume
|
inherited |
get the confining TrackingVolume
|
inherited |
getting the MaterialProperties back - for full update
Definition at line 169 of file Layer.cxx.
|
inherited |
get compatible surfaces starting from charged parameters
propagate TrackingGeometry owner downstream
|
inherited |
get the reference measure
|
virtualinherited |
Returns a global reference point on the surface, for PlaneSurface, StraightLineSurface, PerigeeSurface this is equal to center(), for CylinderSurface and DiscSurface this is a new member.
Reimplemented in GXF::CylinderSurface, GXF::DiscSurface, Trk::ConeSurface, Trk::CylinderSurface, and Trk::DiscSurface.
|
finaloverridevirtualinherited |
Specified for PlaneSurface: GlobalToLocal method without dynamic memory allocation - boolean checks if on surface.
Implements Trk::Surface.
Definition at line 209 of file PlaneSurface.cxx.
|
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
|
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
|
inherited |
This method transforms the global direction to a local direction wrt the plane.
Definition at line 256 of file PlaneSurface.cxx.
|
virtualinherited |
Has sub-structure method:
|
finaloverridevirtualinherited |
This method calls the inside() method of the Bounds.
Reimplemented from Trk::PlaneSurface.
|
finaloverridevirtualinherited |
Implements Trk::Surface.
|
protectedinherited |
Helper method to factorize in one place common operations calculate inverse transofrm and multiply with position.
|
protectedinherited |
|
inherited |
Return 'true' if this surface is owned by the detector element.
|
inherited |
Returns 'true' if this surface is 'free', i.e.
it does not belong to a detector element (and returns false otherwise
|
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.
|
finaloverridevirtualinherited |
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 from Trk::Surface.
Definition at line 265 of file PlaneSurface.cxx.
|
inherited |
get the layerIndex
|
inherited |
getting the LayerMaterialProperties including full/pre/post update
|
inherited |
get the Layer coding
|
virtualinherited |
Optionally specified by each surface type : LocalParameters to Vector2D.
Reimplemented in Trk::ConeSurface, Trk::CylinderSurface, and Trk::DiscSurface.
|
finaloverridevirtualinherited |
Specified for PlaneSurface: LocalToGlobal method without dynamic memory allocation.
Implements Trk::Surface.
Definition at line 198 of file PlaneSurface.cxx.
|
inherited |
This method returns the GlobalPosition from a LocalPosition uses the per surface localToGlobal.
|
inherited |
This method returns the GlobalPosition from a LocalPosition The LocalPosition can be outside Surface bounds - for generality with momentum.
|
inherited |
This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds.
|
inherited |
This method returns the GlobalPosition from LocalParameters The LocalParameters can be outside Surface bounds - for generality with momentum.
|
inherited |
This method transforms a local direction wrt the plane to a global direction.
Definition at line 238 of file PlaneSurface.cxx.
|
inherited |
|
inherited |
return the material Layer
|
virtualinherited |
Return the measurement frame - this is needed for alignment, in particular for StraightLine and Perigee Surface.
Reimplemented in GXF::CylinderSurface, Trk::ConeSurface, Trk::CylinderSurface, Trk::PerigeeSurface, and Trk::StraightLineSurface.
Definition at line 135 of file Surface.cxx.
|
finaloverridevirtual |
move the Layer
Implements Trk::Layer.
Definition at line 72 of file SubtractedPlaneLayer.cxx.
|
inlinefinaloverridevirtualinherited |
Return properly formatted class name for screen output.
Reimplemented from Trk::PlaneSurface.
Definition at line 70 of file SubtractedPlaneSurface.h.
|
inherited |
getting what's stored to be the next Layer, boolean to skip navigation layers
Definition at line 151 of file Layer.cxx.
|
inherited |
getting the next/previous Layer if registered - unit for direction vector required
Definition at line 161 of file Layer.cxx.
|
virtualinherited |
Returns the normal vector of the Surface (i.e.
in generall z-axis of rotation)
Reimplemented in GXF::CylinderSurface, Trk::ConeSurface, Trk::CylinderSurface, and Trk::PerigeeSurface.
|
virtualinherited |
Returns a normal vector at a specific local position.
Reimplemented in GXF::CylinderSurface, Trk::ConeSurface, Trk::CylinderSurface, and Trk::PerigeeSurface.
|
inlinestaticinherited |
Definition at line 25 of file TrkObjectCounter.h.
|
inherited |
templated on Layer method
|
inherited |
The templated Parameters OnSurface method - checks on surface pointer first.
|
inherited |
Non-equality operator.
| Trk::SubtractedPlaneLayer & Trk::SubtractedPlaneLayer::operator= | ( | const SubtractedPlaneLayer & | play | ) |
Assignment operator for PlaneLayers.
Definition at line 32 of file SubtractedPlaneLayer.cxx.
|
inherited |
|
finaloverridevirtualinherited |
Equality operator.
Reimplemented from Trk::PlaneSurface.
Definition at line 42 of file SubtractedPlaneSurface.cxx.
|
inherited |
gettint hte overlap descriptor
|
inherited |
return ownership
|
virtualinherited |
the pathCorrection for derived classes with thickness - it reflects if the direction projection is positive or negative
Reimplemented in GXF::CylinderSurface, Trk::ConeSurface, Trk::CylinderSurface, Trk::PerigeeSurface, and Trk::StraightLineSurface.
|
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.
|
finaloverridevirtual |
getting the MaterialProperties back - for post-update
Reimplemented from Trk::Layer.
Definition at line 63 of file SubtractedPlaneLayer.cxx.
|
finaloverridevirtual |
getting the MaterialProperties back - for pre-update
Reimplemented from Trk::Layer.
Definition at line 54 of file SubtractedPlaneLayer.cxx.
|
inherited |
getting what's stored to be the previous Layer, boolean to skip navigation layers
Definition at line 141 of file Layer.cxx.
|
inherited |
|
inherited |
register Volume associated to the layer
|
inherited |
get the Volume associated to the layer
|
inlinefinaloverridevirtual |
Resize the layer to the tracking volume - not implemented.
Implements Trk::Layer.
Definition at line 77 of file SubtractedPlaneLayer.h.
|
inlinefinaloverridevirtual |
Resize the layer to the tracking volume - not implemented.
Implements Trk::Layer.
Definition at line 74 of file SubtractedPlaneLayer.h.
|
inherited |
set the BinUtility
|
inherited |
set the Layer coding
|
inherited |
set material layer
|
inherited |
set Ownership
|
inherited |
set the reference measure
|
inherited |
Set the transform updates center and normal.
|
inherited |
This method indicates the subtraction mode.
|
finaloverridevirtualinherited |
fast straight line distance evaluation to Surface
distance to surface
Implements Trk::Surface.
Definition at line 278 of file PlaneSurface.cxx.
|
finaloverridevirtualinherited |
fast straight line distance evaluation to Surface - with bound option
Implements Trk::Surface.
Definition at line 299 of file PlaneSurface.cxx.
|
finaloverridevirtualinherited |
fast straight line intersection schema - standard: provides closest intersection and (signed) path length forceDir is to provide the closest forward solution
mathematical motivation:
the equation of the plane is given by:
\( \vec n \cdot \vec x = \vec n \cdot \vec p,\)
where \( \vec n = (n_{x}, n_{y}, n_{z})\) denotes the normal vector of the plane, \( \vec p = (p_{x}, p_{y}, p_{z})\) one specific point on the plane and \( \vec x = (x,y,z) \) all possible points on the plane.
Given a line with:
\( \vec l(u) = \vec l_{1} + u \cdot \vec v \),
the solution for \( u \) can be written: \( u = \frac{\vec n (\vec p - \vec l_{1})}{\vec n \vec v}\)
If the denominator is 0 then the line lies:
Implements Trk::Surface.
Definition at line 219 of file PlaneSurface.cxx.
|
inlineinherited |
fst straight line intersection schema - templated for charged and neutral parameters
Definition at line 352 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
inherited |
If no subSurface array is defined or no subSurface can be found to the given Amg::Vector2D, it would return 0.
|
inherited |
If no subSurface array is defined or no subSurface can be found to the given Amg::Vector3D, it would return 0.
|
inherited |
Return a reference sub surface of the layer, usually the first one in the array.
Definition at line 117 of file Layer.cxx.
|
inherited |
This method allows access to the subtracted part.
|
inherited |
Return the entire SurfaceArray, returns nullptr if no SurfaceArray.
|
inherited |
Return the entire SurfaceArray, returns nullptr if no SurfaceArray.
|
virtualinherited |
Surface seen on approach - if not defined differently, it is the surfaceRepresentation()
Reimplemented in Trk::CylinderLayer, and Trk::DiscLayer.
|
finaloverridevirtual |
Transforms the layer into a Surface representation for extrapolation.
Implements Trk::Layer.
Definition at line 43 of file SubtractedPlaneLayer.cxx.
|
finaloverridevirtual |
Implements Trk::Layer.
Definition at line 49 of file SubtractedPlaneLayer.cxx.
|
inherited |
Return the Thickness of the Layer.
|
inherited |
Returns HepGeom::Transform3D by reference.
|
constexprfinaloverridevirtualinherited |
Return the surface type.
Implements Trk::Surface.
|
inherited |
NVI method returning unique_ptr clone.
|
protectedinherited |
Not owning Pointer to the Detector Element.
Definition at line 441 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
protectedinherited |
Identifier to the Detector Element.
Definition at line 443 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
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.
|
protectedinherited |
Enclosing TrackingVolume.
|
protectedinherited |
bounds (shared)
NoBounds as return object when no bounds are declared
Definition at line 284 of file PlaneSurface.h.
|
protectedinherited |
|
protectedinherited |
Enclosing DetachedTrackingVolume.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
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.
|
protectedinherited |
BinUtility for next/previous decision.
|
protectedinherited |
|
protectedinherited |
enum for surface owner : default free surface
Definition at line 455 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 77 of file SubtractedPlaneSurface.h.
|
protectedinherited |
Definition at line 76 of file SubtractedPlaneSurface.h.
|
protectedinherited |
|
protectedinherited |
Unique Pointer to the Transforms struct.
Definition at line 439 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
staticprotectedinherited |
Definition at line 286 of file PlaneSurface.h.
|
inlinestaticinherited |
Definition at line 22 of file TrkObjectCounter.h.
|
staticconstexprprotectedinherited |
Tolerance for being on Surface.
Definition at line 458 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.
|
staticconstexprinherited |
The surface type static constexpr.
Definition at line 67 of file PlaneSurface.h.