ATLAS Offline Software
|
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis is aligned with the direction of the translation, and the angle of the rotation is with respect to this. More...
#include <AlignmentEffectsOnTrack.h>
Public Member Functions | |
AlignmentEffectsOnTrack (double deltaTranslation, double m_sigmaDeltaTranslation, double deltaAngle, double sigmaDeltaAngle, const std::vector< Identifier > &identifiersOfAffectedTSOS, const Trk::Surface &surf) | |
AlignmentEffectsOnTrack (const Trk::AlignmentEffectsOnTrack &rhs)=default | |
Trk::AlignmentEffectsOnTrack & | operator= (const Trk::AlignmentEffectsOnTrack &rhs)=default |
AlignmentEffectsOnTrack (Trk::AlignmentEffectsOnTrack &&rhs) noexcept=default | |
Trk::AlignmentEffectsOnTrack & | operator= (Trk::AlignmentEffectsOnTrack &&rhs) noexcept=default |
~AlignmentEffectsOnTrack ()=default | |
double | deltaTranslation () const |
returns the \( \Delta X \) More... | |
double | sigmaDeltaTranslation () const |
returns the \( \sigma\Delta X \) More... | |
double | deltaAngle () const |
returns the \( \Delta \alpha \) More... | |
double | sigmaDeltaAngle () const |
returns the \( \sigma\Delta \alpha \) More... | |
const std::vector< Identifier > & | vectorOfAffectedTSOS () const |
Returns a vector of the affected TSOS in the track. More... | |
void | updateVectorOfAffectedTSOS (std::vector< Identifier > &) |
Updates the vector of the affected TSOS in the track. More... | |
bool | effectsLastFromNowOn () const |
Returns true if the effects of this AlignmentEffectsOnTrack apply to all remaining TrackStatesOnSurface of the Track. More... | |
const Trk::Surface & | associatedSurface () const |
The surface on which this offset is expressed. More... | |
void | destroySurface () noexcept |
destroySurface deletes the ptr if not null and the surface isFree Usefull also for testing More... | |
const S * | surfacePtr () |
return the ptr we hold useful for tests More... | |
const S * | release () noexcept |
release ala unique_ptr release More... | |
Static Public Member Functions | |
static const S * | cloneHelper (const S *input) |
Helper for cloning or not when we need depending on if the surface isFree. More... | |
Protected Attributes | |
const S * | m_associatedSurface = nullptr |
Private Attributes | |
double | m_deltaTranslation {0.} |
double | m_sigmaDeltaTranslation {0.} |
double | m_deltaAngle {0.} |
double | m_sigmaDeltaAngle {0.} |
std::vector< Identifier > | m_affectedTSOS |
Class to represent misalignments or 'discontinuities' on tracks These have a surface where the z axis is aligned with the direction of the translation, and the angle of the rotation is with respect to this.
Definition at line 23 of file AlignmentEffectsOnTrack.h.
Trk::AlignmentEffectsOnTrack::AlignmentEffectsOnTrack | ( | double | deltaTranslation, |
double | m_sigmaDeltaTranslation, | ||
double | deltaAngle, | ||
double | sigmaDeltaAngle, | ||
const std::vector< Identifier > & | identifiersOfAffectedTSOS, | ||
const Trk::Surface & | surf | ||
) |
Definition at line 9 of file AlignmentEffectsOnTrack.cxx.
|
default |
|
defaultnoexcept |
|
default |
|
inline |
The surface on which this offset is expressed.
Definition at line 128 of file AlignmentEffectsOnTrack.h.
|
inlinestaticinherited |
|
inline |
returns the \( \Delta \alpha \)
Definition at line 103 of file AlignmentEffectsOnTrack.h.
|
inline |
returns the \( \Delta X \)
Definition at line 91 of file AlignmentEffectsOnTrack.h.
|
inlinenoexceptinherited |
destroySurface deletes the ptr if not null and the surface isFree Usefull also for testing
Definition at line 128 of file SurfaceHolderImpl.h.
|
inline |
Returns true if the effects of this AlignmentEffectsOnTrack apply to all remaining TrackStatesOnSurface of the Track.
Definition at line 68 of file AlignmentEffectsOnTrack.h.
|
default |
|
defaultnoexcept |
|
inlinenoexceptinherited |
|
inline |
returns the \( \sigma\Delta \alpha \)
Definition at line 109 of file AlignmentEffectsOnTrack.h.
|
inline |
returns the \( \sigma\Delta X \)
Definition at line 97 of file AlignmentEffectsOnTrack.h.
|
inlineinherited |
|
inline |
Updates the vector of the affected TSOS in the track.
Definition at line 121 of file AlignmentEffectsOnTrack.h.
|
inline |
Returns a vector of the affected TSOS in the track.
Obviously this must not be invalidated by removing TSOS from the track.
Definition at line 115 of file AlignmentEffectsOnTrack.h.
|
private |
Definition at line 78 of file AlignmentEffectsOnTrack.h.
|
protectedinherited |
Definition at line 153 of file SurfaceHolderImpl.h.
|
private |
Definition at line 76 of file AlignmentEffectsOnTrack.h.
|
private |
Definition at line 74 of file AlignmentEffectsOnTrack.h.
|
private |
Definition at line 77 of file AlignmentEffectsOnTrack.h.
|
private |
Definition at line 75 of file AlignmentEffectsOnTrack.h.