61 for (
unsigned int irio = 0; irio <
crio->numberOfContainedROTs(); irio++) {
63 m_detelements.push_back(
rio.associatedSurface().associatedDetectorElement());
152 if (
rio)
id=
rio->identify();
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";
const RIO_OnTrack * rio() const
returns RIO_OnTrack or leading RIO of CompetingRIOsOnTrack (assigned by c'tor)
TrackState::MeasurementType m_measType
std::vector< Residual >::const_iterator lastResidual() const
returns last Residual iterator
virtual ~AlignTSOS()
destructor
AlignTSOS(const TrackStateOnSurface &tsos, AlignModule *module, const RIO_OnTrack *rio, TrackState::MeasurementType detType)
constructor takes: 1) the TSOS from the original track, 2) the AlignModule containing the TrkDetEleme...
std::vector< const TrkDetElementBase * > m_detelements
std::string dumpMeasDir() const
returns string corresponding to the measurement direction
std::vector< Residual > m_residuals
const CompetingRIOsOnTrack * m_crio
std::vector< Amg::VectorX > * m_derivativesVtx
AlignTSOS & operator=(const AlignTSOS &atsos)
asignment operator
const RIO_OnTrack * m_rio
Identifier identify() const
returns Identifier of RIO
std::vector< Residual >::const_iterator firstResidual() const
returns first Residual iterator
const CompetingRIOsOnTrack * crio() const
returns CompetingRIOsOnTrack
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::string dumpMeasType() const
returns string corresponding to the measurement type
std::vector< Amg::VectorX > * m_derivatives
const TrackParameters * m_unbiasedTrackPars
const TrkDetElementBase * detelement(int i=0) const
method for retrieving detector elements (one if RIO, more if CRIO)
TrackState::MeasurementType measType() const
returns measurement type enum
Base class for all CompetingRIOsOnTack implementations, extends the common MeasurementBase.
This class is the pure abstract base class for all fittable tracking measurements.
virtual const Surface & associatedSurface() const =0
Interface method to get the associated Surface.
virtual ParametersBase< DIM, T > * clone() const override=0
clone method for polymorphic deep copy
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
virtual TrackStateOnSurface * clone() const
Pseudo-constructor: needed to avoid excessive RTTI.
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
TrackStateOnSurface()
Default ctor for POOL.
std::string dumpType() const
returns a string with the expanded type of the object (i.e.
Trk::TrackStateOnSurface & operator=(const Trk::TrackStateOnSurface &rhs)
This is the base class for all tracking detector elements with read-out relevant information.
Definition of ATLAS Math & Geometry primitives (Amg)
MeasurementType
enum describing the flavour of MeasurementBase
Ensure that the ATLAS eigen extensions are properly loaded.
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output
@ z
global position (cartesian)