5#ifndef TRKALIGNEVENT_ALIGNTSOS_H
6#define TRKALIGNEVENT_ALIGNTSOS_H
10#include "Identifier/Identifier.h"
32 class CompetingRIOsOnTrack;
35 class TrkDetElementBase;
AlignModule is a grouping of TrkDetElementBase objects, grouped according to the type of alignment,...
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
int nDetElements() const
method for retrieving number of detector elements
void setMeasDir(Trk::ParamDefs dir)
set the measurement direction
const RIO_OnTrack * rio() const
returns RIO_OnTrack or leading RIO of CompetingRIOsOnTrack (assigned by c'tor)
double alphaStrip() const
returns strip angle for fan-out structured modules (SCT endcap)
TrackState::MeasurementType m_measType
const std::vector< Amg::VectorX > * derivativesVtx() const
returns pointer to vector of derivatives w.r.t.
std::vector< Residual >::const_iterator lastResidual() const
returns last Residual iterator
virtual ~AlignTSOS()
destructor
void setUnbiasedTrackPars(const TrackParameters *trkPars)
setter for unbiased track parameters
void addResidual(const Residual &residual)
pushes back vector of Residuals to alignTSOS residuals
void setValid(bool isvalid)
set and retrieve flag to indicate whether hit valid for alignment
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...
const TrackParameters * unbiasedTrackPars() const
returns pointer to unbiased track parameters if present
virtual TrackStateOnSurface::Variety variety() const override final
Use this method to find if this is a Single, Multi or Align TrackStateOnsurface.
const std::vector< Amg::VectorX > * derivatives() const
returns pointer to vector of derivatives
std::vector< const TrkDetElementBase * > m_detelements
std::string dumpMeasDir() const
returns string corresponding to the measurement direction
Trk::ParamDefs measDir() const
retrieve the measurement direction
int nResDim() const
returns number of measurement residual + scatterer residual dimensions
std::vector< Residual > m_residuals
void setCompetingRIOsOnTrack(const CompetingRIOsOnTrack *crio)
sets CompetingRIOsOnTrack
const CompetingRIOsOnTrack * m_crio
void setAlphaStrip(double alpha)
returns strip angle for fan-out structured modules (SCT endcap)
std::vector< Amg::VectorX > * m_derivativesVtx
void setDerivativesVtx(std::vector< Amg::VectorX > *derivs)
setter for the derivatives w.r.t.
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 std::vector< Residual > & residuals() const
returns vector of Residuals
const AlignModule * module() const
accessor method for AlignModule to which tsos belongs
std::string dumpMeasType() const
returns string corresponding to the measurement type
void setDerivatives(std::vector< Amg::VectorX > *derivs)
setter for the derivatives
std::vector< Amg::VectorX > * m_derivatives
const TrackParameters * m_unbiasedTrackPars
void clearResiduals()
clears vector of residuals
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.
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
TrackStateOnSurface()
Default ctor for POOL.
This is the base class for all tracking detector elements with read-out relevant information.
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
ParamDefs
This file defines the parameter enums in the Trk namespace.
ParametersBase< TrackParametersDim, Charged > TrackParameters