ATLAS Offline Software
Loading...
Searching...
No Matches
MultiComponentStateOnSurface.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include "GaudiKernel/MsgStream.h"
11#include <iostream>
12#include <string>
13
16 {},
17 nullptr,
18 nullptr,
19 nullptr,
20 std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes>(
22 , m_multiComponentState{}
23{
24}
25
28 std::unique_ptr<Trk::MeasurementBase> measurementBase,
29 std::unique_ptr<Trk::TrackParameters> trackParameters,
30 MultiComponentState&& multiComponentState,
31 std::unique_ptr<MaterialEffectsBase> materialEffectsOnTrack)
34 std::move(measurementBase),
35 std::move(trackParameters),
39 , m_multiComponentState(std::move(multiComponentState))
40{
41}
42
45 std::unique_ptr<Trk::MeasurementBase> measurementBase,
46 std::unique_ptr<Trk::TrackParameters> trackParameters,
47 MultiComponentState&& multiComponentState,
48 std::unique_ptr<MaterialEffectsBase> materialEffectsOnTrack,
49 const std::bitset<NumberOfTrackStateOnSurfaceTypes>& types)
51 std::move(measurementBase),
52 std::move(trackParameters),
54 types)
55 , m_multiComponentState(std::move(multiComponentState))
56{
57}
58
66
70{
71 if (this != &other) {
75 }
76 return *this;
77}
78
84
85MsgStream&
87{
88 return log;
89}
90
91std::ostream&
93{
94 return log;
95}
virtual MultiComponentStateOnSurface * clone() const override final
Clone method for deep copy of MultiComponentStateOnSurface.
MultiComponentStateOnSurface & operator=(const MultiComponentStateOnSurface &other)
MultiComponentStateOnSurface()
Default constructor for POOL.
const MultiComponentState & components() const
Method to return a referenceto the multi-component state const overload.
const std::bitset< NumberOfTrackStateOnSurfaceTypes > types() const
returns a bitset with the types of this bitset.
TrackStateOnSurface()
Default ctor for POOL.
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
const FitQualityOnSurface & fitQualityOnSurface() const
return FitQuality On Surface const overload
Trk::TrackStateOnSurface & operator=(const Trk::TrackStateOnSurface &rhs)
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
const MaterialEffectsBase * materialEffectsOnTrack() const
return material effects const overload
MultiComponentState clone(const MultiComponentState &in)
Clone TrackParameters method.
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< ComponentParameters > MultiComponentState
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
STL namespace.