![]() |
Project
|
Container of a single alignment point and methods to fill it. More...
#include <AlignPointHelper.h>
Classes | |
struct | TrackParam |
simple structure to organise the storage of track parameters at inital z0 plane More... | |
Public Member Functions | |
AlignPointHelper () | |
constructor | |
virtual | ~AlignPointHelper ()=default |
destructor | |
void | computeLocalDerivatives () |
method to call the computation of all three compnonents of the local derivative | |
void | computeGlobalDerivatives () |
method to call the computation of all three components of the global derivative | |
UShort_t | getSensorId () const |
UShort_t | half () const |
UShort_t | disk () const |
UShort_t | layer () const |
bool | isAlignPointSet () const |
bool | isGlobalDerivativeDone () const |
bool | isLocalDerivativeDone () const |
bool | isClusterOk () const |
GlobalDerivative | globalDerivativeX () const |
GlobalDerivative | globalDerivativeY () const |
GlobalDerivative | globalDerivativeZ () const |
LocalDerivative | localDerivativeX () const |
LocalDerivative | localDerivativeY () const |
LocalDerivative | localDerivativeZ () const |
o2::math_utils::Point3D< double > | getLocalMeasuredPosition () const |
o2::math_utils::Point3D< double > | getLocalMeasuredPositionSigma () const |
o2::math_utils::Point3D< double > | getLocalResidual () const |
o2::math_utils::Point3D< double > | getGlobalResidual () const |
o2::math_utils::Point3D< double > | getGlobalMeasuredPosition () const |
o2::math_utils::Point3D< double > | getGlobalRecoPosition () const |
o2::math_utils::Point3D< double > | getLocalRecoPosition () const |
TrackParam | getTrackInitialParam () const |
void | resetAlignPoint () |
reset all quantities that define an alignment point to their default value | |
void | resetTrackInitialParam () |
reset all track parameters to their default value (zero) | |
void | convertCompactClusters (gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< double > > &outputLocalClusters, std::vector< o2::BaseCluster< double > > &outputGlobalClusters) |
convert compact clusters (pixel coordinates in row, col) from workflow to base clusters with 3D position (local, global coordinates) | |
void | convertCompactClusters (const std::vector< o2::itsmft::CompClusterExt > &clusters, std::vector< unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< double > > &outputLocalClusters, std::vector< o2::BaseCluster< double > > &outputGlobalClusters) |
convert compact clusters (pixel coordinates in row, col) from ROOT file to base clusters with 3D position (local, global coordinates) | |
void | recordTrackInitialParam (o2::mft::TrackMFT &mftTrack) |
store the track parameters at the initial z0 plane | |
void | setClusterDictionary (const o2::itsmft::TopologyDictionary *d) |
set cluster pattern dictionary (needed to compute cluster coordinates) | |
void | setGlobalRecoPosition (o2::mft::TrackMFT &mftTrack) |
void | setMeasuredPosition (const o2::BaseCluster< double > &localCluster, const o2::BaseCluster< double > &globalCluster) |
void | setLocalResidual () |
void | setGlobalResidual () |
Protected Member Functions | |
void | resetLocalDerivatives () |
reset all elements to zero for the local derivatives | |
void | resetGlobalDerivatives () |
reset all elements to zero for the global derivatives | |
bool | computeLocalDerivativeX () |
compute first (X) component of the local derivatives | |
bool | computeLocalDerivativeY () |
compute second (Y) component of the local derivatives | |
bool | computeLocalDerivativeZ () |
compute last (Z) component of the local derivatives | |
bool | computeGlobalDerivativeX () |
compute first (X) component of the global derivatives | |
bool | computeGlobalDerivativeY () |
compute second (Y) component of the global derivatives | |
bool | computeGlobalDerivativeZ () |
compute last (Z) component of the global derivatives | |
ClassDef (AlignPointHelper, 0) | |
Protected Attributes | |
bool | mIsAlignPointSet |
boolean to indicate if mGlobalRecoPosition and mLocalMeasuredPosition are set | |
bool | mIsGlobalDerivativeDone |
boolean to indicate if the global derivatives computaion is done | |
bool | mIsLocalDerivativeDone |
boolean to indicate if the local derivatives computation is done | |
bool | mIsTrackInitialParamSet |
boolean to indicate if the initial track parameters are recorded | |
bool | mIsClusterOk |
boolean to check if cluster was exploitable to get coordinates | |
o2::mft::GeometryTGeo * | mGeometry |
MFT geometry. | |
const o2::itsmft::TopologyDictionary * | mDictionary |
cluster patterns dictionary | |
std::unique_ptr< o2::mft::AlignSensorHelper > | mChipHelper |
utility to access the sensor transform used in the computation of the derivatives | |
LocalDerivative | mLocalDerivativeX |
first (X) component of the local derivatives | |
LocalDerivative | mLocalDerivativeY |
second (Y) component of the local derivatives | |
LocalDerivative | mLocalDerivativeZ |
last (Z) component of the local derivatives | |
GlobalDerivative | mGlobalDerivativeX |
first (X) component of the global derivatives | |
GlobalDerivative | mGlobalDerivativeY |
second (Y) component of the global derivatives | |
GlobalDerivative | mGlobalDerivativeZ |
last (Z) component of the global derivatives | |
TrackParam | mTrackInitialParam |
Track parameters at the initial reference plane z = z0. | |
o2::math_utils::Point3D< double > | mGlobalRecoPosition |
Current cartesian position (cm, in Global ref. system) of the reconstructed track analytically propagated to the z position of the cluster. | |
o2::math_utils::Point3D< double > | mLocalRecoPosition |
Current cartesian position (cm, in Local ref. system) of the reconstructed track analytically propagated to the z position of the cluster. | |
o2::math_utils::Point3D< double > | mLocalMeasuredPosition |
Current cartesian position (cm, in Local ref. system) of the cluster. | |
o2::math_utils::Point3D< double > | mLocalMeasuredPositionSigma |
Estimated error on local position measurement. | |
o2::math_utils::Point3D< double > | mGlobalMeasuredPosition |
Current cartesian position (cm, in Global ref. system) of the cluster. | |
o2::math_utils::Point3D< double > | mLocalResidual |
residual between track x-ing point and cluster in local ref. system | |
o2::math_utils::Point3D< double > | mGlobalResidual |
residual between track x-ing point and cluster in global ref. system | |
Container of a single alignment point and methods to fill it.
An alignment point is defined by the track crossing point coordinates at the z of this plane, the cluster coordinates, the value of the local derivarives and the global derivatives at that point, the sensor id of this cluster. This class also offers to compute the track-cluster residual at this point.
Definition at line 117 of file AlignPointHelper.h.
AlignPointHelper::AlignPointHelper | ( | ) |
constructor
Definition at line 29 of file AlignPointHelper.cxx.
|
virtualdefault |
destructor
|
protected |
void AlignPointHelper::computeGlobalDerivatives | ( | ) |
method to call the computation of all three components of the global derivative
Definition at line 87 of file AlignPointHelper.cxx.
|
protected |
compute first (X) component of the global derivatives
Definition at line 533 of file AlignPointHelper.cxx.
|
protected |
compute second (Y) component of the global derivatives
Definition at line 565 of file AlignPointHelper.cxx.
|
protected |
compute last (Z) component of the global derivatives
Definition at line 597 of file AlignPointHelper.cxx.
void AlignPointHelper::computeLocalDerivatives | ( | ) |
method to call the computation of all three compnonents of the local derivative
Definition at line 61 of file AlignPointHelper.cxx.
|
protected |
compute first (X) component of the local derivatives
Definition at line 450 of file AlignPointHelper.cxx.
|
protected |
compute second (Y) component of the local derivatives
Definition at line 479 of file AlignPointHelper.cxx.
|
protected |
compute last (Z) component of the local derivatives
Definition at line 508 of file AlignPointHelper.cxx.
void AlignPointHelper::convertCompactClusters | ( | const std::vector< o2::itsmft::CompClusterExt > & | clusters, |
std::vector< unsigned char >::iterator & | pattIt, | ||
std::vector< o2::BaseCluster< double > > & | outputLocalClusters, | ||
std::vector< o2::BaseCluster< double > > & | outputGlobalClusters | ||
) |
convert compact clusters (pixel coordinates in row, col) from ROOT file to base clusters with 3D position (local, global coordinates)
Definition at line 265 of file AlignPointHelper.cxx.
void AlignPointHelper::convertCompactClusters | ( | gsl::span< const itsmft::CompClusterExt > | clusters, |
gsl::span< const unsigned char >::iterator & | pattIt, | ||
std::vector< o2::BaseCluster< double > > & | outputLocalClusters, | ||
std::vector< o2::BaseCluster< double > > & | outputGlobalClusters | ||
) |
convert compact clusters (pixel coordinates in row, col) from workflow to base clusters with 3D position (local, global coordinates)
Definition at line 206 of file AlignPointHelper.cxx.
UShort_t AlignPointHelper::disk | ( | ) | const |
Definition at line 144 of file AlignPointHelper.cxx.
|
inline |
Definition at line 178 of file AlignPointHelper.h.
|
inline |
Definition at line 182 of file AlignPointHelper.h.
|
inline |
Definition at line 174 of file AlignPointHelper.h.
|
inline |
Definition at line 162 of file AlignPointHelper.h.
|
inline |
Definition at line 166 of file AlignPointHelper.h.
|
inline |
Definition at line 186 of file AlignPointHelper.h.
|
inline |
Definition at line 170 of file AlignPointHelper.h.
UShort_t AlignPointHelper::getSensorId | ( | ) | const |
Definition at line 112 of file AlignPointHelper.cxx.
|
inline |
Definition at line 190 of file AlignPointHelper.h.
|
inline |
Definition at line 153 of file AlignPointHelper.h.
|
inline |
Definition at line 154 of file AlignPointHelper.h.
|
inline |
Definition at line 155 of file AlignPointHelper.h.
UShort_t AlignPointHelper::half | ( | ) | const |
Definition at line 128 of file AlignPointHelper.cxx.
|
inline |
Definition at line 146 of file AlignPointHelper.h.
|
inline |
Definition at line 149 of file AlignPointHelper.h.
|
inline |
Definition at line 147 of file AlignPointHelper.h.
|
inline |
Definition at line 148 of file AlignPointHelper.h.
UShort_t AlignPointHelper::layer | ( | ) | const |
Definition at line 160 of file AlignPointHelper.cxx.
|
inline |
Definition at line 156 of file AlignPointHelper.h.
|
inline |
Definition at line 157 of file AlignPointHelper.h.
|
inline |
Definition at line 158 of file AlignPointHelper.h.
void AlignPointHelper::recordTrackInitialParam | ( | o2::mft::TrackMFT & | mftTrack | ) |
store the track parameters at the initial z0 plane
Definition at line 324 of file AlignPointHelper.cxx.
void AlignPointHelper::resetAlignPoint | ( | ) |
reset all quantities that define an alignment point to their default value
Definition at line 176 of file AlignPointHelper.cxx.
|
protected |
reset all elements to zero for the global derivatives
Definition at line 440 of file AlignPointHelper.cxx.
|
protected |
reset all elements to zero for the local derivatives
Definition at line 430 of file AlignPointHelper.cxx.
void AlignPointHelper::resetTrackInitialParam | ( | ) |
reset all track parameters to their default value (zero)
Definition at line 194 of file AlignPointHelper.cxx.
|
inline |
set cluster pattern dictionary (needed to compute cluster coordinates)
Definition at line 214 of file AlignPointHelper.h.
void AlignPointHelper::setGlobalRecoPosition | ( | o2::mft::TrackMFT & | mftTrack | ) |
Definition at line 343 of file AlignPointHelper.cxx.
void AlignPointHelper::setGlobalResidual | ( | ) |
Definition at line 416 of file AlignPointHelper.cxx.
void AlignPointHelper::setLocalResidual | ( | ) |
Definition at line 394 of file AlignPointHelper.cxx.
void AlignPointHelper::setMeasuredPosition | ( | const o2::BaseCluster< double > & | localCluster, |
const o2::BaseCluster< double > & | globalCluster | ||
) |
Definition at line 361 of file AlignPointHelper.cxx.
|
protected |
utility to access the sensor transform used in the computation of the derivatives
Definition at line 233 of file AlignPointHelper.h.
|
protected |
cluster patterns dictionary
Definition at line 232 of file AlignPointHelper.h.
|
protected |
MFT geometry.
Definition at line 231 of file AlignPointHelper.h.
|
protected |
first (X) component of the global derivatives
Definition at line 239 of file AlignPointHelper.h.
|
protected |
second (Y) component of the global derivatives
Definition at line 240 of file AlignPointHelper.h.
|
protected |
last (Z) component of the global derivatives
Definition at line 241 of file AlignPointHelper.h.
|
protected |
Current cartesian position (cm, in Global ref. system) of the cluster.
Definition at line 250 of file AlignPointHelper.h.
|
protected |
Current cartesian position (cm, in Global ref. system) of the reconstructed track analytically propagated to the z position of the cluster.
Definition at line 245 of file AlignPointHelper.h.
|
protected |
residual between track x-ing point and cluster in global ref. system
Definition at line 253 of file AlignPointHelper.h.
|
protected |
boolean to indicate if mGlobalRecoPosition and mLocalMeasuredPosition are set
Definition at line 225 of file AlignPointHelper.h.
|
protected |
boolean to check if cluster was exploitable to get coordinates
Definition at line 229 of file AlignPointHelper.h.
|
protected |
boolean to indicate if the global derivatives computaion is done
Definition at line 226 of file AlignPointHelper.h.
|
protected |
boolean to indicate if the local derivatives computation is done
Definition at line 227 of file AlignPointHelper.h.
|
protected |
boolean to indicate if the initial track parameters are recorded
Definition at line 228 of file AlignPointHelper.h.
|
protected |
first (X) component of the local derivatives
Definition at line 235 of file AlignPointHelper.h.
|
protected |
second (Y) component of the local derivatives
Definition at line 236 of file AlignPointHelper.h.
|
protected |
last (Z) component of the local derivatives
Definition at line 237 of file AlignPointHelper.h.
|
protected |
Current cartesian position (cm, in Local ref. system) of the cluster.
Definition at line 248 of file AlignPointHelper.h.
|
protected |
Estimated error on local position measurement.
Definition at line 249 of file AlignPointHelper.h.
|
protected |
Current cartesian position (cm, in Local ref. system) of the reconstructed track analytically propagated to the z position of the cluster.
Definition at line 246 of file AlignPointHelper.h.
|
protected |
residual between track x-ing point and cluster in local ref. system
Definition at line 252 of file AlignPointHelper.h.
|
protected |
Track parameters at the initial reference plane z = z0.
Definition at line 243 of file AlignPointHelper.h.