|
ATLAS Offline Software
|
#include <GXFTrackState.h>
|
| AmgSymMatrix (5) m_covariancematrix |
| Covariance matrix of track parameters at this surface. More...
|
|
|
std::unique_ptr< const MeasurementBase > | m_measurement |
| The measurement defining the track state. More...
|
|
std::bitset< TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes > | m_tsType |
| type of track state, eg Fittable, Outlier, Scatterer, Brem, Hole More...
|
|
std::unique_ptr< const TrackParameters > | m_trackpar |
| track parameters More...
|
|
std::unique_ptr< GXFMaterialEffects > | m_materialEffects |
| Material effects on track (ie scatterer, brem) More...
|
|
Eigen::Matrix< double, 5, 5 > | m_jacobian |
| Transport jacobian wrt previous state. More...
|
|
Amg::MatrixX | m_derivs |
| Derivatives of local parameters wrt fit parameters. More...
|
|
bool | m_covariance_set |
|
FitQualityOnSurface | m_fitqual |
|
double | m_measerror [5] {} |
| Measurement errors (corrected for stereo angle) More...
|
|
double | m_sinstereo |
| stereo angle More...
|
|
TrackState::MeasurementType | m_mType |
| Measurement type, eg pixel, SCT, ... More...
|
|
bool | m_recalib |
| Has this measurement already been recalibrated? More...
|
|
bool | m_measphi |
|
Amg::Vector3D | m_globpos |
|
std::optional< std::vector< std::unique_ptr< TrackParameters > > > | m_holes |
|
Definition at line 30 of file GXFTrackState.h.
◆ GXFTrackState() [1/6]
Trk::GXFTrackState::GXFTrackState |
( |
| ) |
|
|
delete |
◆ GXFTrackState() [2/6]
Definition at line 22 of file GXFTrackState.cxx.
23 m_measurement(rhs.m_measurement !=
nullptr ? std::unique_ptr<const MeasurementBase>(rhs.m_measurement->clone()) :
nullptr),
25 m_trackpar(std::unique_ptr<const TrackParameters>(rhs.m_trackpar !=
nullptr ? rhs.m_trackpar->clone() :
nullptr)),
28 m_covariancematrix(rhs.m_covariancematrix),
36 for (
int i = 0;
i < 5;
i++) {
38 for (
int j = 0; j < 5; j++) {
◆ GXFTrackState() [3/6]
◆ ~GXFTrackState()
Trk::GXFTrackState::~GXFTrackState |
( |
| ) |
|
|
default |
◆ GXFTrackState() [4/6]
◆ GXFTrackState() [5/6]
◆ GXFTrackState() [6/6]
◆ AmgSymMatrix() [1/2]
Trk::GXFTrackState::AmgSymMatrix |
( |
5 |
| ) |
& |
◆ AmgSymMatrix() [2/2]
Trk::GXFTrackState::AmgSymMatrix |
( |
5 |
| ) |
|
|
private |
Covariance matrix of track parameters at this surface.
◆ associatedSurface()
const Surface & Trk::GXFTrackState::associatedSurface |
( |
| ) |
const |
Definition at line 183 of file GXFTrackState.cxx.
191 throw std::runtime_error(
"GXFTrackState::associatedSurface: None of measurement, track parameters or material effects are non-null pointers");
◆ derivatives()
◆ fitQuality()
◆ getHoles()
std::optional< std::vector< std::unique_ptr< TrackParameters > > > & Trk::GXFTrackState::getHoles |
( |
void |
| ) |
|
◆ getStateType()
Retrieve the value of a specific type bit.
- Parameters
-
[in] | type | The track state type bit to set. |
- Returns
- A boolean value indicating whether or not the type bit is set.
Definition at line 282 of file GXFTrackState.cxx.
◆ hasTrackCovariance()
bool Trk::GXFTrackState::hasTrackCovariance |
( |
void |
| ) |
const |
◆ isRecalibrated()
bool Trk::GXFTrackState::isRecalibrated |
( |
| ) |
|
|
inline |
◆ isSane()
bool Trk::GXFTrackState::isSane |
( |
| ) |
const |
Definition at line 112 of file GXFTrackState.cxx.
115 std::cerr <<
"GXFTrackState::isSane. With :" <<
'\n';
116 std::cerr <<
"Types : " <<
m_tsType.to_string() <<
'\n';
117 std::cerr <<
"Surfaces differ! " << std::endl;
119 std::cerr <<
"ParamSurf: [" << &(
m_trackpar->associatedSurface())
120 <<
"] " <<
m_trackpar->associatedSurface() << std::endl;
123 std::cerr <<
"measSurf: [" << &(
m_measurement->associatedSurface())
128 std::cerr <<
"matSurf: ["
◆ jacobian()
Eigen::Matrix< double, 5, 5 > & Trk::GXFTrackState::jacobian |
( |
| ) |
|
|
inline |
◆ materialEffects()
◆ measurement()
◆ measurementErrors()
double * Trk::GXFTrackState::measurementErrors |
( |
| ) |
|
◆ measurementType()
◆ measuresPhi()
bool Trk::GXFTrackState::measuresPhi |
( |
| ) |
const |
◆ numberOfMeasuredParameters()
int Trk::GXFTrackState::numberOfMeasuredParameters |
( |
| ) |
|
◆ operator=() [1/3]
◆ operator=() [2/3]
◆ operator=() [3/3]
◆ position()
◆ resetStateType()
Set a specific type, wiping all others.
When called, this method will set the bit for a specific type to true or false. It will also set all other type bits to false.
- Parameters
-
[in] | type | The track state type bit to set. |
[in] | value | The boolean value for the given bit (default true). |
Definition at line 273 of file GXFTrackState.cxx.
◆ resetTrackCovariance()
void Trk::GXFTrackState::resetTrackCovariance |
( |
| ) |
|
◆ setDerivatives()
void Trk::GXFTrackState::setDerivatives |
( |
Amg::MatrixX & |
deriv | ) |
|
◆ setFitQuality()
◆ setHoles()
void Trk::GXFTrackState::setHoles |
( |
std::vector< std::unique_ptr< TrackParameters >> && |
v | ) |
|
◆ setJacobian()
◆ setMeasurement()
◆ setMeasurementErrors()
void Trk::GXFTrackState::setMeasurementErrors |
( |
const double * |
measerror | ) |
|
◆ setMeasurementType()
◆ setMeasuresPhi()
void Trk::GXFTrackState::setMeasuresPhi |
( |
bool |
measphi | ) |
|
◆ setPosition()
◆ setRecalibrated()
void Trk::GXFTrackState::setRecalibrated |
( |
bool |
isrecal | ) |
|
◆ setSinStereo()
void Trk::GXFTrackState::setSinStereo |
( |
double |
sinstereo | ) |
|
◆ setStateType()
Set a specific type bit.
This method sets a specific bit in the type bitfield to the specified value, and does not touch any of the other bits.
- Parameters
-
[in] | type | The track state type bit to set. |
[in] | value | The boolean value for the given bit (default true). |
Definition at line 278 of file GXFTrackState.cxx.
◆ setTrackCovariance()
void Trk::GXFTrackState::setTrackCovariance |
( |
AmgSymMatrix(5) * |
covmat | ) |
|
◆ setTrackParameters()
◆ sinStereo()
double Trk::GXFTrackState::sinStereo |
( |
| ) |
const |
◆ trackParameters()
◆ trackStateOnSurface()
Definition at line 295 of file GXFTrackState.cxx.
301 std::unique_ptr<MaterialEffectsBase> mateff =
nullptr;
302 std::bitset<TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes> typePattern;
316 if (mateff ==
nullptr) {
322 if ((fitQual) && (fitQual.chiSquared() > 1.e5 || fitQual.chiSquared() < 0)) {
324 int ndf = fitQual.numberDoF();
326 if (fitQual.chiSquared() < 0) {
328 }
else if (fitQual.chiSquared() > 1.e5) {
332 fitQual = FitQualityOnSurface(newchi2,
ndf);
340 return std::make_unique<const TrackStateOnSurface>(
◆ zeroTrackCovariance()
void Trk::GXFTrackState::zeroTrackCovariance |
( |
void |
| ) |
|
◆ m_covariance_set
bool Trk::GXFTrackState::m_covariance_set |
|
private |
◆ m_derivs
Derivatives of local parameters wrt fit parameters.
Definition at line 130 of file GXFTrackState.h.
◆ m_fitqual
◆ m_globpos
◆ m_holes
std::optional<std::vector<std::unique_ptr<TrackParameters> > > Trk::GXFTrackState::m_holes |
|
private |
◆ m_jacobian
Eigen::Matrix<double, 5, 5> Trk::GXFTrackState::m_jacobian |
|
private |
◆ m_materialEffects
◆ m_measerror
double Trk::GXFTrackState::m_measerror[5] {} |
|
private |
Measurement errors (corrected for stereo angle)
Definition at line 136 of file GXFTrackState.h.
◆ m_measphi
bool Trk::GXFTrackState::m_measphi |
|
private |
◆ m_measurement
◆ m_mType
◆ m_recalib
bool Trk::GXFTrackState::m_recalib |
|
private |
Has this measurement already been recalibrated?
Definition at line 139 of file GXFTrackState.h.
◆ m_sinstereo
double Trk::GXFTrackState::m_sinstereo |
|
private |
◆ m_trackpar
◆ m_tsType
type of track state, eg Fittable, Outlier, Scatterer, Brem, Hole
Definition at line 126 of file GXFTrackState.h.
The documentation for this class was generated from the following files:
@ CaloDeposit
This TSOS contains a CaloEnergy object.
@ Perigee
This represents a perigee, and so will contain a Perigee object only.
TrackState::MeasurementType m_mType
Measurement type, eg pixel, SCT, ...
void setStateType(TrackStateOnSurface::TrackStateOnSurfaceType type, bool value=true)
Set a specific type bit.
const MeasurementBase * measurement(void)
bool getStateType(TrackStateOnSurface::TrackStateOnSurfaceType type) const
Retrieve the value of a specific type bit.
FitQualityOnSurface m_fitqual
@ Outlier
This TSoS contains an outlier, that is, it contains a MeasurementBase/RIO_OnTrack which was not used ...
double m_measerror[5]
Measurement errors (corrected for stereo angle)
std::optional< std::vector< std::unique_ptr< TrackParameters > > > m_holes
void setTrackCovariance(AmgSymMatrix(5) *)
std::bitset< TrackStateOnSurface::NumberOfTrackStateOnSurfaceTypes > m_tsType
type of track state, eg Fittable, Outlier, Scatterer, Brem, Hole
std::unique_ptr< const TrackParameters > m_trackpar
track parameters
std::unique_ptr< GXFMaterialEffects > m_materialEffects
Material effects on track (ie scatterer, brem)
std::unique_ptr< const MeasurementBase > m_measurement
The measurement defining the track state.
@ BremPoint
This represents a brem point on the track, and so will contain TrackParameters and MaterialEffectsBas...
bool m_recalib
Has this measurement already been recalibrated?
Amg::MatrixX m_derivs
Derivatives of local parameters wrt fit parameters.
std::unique_ptr< T > unique_clone(const T *v)
@ Scatterer
This represents a scattering point on the track, and so will contain TrackParameters and MaterialEffe...
Eigen::Matrix< double, 5, 5 > m_jacobian
Transport jacobian wrt previous state.
double m_sinstereo
stereo angle
bool consistentSurfaces(U)
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.