16#ifndef ALICEO2_MFT_ALIGN_POINT_HELPER_H
17#define ALICEO2_MFT_ALIGN_POINT_HELPER_H
24#include "MFTBase/GeometryTGeo.h"
29#include "MFTBase/GeometryTGeo.h"
140 UShort_t
half()
const;
141 UShort_t
disk()
const;
142 UShort_t
layer()
const;
200 gsl::span<const unsigned char>::iterator& pattIt,
206 std::vector<unsigned char>::iterator& pattIt,
Helper class to access to the global coordinates of the center each MFT sensor.
Definition of the ITSMFT compact cluster.
Class handling both virtual segmentation and real volumes.
Container of a single alignment point and methods to fill it.
o2::math_utils::Point3D< double > getLocalMeasuredPositionSigma() const
LocalDerivative mLocalDerivativeX
first (X) component of the local derivatives
bool computeGlobalDerivativeY()
compute second (Y) component of the global derivatives
const o2::itsmft::TopologyDictionary * mDictionary
cluster patterns dictionary
bool mIsTrackInitialParamSet
boolean to indicate if the initial track parameters are recorded
GlobalDerivative globalDerivativeX() const
void recordTrackInitialParam(o2::mft::TrackMFT &mftTrack)
store the track parameters at the initial z0 plane
GlobalDerivative mGlobalDerivativeZ
last (Z) component of the global derivatives
ClassDef(AlignPointHelper, 0)
GlobalDerivative globalDerivativeZ() const
LocalDerivative mLocalDerivativeZ
last (Z) component of the local derivatives
LocalDerivative mLocalDerivativeY
second (Y) component of the local derivatives
bool computeGlobalDerivativeZ()
compute last (Z) component of the global derivatives
bool computeLocalDerivativeY()
compute second (Y) component of the local derivatives
o2::math_utils::Point3D< double > getLocalResidual() const
o2::math_utils::Point3D< double > getGlobalResidual() const
o2::math_utils::Point3D< double > mLocalMeasuredPositionSigma
Estimated error on local position measurement.
void setClusterDictionary(const o2::itsmft::TopologyDictionary *d)
set cluster pattern dictionary (needed to compute cluster coordinates)
bool computeLocalDerivativeZ()
compute last (Z) component of the local derivatives
o2::mft::GeometryTGeo * mGeometry
MFT geometry.
o2::math_utils::Point3D< double > mGlobalRecoPosition
Current cartesian position (cm, in Global ref. system) of the reconstructed track analytically propag...
bool mIsGlobalDerivativeDone
boolean to indicate if the global derivatives computaion is done
TrackParam getTrackInitialParam() const
bool mIsClusterOk
boolean to check if cluster was exploitable to get coordinates
bool isLocalDerivativeDone() const
o2::math_utils::Point3D< double > getLocalMeasuredPosition() const
o2::math_utils::Point3D< double > getGlobalRecoPosition() const
LocalDerivative localDerivativeY() const
void resetGlobalDerivatives()
reset all elements to zero for the global derivatives
bool computeGlobalDerivativeX()
compute first (X) component of the global derivatives
UShort_t getSensorId() const
void setGlobalRecoPosition(o2::mft::TrackMFT &mftTrack)
LocalDerivative localDerivativeZ() const
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 posit...
void setMeasuredPosition(const o2::BaseCluster< double > &localCluster, const o2::BaseCluster< double > &globalCluster)
std::unique_ptr< o2::mft::AlignSensorHelper > mChipHelper
utility to access the sensor transform used in the computation of the derivatives
o2::math_utils::Point3D< double > mGlobalResidual
residual between track x-ing point and cluster in global ref. system
TrackParam mTrackInitialParam
Track parameters at the initial reference plane z = z0.
void computeGlobalDerivatives()
method to call the computation of all three components of the global derivative
void resetAlignPoint()
reset all quantities that define an alignment point to their default value
virtual ~AlignPointHelper()=default
destructor
void computeLocalDerivatives()
method to call the computation of all three compnonents of the local derivative
o2::math_utils::Point3D< double > getGlobalMeasuredPosition() const
GlobalDerivative mGlobalDerivativeY
second (Y) component of the global derivatives
bool isAlignPointSet() const
bool mIsLocalDerivativeDone
boolean to indicate if the local derivatives computation is done
o2::math_utils::Point3D< double > mLocalResidual
residual between track x-ing point and cluster in local ref. system
void resetLocalDerivatives()
reset all elements to zero for the local derivatives
LocalDerivative localDerivativeX() const
void resetTrackInitialParam()
reset all track parameters to their default value (zero)
o2::math_utils::Point3D< double > getLocalRecoPosition() const
o2::math_utils::Point3D< double > mLocalMeasuredPosition
Current cartesian position (cm, in Local ref. system) of the cluster.
bool computeLocalDerivativeX()
compute first (X) component of the local derivatives
GlobalDerivative mGlobalDerivativeX
first (X) component of the global derivatives
GlobalDerivative globalDerivativeY() const
o2::math_utils::Point3D< double > mLocalRecoPosition
Current cartesian position (cm, in Local ref. system) of the reconstructed track analytically propaga...
AlignPointHelper()
constructor
bool mIsAlignPointSet
boolean to indicate if mGlobalRecoPosition and mLocalMeasuredPosition are set
o2::math_utils::Point3D< double > mGlobalMeasuredPosition
Current cartesian position (cm, in Global ref. system) of the cluster.
bool isGlobalDerivativeDone() const
Simple container of global derivatives.
void reset()
reset all data members to default value (zero)
virtual ~GlobalDerivative()=default
destructor
GlobalDerivative()=default
constructor
double mdDeltaY
derivative w.r.t. delta translation along global y-axis
double mdDeltaRz
derivative w.r.t. delta rotation angle around global z-axis
double mdDeltaZ
derivative w.r.t. delta translation along global z-axis
double mdDeltaX
derivative w.r.t. delta translation along global x-axis
Simple container of local derivatives.
double mdY0
derivative w.r.t. track param. y0
LocalDerivative()=default
constructor
double mdTy
derivative w.r.t. track param. ty
void reset()
reset all data members to default value (zero)
double mdTx
derivative w.r.t. track param. tx
double mdX0
derivative w.r.t. track param. x0
virtual ~LocalDerivative()=default
destructor
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
simple structure to organise the storage of track parameters at inital z0 plane
std::vector< Cluster > clusters