2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 inline Trk::TrackStateOnSurface*
6 Trk::TrackStateOnSurface::clone() const
8 return new TrackStateOnSurface(*this);
11 inline const Trk::FitQualityOnSurface&
12 Trk::TrackStateOnSurface::fitQualityOnSurface() const
14 return m_fitQualityOnSurface;
17 inline Trk::FitQualityOnSurface&
18 Trk::TrackStateOnSurface::fitQualityOnSurface()
20 return m_fitQualityOnSurface;
23 inline const Trk::TrackParameters*
24 Trk::TrackStateOnSurface::trackParameters() const
26 return m_trackParameters.get();
29 inline Trk::TrackParameters*
30 Trk::TrackStateOnSurface::trackParameters()
32 return m_trackParameters.get();
35 inline const Trk::MeasurementBase*
36 Trk::TrackStateOnSurface::measurementOnTrack() const
38 return m_measurementOnTrack.get();
41 inline Trk::MeasurementBase*
42 Trk::TrackStateOnSurface::measurementOnTrack()
44 return m_measurementOnTrack.get();
47 inline const Trk::MaterialEffectsBase*
48 Trk::TrackStateOnSurface::materialEffectsOnTrack() const
50 return m_materialEffectsOnTrack.get();
53 inline Trk::MaterialEffectsBase*
54 Trk::TrackStateOnSurface::materialEffectsOnTrack()
56 return m_materialEffectsOnTrack.get();
59 inline const Trk::AlignmentEffectsOnTrack*
60 Trk::TrackStateOnSurface::alignmentEffectsOnTrack() const
62 return m_alignmentEffectsOnTrack.get();
65 inline Trk::AlignmentEffectsOnTrack*
66 Trk::TrackStateOnSurface::alignmentEffectsOnTrack()
68 return m_alignmentEffectsOnTrack.get();
72 Trk::TrackStateOnSurface::type(const TrackStateOnSurfaceType type) const
74 if (type == NumberOfTrackStateOnSurfaceTypes || type == Unknown) {
77 return (m_typeFlags & (1<<type));
80 inline Trk::TrackStateOnSurface::Variety
81 Trk::TrackStateOnSurface::variety() const
83 return Trk::TrackStateOnSurface::SingleComponent;
87 Trk::TrackStateOnSurface::setFlags()
89 if (m_measurementOnTrack) {
90 m_typeFlags |= 1 << Measurement;
92 if (m_materialEffectsOnTrack) {
93 m_typeFlags |= 1 << InertMaterial;
95 if (m_trackParameters) {
96 m_typeFlags |= 1 << Parameter;
98 if(m_fitQualityOnSurface){
99 m_typeFlags |= 1 << FitQuality;
101 if (m_alignmentEffectsOnTrack) {
102 m_typeFlags |= 1 << Alignment;
107 inline const std::bitset<
108 Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes>
109 Trk::TrackStateOnSurface::types() const
111 return {m_typeFlags};
114 inline const std::bitset<
115 Trk::TrackStateOnSurface::NumberOfPersistencyHints>
116 Trk::TrackStateOnSurface::hints() const