|
ATLAS Offline Software
|
Go to the documentation of this file.
24 , m_unbiasedTrackPars(nullptr)
25 , m_derivatives(nullptr)
27 , m_measType(measType)
30 , m_derivativesVtx(nullptr)
50 , m_unbiasedTrackPars(nullptr)
51 , m_derivatives(nullptr)
53 , m_measType(measType)
56 , m_derivativesVtx(nullptr)
74 , m_unbiasedTrackPars(nullptr)
75 , m_derivatives(nullptr)
77 , m_measType(measType)
80 , m_derivativesVtx(nullptr)
95 , m_module(atsos.m_module)
97 , m_crio(atsos.m_crio)
98 , m_unbiasedTrackPars(atsos.m_unbiasedTrackPars ? atsos.m_unbiasedTrackPars->
clone() : nullptr)
99 , m_residuals(atsos.m_residuals)
100 , m_detelements(atsos.m_detelements)
101 , m_derivatives(atsos.m_derivatives ?
new std::
vector<
Amg::
VectorX>(*(atsos.m_derivatives)) : nullptr)
102 , m_isvalid(atsos.m_isvalid)
103 , m_measType(atsos.m_measType)
104 , m_measDir(atsos.m_measDir)
105 , m_alphaStrip(atsos.m_alphaStrip)
106 , m_derivativesVtx(atsos.m_derivativesVtx)
175 std::vector<Residual>::const_iterator itRes = atsos.
firstResidual();
176 std::vector<Residual>::const_iterator itRes_end = atsos.
lastResidual();
177 for( ; itRes != itRes_end ; ++itRes, ++ires) {
178 double resnorm = itRes->residualNorm();
180 std::ios_base::fmtflags
f(sl.stream().flags());
182 sl << ires <<
": res="
183 << std::setw(11) << std::showpos << std::scientific
184 << itRes->residual() <<
" res/err="<<resnorm
185 <<
", dchi2="<<std::noshowpos<<resnorm*resnorm
186 << resetiosflags(std::ios::floatfield);
209 default:
return "UNDEFINED";
Trk::TrackStateOnSurface & operator=(const Trk::TrackStateOnSurface &rhs)
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
std::vector< Residual > m_residuals
const RIO_OnTrack * rio() const
returns RIO_OnTrack or leading RIO of CompetingRIOsOnTrack (assigned by c'tor)
@ z
global position (cartesian)
std::vector< Amg::VectorX > * m_derivatives
std::string dumpType() const
returns a string with the expanded type of the object (i.e.
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
Trk::ParamDefs m_measDir
direction of measurement (set to Trk::x by default)
const AlignModule * module() const
accessor method for AlignModule to which tsos belongs
std::vector< const TrkDetElementBase * > m_detelements
std::vector< Amg::VectorX > * m_derivativesVtx
virtual const RIO_OnTrack & rioOnTrack(unsigned int) const =0
returns the RIO_OnTrack (also known as ROT) objects depending on the integer.
std::string dumpMeasType() const
returns string corresponding to the measurement type
std::string dumpMeasDir() const
returns string corresponding to the measurement direction
virtual unsigned int numberOfContainedROTs() const =0
Number of RIO_OnTracks to be contained by this CompetingRIOsOnTrack.
AlignTSOS & operator=(const AlignTSOS &atsos)
asignment operator
std::vector< Residual >::const_iterator lastResidual() const
returns last Residual iterator
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
MeasurementType
enum describing the flavour of MeasurementBase
const TrkDetElementBase * detelement(int i=0) const
method for retrieving detector elements (one if RIO, more if CRIO)
const CompetingRIOsOnTrack * m_crio
const TrackParameters * m_unbiasedTrackPars
Ensure that the ATLAS eigen extensions are properly loaded.
Definition of ATLAS Math & Geometry primitives (Amg)
TrackState::MeasurementType m_measType
represents the track state (measurement, material, fit parameters and quality) at a surface.
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
const RIO_OnTrack * m_rio
Identifier identify() const
returns Identifier of RIO
virtual ~AlignTSOS()
destructor
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
const CompetingRIOsOnTrack * crio() const
returns CompetingRIOsOnTrack
Identifier identify() const
return the identifier -extends MeasurementBase
virtual const Surface & associatedSurface() const override=0
returns the surface for the local to global transformation
std::vector< Residual >::const_iterator firstResidual() const
returns first Residual iterator
virtual ParametersBase< DIM, T > * clone() const override=0
clone method for polymorphic deep copy