Project
Loading...
Searching...
No Matches
o2::mft::AlignPointHelper Class Reference

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::GeometryTGeomGeometry
 MFT geometry.
 
const o2::itsmft::TopologyDictionarymDictionary
 cluster patterns dictionary
 
std::unique_ptr< o2::mft::AlignSensorHelpermChipHelper
 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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ AlignPointHelper()

AlignPointHelper::AlignPointHelper ( )

constructor

Definition at line 29 of file AlignPointHelper.cxx.

◆ ~AlignPointHelper()

virtual o2::mft::AlignPointHelper::~AlignPointHelper ( )
virtualdefault

destructor

Member Function Documentation

◆ ClassDef()

o2::mft::AlignPointHelper::ClassDef ( AlignPointHelper  ,
 
)
protected

◆ computeGlobalDerivatives()

void AlignPointHelper::computeGlobalDerivatives ( )

method to call the computation of all three components of the global derivative

Definition at line 87 of file AlignPointHelper.cxx.

◆ computeGlobalDerivativeX()

bool AlignPointHelper::computeGlobalDerivativeX ( )
protected

compute first (X) component of the global derivatives

Definition at line 533 of file AlignPointHelper.cxx.

◆ computeGlobalDerivativeY()

bool AlignPointHelper::computeGlobalDerivativeY ( )
protected

compute second (Y) component of the global derivatives

Definition at line 565 of file AlignPointHelper.cxx.

◆ computeGlobalDerivativeZ()

bool AlignPointHelper::computeGlobalDerivativeZ ( )
protected

compute last (Z) component of the global derivatives

Definition at line 597 of file AlignPointHelper.cxx.

◆ computeLocalDerivatives()

void AlignPointHelper::computeLocalDerivatives ( )

method to call the computation of all three compnonents of the local derivative

Definition at line 61 of file AlignPointHelper.cxx.

◆ computeLocalDerivativeX()

bool AlignPointHelper::computeLocalDerivativeX ( )
protected

compute first (X) component of the local derivatives

Definition at line 450 of file AlignPointHelper.cxx.

◆ computeLocalDerivativeY()

bool AlignPointHelper::computeLocalDerivativeY ( )
protected

compute second (Y) component of the local derivatives

Definition at line 479 of file AlignPointHelper.cxx.

◆ computeLocalDerivativeZ()

bool AlignPointHelper::computeLocalDerivativeZ ( )
protected

compute last (Z) component of the local derivatives

Definition at line 508 of file AlignPointHelper.cxx.

◆ convertCompactClusters() [1/2]

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.

◆ convertCompactClusters() [2/2]

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.

◆ disk()

UShort_t AlignPointHelper::disk ( ) const

Definition at line 144 of file AlignPointHelper.cxx.

◆ getGlobalMeasuredPosition()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getGlobalMeasuredPosition ( ) const
inline

Definition at line 178 of file AlignPointHelper.h.

◆ getGlobalRecoPosition()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getGlobalRecoPosition ( ) const
inline

Definition at line 182 of file AlignPointHelper.h.

◆ getGlobalResidual()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getGlobalResidual ( ) const
inline

Definition at line 174 of file AlignPointHelper.h.

◆ getLocalMeasuredPosition()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getLocalMeasuredPosition ( ) const
inline

Definition at line 162 of file AlignPointHelper.h.

◆ getLocalMeasuredPositionSigma()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getLocalMeasuredPositionSigma ( ) const
inline

Definition at line 166 of file AlignPointHelper.h.

◆ getLocalRecoPosition()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getLocalRecoPosition ( ) const
inline

Definition at line 186 of file AlignPointHelper.h.

◆ getLocalResidual()

o2::math_utils::Point3D< double > o2::mft::AlignPointHelper::getLocalResidual ( ) const
inline

Definition at line 170 of file AlignPointHelper.h.

◆ getSensorId()

UShort_t AlignPointHelper::getSensorId ( ) const

Definition at line 112 of file AlignPointHelper.cxx.

◆ getTrackInitialParam()

TrackParam o2::mft::AlignPointHelper::getTrackInitialParam ( ) const
inline

Definition at line 190 of file AlignPointHelper.h.

◆ globalDerivativeX()

GlobalDerivative o2::mft::AlignPointHelper::globalDerivativeX ( ) const
inline

Definition at line 153 of file AlignPointHelper.h.

◆ globalDerivativeY()

GlobalDerivative o2::mft::AlignPointHelper::globalDerivativeY ( ) const
inline

Definition at line 154 of file AlignPointHelper.h.

◆ globalDerivativeZ()

GlobalDerivative o2::mft::AlignPointHelper::globalDerivativeZ ( ) const
inline

Definition at line 155 of file AlignPointHelper.h.

◆ half()

UShort_t AlignPointHelper::half ( ) const

Definition at line 128 of file AlignPointHelper.cxx.

◆ isAlignPointSet()

bool o2::mft::AlignPointHelper::isAlignPointSet ( ) const
inline

Definition at line 146 of file AlignPointHelper.h.

◆ isClusterOk()

bool o2::mft::AlignPointHelper::isClusterOk ( ) const
inline

Definition at line 149 of file AlignPointHelper.h.

◆ isGlobalDerivativeDone()

bool o2::mft::AlignPointHelper::isGlobalDerivativeDone ( ) const
inline

Definition at line 147 of file AlignPointHelper.h.

◆ isLocalDerivativeDone()

bool o2::mft::AlignPointHelper::isLocalDerivativeDone ( ) const
inline

Definition at line 148 of file AlignPointHelper.h.

◆ layer()

UShort_t AlignPointHelper::layer ( ) const

Definition at line 160 of file AlignPointHelper.cxx.

◆ localDerivativeX()

LocalDerivative o2::mft::AlignPointHelper::localDerivativeX ( ) const
inline

Definition at line 156 of file AlignPointHelper.h.

◆ localDerivativeY()

LocalDerivative o2::mft::AlignPointHelper::localDerivativeY ( ) const
inline

Definition at line 157 of file AlignPointHelper.h.

◆ localDerivativeZ()

LocalDerivative o2::mft::AlignPointHelper::localDerivativeZ ( ) const
inline

Definition at line 158 of file AlignPointHelper.h.

◆ recordTrackInitialParam()

void AlignPointHelper::recordTrackInitialParam ( o2::mft::TrackMFT mftTrack)

store the track parameters at the initial z0 plane

Definition at line 324 of file AlignPointHelper.cxx.

◆ resetAlignPoint()

void AlignPointHelper::resetAlignPoint ( )

reset all quantities that define an alignment point to their default value

Definition at line 176 of file AlignPointHelper.cxx.

◆ resetGlobalDerivatives()

void AlignPointHelper::resetGlobalDerivatives ( )
protected

reset all elements to zero for the global derivatives

Definition at line 440 of file AlignPointHelper.cxx.

◆ resetLocalDerivatives()

void AlignPointHelper::resetLocalDerivatives ( )
protected

reset all elements to zero for the local derivatives

Definition at line 430 of file AlignPointHelper.cxx.

◆ resetTrackInitialParam()

void AlignPointHelper::resetTrackInitialParam ( )

reset all track parameters to their default value (zero)

Definition at line 194 of file AlignPointHelper.cxx.

◆ setClusterDictionary()

void o2::mft::AlignPointHelper::setClusterDictionary ( const o2::itsmft::TopologyDictionary d)
inline

set cluster pattern dictionary (needed to compute cluster coordinates)

Definition at line 214 of file AlignPointHelper.h.

◆ setGlobalRecoPosition()

void AlignPointHelper::setGlobalRecoPosition ( o2::mft::TrackMFT mftTrack)

Definition at line 343 of file AlignPointHelper.cxx.

◆ setGlobalResidual()

void AlignPointHelper::setGlobalResidual ( )

Definition at line 416 of file AlignPointHelper.cxx.

◆ setLocalResidual()

void AlignPointHelper::setLocalResidual ( )

Definition at line 394 of file AlignPointHelper.cxx.

◆ setMeasuredPosition()

void AlignPointHelper::setMeasuredPosition ( const o2::BaseCluster< double > &  localCluster,
const o2::BaseCluster< double > &  globalCluster 
)

Definition at line 361 of file AlignPointHelper.cxx.

Member Data Documentation

◆ mChipHelper

std::unique_ptr<o2::mft::AlignSensorHelper> o2::mft::AlignPointHelper::mChipHelper
protected

utility to access the sensor transform used in the computation of the derivatives

Definition at line 233 of file AlignPointHelper.h.

◆ mDictionary

const o2::itsmft::TopologyDictionary* o2::mft::AlignPointHelper::mDictionary
protected

cluster patterns dictionary

Definition at line 232 of file AlignPointHelper.h.

◆ mGeometry

o2::mft::GeometryTGeo* o2::mft::AlignPointHelper::mGeometry
protected

MFT geometry.

Definition at line 231 of file AlignPointHelper.h.

◆ mGlobalDerivativeX

GlobalDerivative o2::mft::AlignPointHelper::mGlobalDerivativeX
protected

first (X) component of the global derivatives

Definition at line 239 of file AlignPointHelper.h.

◆ mGlobalDerivativeY

GlobalDerivative o2::mft::AlignPointHelper::mGlobalDerivativeY
protected

second (Y) component of the global derivatives

Definition at line 240 of file AlignPointHelper.h.

◆ mGlobalDerivativeZ

GlobalDerivative o2::mft::AlignPointHelper::mGlobalDerivativeZ
protected

last (Z) component of the global derivatives

Definition at line 241 of file AlignPointHelper.h.

◆ mGlobalMeasuredPosition

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mGlobalMeasuredPosition
protected

Current cartesian position (cm, in Global ref. system) of the cluster.

Definition at line 250 of file AlignPointHelper.h.

◆ mGlobalRecoPosition

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mGlobalRecoPosition
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.

◆ mGlobalResidual

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mGlobalResidual
protected

residual between track x-ing point and cluster in global ref. system

Definition at line 253 of file AlignPointHelper.h.

◆ mIsAlignPointSet

bool o2::mft::AlignPointHelper::mIsAlignPointSet
protected

boolean to indicate if mGlobalRecoPosition and mLocalMeasuredPosition are set

Definition at line 225 of file AlignPointHelper.h.

◆ mIsClusterOk

bool o2::mft::AlignPointHelper::mIsClusterOk
protected

boolean to check if cluster was exploitable to get coordinates

Definition at line 229 of file AlignPointHelper.h.

◆ mIsGlobalDerivativeDone

bool o2::mft::AlignPointHelper::mIsGlobalDerivativeDone
protected

boolean to indicate if the global derivatives computaion is done

Definition at line 226 of file AlignPointHelper.h.

◆ mIsLocalDerivativeDone

bool o2::mft::AlignPointHelper::mIsLocalDerivativeDone
protected

boolean to indicate if the local derivatives computation is done

Definition at line 227 of file AlignPointHelper.h.

◆ mIsTrackInitialParamSet

bool o2::mft::AlignPointHelper::mIsTrackInitialParamSet
protected

boolean to indicate if the initial track parameters are recorded

Definition at line 228 of file AlignPointHelper.h.

◆ mLocalDerivativeX

LocalDerivative o2::mft::AlignPointHelper::mLocalDerivativeX
protected

first (X) component of the local derivatives

Definition at line 235 of file AlignPointHelper.h.

◆ mLocalDerivativeY

LocalDerivative o2::mft::AlignPointHelper::mLocalDerivativeY
protected

second (Y) component of the local derivatives

Definition at line 236 of file AlignPointHelper.h.

◆ mLocalDerivativeZ

LocalDerivative o2::mft::AlignPointHelper::mLocalDerivativeZ
protected

last (Z) component of the local derivatives

Definition at line 237 of file AlignPointHelper.h.

◆ mLocalMeasuredPosition

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mLocalMeasuredPosition
protected

Current cartesian position (cm, in Local ref. system) of the cluster.

Definition at line 248 of file AlignPointHelper.h.

◆ mLocalMeasuredPositionSigma

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mLocalMeasuredPositionSigma
protected

Estimated error on local position measurement.

Definition at line 249 of file AlignPointHelper.h.

◆ mLocalRecoPosition

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mLocalRecoPosition
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.

◆ mLocalResidual

o2::math_utils::Point3D<double> o2::mft::AlignPointHelper::mLocalResidual
protected

residual between track x-ing point and cluster in local ref. system

Definition at line 252 of file AlignPointHelper.h.

◆ mTrackInitialParam

TrackParam o2::mft::AlignPointHelper::mTrackInitialParam
protected

Track parameters at the initial reference plane z = z0.

Definition at line 243 of file AlignPointHelper.h.


The documentation for this class was generated from the following files: