ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
GSFTsos Struct Reference

#include <GSFTsos.h>

Collaboration diagram for GSFTsos:

Public Member Functions

 GSFTsos ()=default
 
GSFTsosoperator= (GSFTsos &&)=default
 
 GSFTsos (GSFTsos &&)=default
 
 ~GSFTsos ()=default
 
 GSFTsos (const GSFTsos &rhs)=delete
 
GSFTsosoperator= (const GSFTsos &rhs)=delete
 
 GSFTsos (const Trk::FitQualityOnSurface &inFitQualityOnSurface, std::unique_ptr< Trk::MeasurementBase > inMeasurementBase, std::unique_ptr< Trk::TrackParameters > inTrackParameters, Trk::MultiComponentState &&inMultiComponentState, const std::bitset< Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes > &inTypeFlags)
 
 GSFTsos (const Trk::FitQualityOnSurface &inFitQualityOnSurface, std::unique_ptr< Trk::MeasurementBase > inMeasurementBase, std::unique_ptr< Trk::TrackParameters > inTrackParameters, Trk::MultiComponentState &&inMultiComponentState)
 
std::unique_ptr< const Trk::MultiComponentStateOnSurfaceconvert (bool slim)
 

Public Attributes

Trk::MultiComponentState multiComponentState {}
 
std::unique_ptr< Trk::TrackParameterstrackParameters {}
 
std::unique_ptr< Trk::MeasurementBasemeasurementOnTrack {}
 
Trk::FitQualityOnSurface fitQualityOnSurface {}
 
std::bitset< Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypestypeFlags {}
 

Detailed Description

Definition at line 17 of file GSFTsos.h.

Constructor & Destructor Documentation

◆ GSFTsos() [1/5]

GSFTsos::GSFTsos ( )
default

◆ GSFTsos() [2/5]

GSFTsos::GSFTsos ( GSFTsos &&  )
default

◆ ~GSFTsos()

GSFTsos::~GSFTsos ( )
default

◆ GSFTsos() [3/5]

GSFTsos::GSFTsos ( const GSFTsos rhs)
delete

◆ GSFTsos() [4/5]

GSFTsos::GSFTsos ( const Trk::FitQualityOnSurface inFitQualityOnSurface,
std::unique_ptr< Trk::MeasurementBase inMeasurementBase,
std::unique_ptr< Trk::TrackParameters inTrackParameters,
Trk::MultiComponentState &&  inMultiComponentState,
const std::bitset< Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes > &  inTypeFlags 
)
inline

Definition at line 42 of file GSFTsos.h.

50  : multiComponentState(std::move(inMultiComponentState)),
51  trackParameters(std::move(inTrackParameters)),
52  measurementOnTrack(std::move(inMeasurementBase)),
53  fitQualityOnSurface(inFitQualityOnSurface),
54  typeFlags(inTypeFlags) {}

◆ GSFTsos() [5/5]

GSFTsos::GSFTsos ( const Trk::FitQualityOnSurface inFitQualityOnSurface,
std::unique_ptr< Trk::MeasurementBase inMeasurementBase,
std::unique_ptr< Trk::TrackParameters inTrackParameters,
Trk::MultiComponentState &&  inMultiComponentState 
)
inline

Definition at line 57 of file GSFTsos.h.

61  : multiComponentState(std::move(inMultiComponentState)),
62  trackParameters(std::move(inTrackParameters)),
63  measurementOnTrack(std::move(inMeasurementBase)),
64  fitQualityOnSurface(inFitQualityOnSurface) {
65  if (measurementOnTrack) {
67  }
68  if (!multiComponentState.empty()) {
70  }
71  if (fitQualityOnSurface) {
73  }
74  }

Member Function Documentation

◆ convert()

std::unique_ptr<const Trk::MultiComponentStateOnSurface> GSFTsos::convert ( bool  slim)
inline

Definition at line 76 of file GSFTsos.h.

76  {
77  if (!trackParameters) {
78  trackParameters = multiComponentState.front().params->uniqueClone();
79  }
80  if (slim) {
81  multiComponentState.clear();
82  }
83  return std::make_unique<const Trk::MultiComponentStateOnSurface>(
85  std::move(trackParameters), std::move(multiComponentState), nullptr,
86  typeFlags);
87  }

◆ operator=() [1/2]

GSFTsos& GSFTsos::operator= ( const GSFTsos rhs)
delete

◆ operator=() [2/2]

GSFTsos& GSFTsos::operator= ( GSFTsos &&  )
default

Member Data Documentation

◆ fitQualityOnSurface

Trk::FitQualityOnSurface GSFTsos::fitQualityOnSurface {}

Definition at line 26 of file GSFTsos.h.

◆ measurementOnTrack

std::unique_ptr<Trk::MeasurementBase> GSFTsos::measurementOnTrack {}

Definition at line 24 of file GSFTsos.h.

◆ multiComponentState

Trk::MultiComponentState GSFTsos::multiComponentState {}

Definition at line 20 of file GSFTsos.h.

◆ trackParameters

std::unique_ptr<Trk::TrackParameters> GSFTsos::trackParameters {}

Definition at line 22 of file GSFTsos.h.

◆ typeFlags

Definition at line 29 of file GSFTsos.h.


The documentation for this struct was generated from the following file:
GSFTsos::typeFlags
std::bitset< Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes > typeFlags
Definition: GSFTsos.h:29
GSFTsos::trackParameters
std::unique_ptr< Trk::TrackParameters > trackParameters
Definition: GSFTsos.h:22
GSFTsos::measurementOnTrack
std::unique_ptr< Trk::MeasurementBase > measurementOnTrack
Definition: GSFTsos.h:24
Trk::TrackStateOnSurface::Parameter
@ Parameter
This TSOS contains a Trk::ParameterBase.
Definition: TrackStateOnSurface.h:140
GSFTsos::multiComponentState
Trk::MultiComponentState multiComponentState
Definition: GSFTsos.h:20
GSFTsos::fitQualityOnSurface
Trk::FitQualityOnSurface fitQualityOnSurface
Definition: GSFTsos.h:26
Trk::TrackStateOnSurface::FitQuality
@ FitQuality
This TSOS contains a Trk::FitQualityOnSurface.
Definition: TrackStateOnSurface.h:145
Trk::TrackStateOnSurface::Measurement
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
Definition: TrackStateOnSurface.h:101