|
ATLAS Offline Software
|
Go to the documentation of this file.
17 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern = tsos.
types();
22 typePattern.set(
type);
24 return std::make_unique<Trk::TrackStateOnSurface>(
33 static std::unique_ptr<Trk::TrackStateOnSurface>
37 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern = tsos.
types();
42 typePattern.set(
type);
44 return std::make_unique<Trk::TrackStateOnSurface>(
53 static std::unique_ptr<Trk::TrackStateOnSurface>
55 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
57 return std::make_unique<Trk::TrackStateOnSurface>(
nullptr, std::move(perigee),
nullptr, typePattern);
61 static std::unique_ptr<Trk::TrackStateOnSurface>
63 std::unique_ptr<Trk::TrackParameters>
pars,
65 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
67 typePattern.set(
type);
68 return std::make_unique<Trk::TrackStateOnSurface>(std::move(meas), std::move(
pars),
nullptr, typePattern);
73 static std::unique_ptr<Trk::TrackStateOnSurface>
75 std::unique_ptr<Trk::TrackParameters>
pars,
77 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern = tsos.
types();
82 typePattern.set(
type);
83 return std::make_unique<Trk::TrackStateOnSurface>(
92 static std::unique_ptr<Trk::TrackStateOnSurface>
createHoleTSOS(std::unique_ptr<Trk::TrackParameters>
pars) {
93 std::bitset<Trk::TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
95 return std::make_unique<Trk::TrackStateOnSurface>(
nullptr, std::move(
pars),
nullptr, typePattern);
static std::unique_ptr< Trk::TrackStateOnSurface > cloneTSOS(const Trk::TrackStateOnSurface &tsos, Trk::TrackStateOnSurface::TrackStateOnSurfaceType type)
clone input, update the type
static std::unique_ptr< Trk::TrackStateOnSurface > createPerigeeTSOS(std::unique_ptr< Trk::TrackParameters > perigee)
create a perigee TSOS, takes ownership of the Perigee
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
@ Perigee
This represents a perigee, and so will contain a Perigee object only.
std::unique_ptr< ParametersBase< DIM, T > > uniqueClone() const
clone method for polymorphic deep copy returning unique_ptr; it is not overriden, but uses the existi...
static std::unique_ptr< Trk::TrackStateOnSurface > createHoleTSOS(std::unique_ptr< Trk::TrackParameters > pars)
create a hole TSOS, takes ownership of the pointers
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
const std::bitset< NumberOfTrackStateOnSurfaceTypes > types() const
returns a bitset with the types of this bitset.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::unique_ptr< MaterialEffectsBase > uniqueClone() const
NVI uniqueClone.
const FitQualityOnSurface & fitQualityOnSurface() const
return FitQuality On Surface const overload
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
@ Hole
A hole on the track - this is defined in the following way.
const MaterialEffectsBase * materialEffectsOnTrack() const
return material effects const overload
std::unique_ptr< MeasurementBase > uniqueClone() const
NVI Clone giving up unique pointer.
static std::unique_ptr< Trk::TrackStateOnSurface > createMeasTSOS(std::unique_ptr< Trk::MeasurementBase > meas, std::unique_ptr< Trk::TrackParameters > pars, Trk::TrackStateOnSurface::TrackStateOnSurfaceType type)
create a TSOS with a measurement, takes ownership of the pointers
static std::unique_ptr< Trk::TrackStateOnSurface > cloneTSOSWithUpdate(const Trk::TrackStateOnSurface &tsos, const Trk::MeasurementBase &meas, const Trk::TrackParameters &pars, Trk::TrackStateOnSurface::TrackStateOnSurfaceType type)
clone input, replacing the track parameteres and the measurement base and updating the type
represents the track state (measurement, material, fit parameters and quality) at a surface.
static std::unique_ptr< Trk::TrackStateOnSurface > createMeasTSOSWithUpdate(const Trk::TrackStateOnSurface &tsos, std::unique_ptr< Trk::MeasurementBase > meas, std::unique_ptr< Trk::TrackParameters > pars, Trk::TrackStateOnSurface::TrackStateOnSurfaceType type)
create a TSOS with a measurement, takes ownership of the pointers
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.