Project
Loading...
Searching...
No Matches
o2::align::AlignmentPoint Class Reference

#include <AlignmentPoint.h>

Public Types

enum  BITS {
  kMaterialBit = 0x1 << 0 , kMeasurementBit = 0x1 << 1 , kUpdateFromTrackBit = 0x1 << 2 , kVaryELossBit = 0x1 << 3 ,
  kUseBzOnly = 0x1 << 4 , kInvDir = 0x1 << 5 , kStatOK = 0x1 << 6 , kOptUMAT = 0x1 << 10 ,
  kOptDiag = 0x1 << 11 , kOptWSA = 0x1 << 12 , kOptWSB = 0x1 << 13
}
 
enum  {
  kParY = 0 , kParZ , kParSnp , kParTgl ,
  kParQ2Pt , kNMSPar = 4 , kNELossPar = 1 , kNMatDOFs = kNMSPar + kNELossPar
}
 
enum  { kX , kY , kZ }
 
using DetID = o2::detectors::DetID
 

Public Member Functions

 AlignmentPoint ()=default
 
void init ()
 
void updatePointByTrackInfo (const trackParam_t *t)
 
double getAlphaSens () const
 
double getXSens () const
 
double getXTracking () const
 
double getYTracking () const
 
double getZTracking () const
 
const double * getYZTracking () const
 
const double * getXYZTracking () const
 
const double * getYZErrTracking () const
 
const AlignableSensorgetSensor () const
 
uint32_t getVolID () const
 
void setSensor (AlignableSensor *s)
 
int getDetID () const
 
int getSID () const
 
int getMinLocVarID () const
 
int getMaxLocVarID () const
 
int getNMatPar () const
 
bool containsMaterial () const
 
bool containsMeasurement () const
 
bool getNeedUpdateFromTrack () const
 
bool getELossVaried () const
 
bool getUseBzOnly () const
 
bool isInvDir () const
 
bool isStatOK () const
 
void setELossVaried (bool v=true)
 
void setContainsMaterial (bool v=true)
 
void setContainsMeasurement (bool v=true)
 
void setNeedUpdateFromTrack (bool v=true)
 
void setUseBzOnly (bool v=true)
 
void setInvDir (bool v=true)
 
void setStatOK (bool v=true)
 
double getXTimesRho () const
 
double getX2X0 () const
 
void setXTimesRho (double v)
 
void setX2X0 (double v)
 
void setDetID (int id)
 
void setSID (int id)
 
void setMinLocVarID (int id)
 
void setMaxLocVarID (int id)
 
void getResidualsDiag (const double *pos, double &resU, double &resV) const
 
void diagonalizeResiduals (double rY, double rZ, double &resU, double &resV) const
 
void setAlphaSens (double a)
 
void setXSens (double x)
 
void setXYZTracking (const double r[3])
 
void setXYZTracking (double x, double y, double z)
 
void setYZErrTracking (double sy2, double syz, double sz2)
 
void setYZErrTracking (const double *err)
 
double getErrDiag (int i) const
 
double * getTrParamWSA () const
 
double * getTrParamWSB () const
 
double getTrParamWSA (int ip) const
 
double getTrParamWSB (int ip) const
 
void getTrWSA (trackParam_t &etp) const
 
void getTrWSB (trackParam_t &etp) const
 
void setTrParamWSA (const double *param)
 
void setTrParamWSB (const double *param)
 
double getResidY () const
 
double getResidZ () const
 
void setMatCovDiagonalizationMatrix (const TMatrixD &d)
 
void setMatCovDiag (const TVectorD &v)
 
void setMatCovDiagElem (int i, double err2)
 
void unDiagMatCorr (const double *diag, double *nodiag) const
 
void diagMatCorr (const double *nodiag, double *diag) const
 
void unDiagMatCorr (const float *diag, float *nodiag) const
 
void diagMatCorr (const float *nodiag, float *diag) const
 
void setMatCorrExp (double *p)
 
float * getMatCorrExp () const
 
float * getMatCorrCov () const
 
void getXYZGlo (double r[3]) const
 
double getPhiGlo () const
 
int getAliceSector () const
 
int getNGloDOFs () const
 
int getDGloOffs () const
 
void setNGloDOFs (int n)
 
void setDGloOffs (int n)
 
void incrementStat ()
 
virtual void dumpCoordinates () const
 
void print (uint16_t opt=0) const
 
void clear ()
 
bool isAfter (const AlignmentPoint &pnt) const
 

Protected Member Functions

void setBit (BITS b, bool v)
 
bool testBit (BITS b) const
 

Protected Attributes

int mMinLocVarID = -1
 
int mMaxLocVarID = -1
 
DetID mDetID {}
 
int16_t mSID = -1
 
uint16_t mBits = 0
 
float mAlphaSens = 0
 
float mXSens = 0
 
float mCosDiagErr = 0
 
float mSinDiagErr = 0
 
float mErrDiag [2] = {0}
 
double mXYZTracking [3] = {0}
 
double mErrYZTracking [3] = {0}
 
float mX2X0 = 0
 
float mXTimesRho = 0
 
int mNGloDOFs = 0
 
int mDGloOffs = 0
 
float mMatCorrExp [kNMatDOFs] = {}
 
float mMatCorrCov [kNMatDOFs] = {}
 
float mMatDiag [kNMatDOFs][kNMatDOFs] = {}
 
double mTrParamWSA [kNMatDOFs] = {}
 
double mTrParamWSB [kNMatDOFs] = {}
 
AlignableSensormSensor = nullptr
 

Detailed Description

Definition at line 41 of file AlignmentPoint.h.

Member Typedef Documentation

◆ DetID

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kParY 
kParZ 
kParSnp 
kParTgl 
kParQ2Pt 
kNMSPar 
kNELossPar 
kNMatDOFs 

Definition at line 60 of file AlignmentPoint.h.

◆ anonymous enum

anonymous enum
Enumerator
kX 
kY 
kZ 

Definition at line 68 of file AlignmentPoint.h.

◆ BITS

Enumerator
kMaterialBit 
kMeasurementBit 
kUpdateFromTrackBit 
kVaryELossBit 
kUseBzOnly 
kInvDir 
kStatOK 
kOptUMAT 
kOptDiag 
kOptWSA 
kOptWSB 

Definition at line 46 of file AlignmentPoint.h.

Constructor & Destructor Documentation

◆ AlignmentPoint()

o2::align::AlignmentPoint::AlignmentPoint ( )
default

Member Function Documentation

◆ clear()

void o2::align::AlignmentPoint::clear ( )

Definition at line 199 of file AlignmentPoint.cxx.

◆ containsMaterial()

bool o2::align::AlignmentPoint::containsMaterial ( ) const
inline

Definition at line 96 of file AlignmentPoint.h.

◆ containsMeasurement()

bool o2::align::AlignmentPoint::containsMeasurement ( ) const
inline

Definition at line 97 of file AlignmentPoint.h.

◆ diagMatCorr() [1/2]

void o2::align::AlignmentPoint::diagMatCorr ( const double *  nodiag,
double *  diag 
) const

Definition at line 323 of file AlignmentPoint.cxx.

◆ diagMatCorr() [2/2]

void o2::align::AlignmentPoint::diagMatCorr ( const float *  nodiag,
float *  diag 
) const

Definition at line 340 of file AlignmentPoint.cxx.

◆ diagonalizeResiduals()

void o2::align::AlignmentPoint::diagonalizeResiduals ( double  rY,
double  rZ,
double &  resU,
double &  resV 
) const
inline

Definition at line 276 of file AlignmentPoint.h.

◆ dumpCoordinates()

void o2::align::AlignmentPoint::dumpCoordinates ( ) const
virtual

Definition at line 161 of file AlignmentPoint.cxx.

◆ getAliceSector()

int o2::align::AlignmentPoint::getAliceSector ( ) const

Definition at line 260 of file AlignmentPoint.cxx.

◆ getAlphaSens()

double o2::align::AlignmentPoint::getAlphaSens ( ) const
inline

Definition at line 77 of file AlignmentPoint.h.

◆ getDetID()

int o2::align::AlignmentPoint::getDetID ( ) const
inline

Definition at line 90 of file AlignmentPoint.h.

◆ getDGloOffs()

int o2::align::AlignmentPoint::getDGloOffs ( ) const
inline

Definition at line 187 of file AlignmentPoint.h.

◆ getELossVaried()

bool o2::align::AlignmentPoint::getELossVaried ( ) const
inline

Definition at line 99 of file AlignmentPoint.h.

◆ getErrDiag()

double o2::align::AlignmentPoint::getErrDiag ( int  i) const
inline

Definition at line 142 of file AlignmentPoint.h.

◆ getMatCorrCov()

float * o2::align::AlignmentPoint::getMatCorrCov ( ) const
inline

Definition at line 180 of file AlignmentPoint.h.

◆ getMatCorrExp()

float * o2::align::AlignmentPoint::getMatCorrExp ( ) const
inline

Definition at line 179 of file AlignmentPoint.h.

◆ getMaxLocVarID()

int o2::align::AlignmentPoint::getMaxLocVarID ( ) const
inline

Definition at line 93 of file AlignmentPoint.h.

◆ getMinLocVarID()

int o2::align::AlignmentPoint::getMinLocVarID ( ) const
inline

Definition at line 92 of file AlignmentPoint.h.

◆ getNeedUpdateFromTrack()

bool o2::align::AlignmentPoint::getNeedUpdateFromTrack ( ) const
inline

Definition at line 98 of file AlignmentPoint.h.

◆ getNGloDOFs()

int o2::align::AlignmentPoint::getNGloDOFs ( ) const
inline

Definition at line 186 of file AlignmentPoint.h.

◆ getNMatPar()

int o2::align::AlignmentPoint::getNMatPar ( ) const
inline

Definition at line 269 of file AlignmentPoint.h.

◆ getPhiGlo()

double o2::align::AlignmentPoint::getPhiGlo ( ) const

Definition at line 251 of file AlignmentPoint.cxx.

◆ getResidualsDiag()

void o2::align::AlignmentPoint::getResidualsDiag ( const double *  pos,
double &  resU,
double &  resV 
) const
inline

Definition at line 285 of file AlignmentPoint.h.

◆ getResidY()

double o2::align::AlignmentPoint::getResidY ( ) const
inline

Definition at line 162 of file AlignmentPoint.h.

◆ getResidZ()

double o2::align::AlignmentPoint::getResidZ ( ) const
inline

Definition at line 163 of file AlignmentPoint.h.

◆ getSensor()

const AlignableSensor * o2::align::AlignmentPoint::getSensor ( ) const
inline

Definition at line 86 of file AlignmentPoint.h.

◆ getSID()

int o2::align::AlignmentPoint::getSID ( ) const
inline

Definition at line 91 of file AlignmentPoint.h.

◆ getTrParamWSA() [1/2]

double * o2::align::AlignmentPoint::getTrParamWSA ( ) const
inline

Definition at line 144 of file AlignmentPoint.h.

◆ getTrParamWSA() [2/2]

double o2::align::AlignmentPoint::getTrParamWSA ( int  ip) const
inline

Definition at line 146 of file AlignmentPoint.h.

◆ getTrParamWSB() [1/2]

double * o2::align::AlignmentPoint::getTrParamWSB ( ) const
inline

Definition at line 145 of file AlignmentPoint.h.

◆ getTrParamWSB() [2/2]

double o2::align::AlignmentPoint::getTrParamWSB ( int  ip) const
inline

Definition at line 147 of file AlignmentPoint.h.

◆ getTrWSA()

void o2::align::AlignmentPoint::getTrWSA ( trackParam_t etp) const

Definition at line 357 of file AlignmentPoint.cxx.

◆ getTrWSB()

void o2::align::AlignmentPoint::getTrWSB ( trackParam_t etp) const

Definition at line 373 of file AlignmentPoint.cxx.

◆ getUseBzOnly()

bool o2::align::AlignmentPoint::getUseBzOnly ( ) const
inline

Definition at line 100 of file AlignmentPoint.h.

◆ getVolID()

uint32_t o2::align::AlignmentPoint::getVolID ( ) const
inline

Definition at line 87 of file AlignmentPoint.h.

◆ getX2X0()

double o2::align::AlignmentPoint::getX2X0 ( ) const
inline

Definition at line 113 of file AlignmentPoint.h.

◆ getXSens()

double o2::align::AlignmentPoint::getXSens ( ) const
inline

Definition at line 78 of file AlignmentPoint.h.

◆ getXTimesRho()

double o2::align::AlignmentPoint::getXTimesRho ( ) const
inline

Definition at line 112 of file AlignmentPoint.h.

◆ getXTracking()

double o2::align::AlignmentPoint::getXTracking ( ) const
inline

Definition at line 79 of file AlignmentPoint.h.

◆ getXYZGlo()

void o2::align::AlignmentPoint::getXYZGlo ( double  r[3]) const

Definition at line 238 of file AlignmentPoint.cxx.

◆ getXYZTracking()

const double * o2::align::AlignmentPoint::getXYZTracking ( ) const
inline

Definition at line 83 of file AlignmentPoint.h.

◆ getYTracking()

double o2::align::AlignmentPoint::getYTracking ( ) const
inline

Definition at line 80 of file AlignmentPoint.h.

◆ getYZErrTracking()

const double * o2::align::AlignmentPoint::getYZErrTracking ( ) const
inline

Definition at line 84 of file AlignmentPoint.h.

◆ getYZTracking()

const double * o2::align::AlignmentPoint::getYZTracking ( ) const
inline

Definition at line 82 of file AlignmentPoint.h.

◆ getZTracking()

double o2::align::AlignmentPoint::getZTracking ( ) const
inline

Definition at line 81 of file AlignmentPoint.h.

◆ incrementStat()

void o2::align::AlignmentPoint::incrementStat ( )
inline

Definition at line 294 of file AlignmentPoint.h.

◆ init()

void o2::align::AlignmentPoint::init ( )

Definition at line 31 of file AlignmentPoint.cxx.

◆ isAfter()

bool o2::align::AlignmentPoint::isAfter ( const AlignmentPoint pnt) const

Definition at line 213 of file AlignmentPoint.cxx.

◆ isInvDir()

bool o2::align::AlignmentPoint::isInvDir ( ) const
inline

Definition at line 101 of file AlignmentPoint.h.

◆ isStatOK()

bool o2::align::AlignmentPoint::isStatOK ( ) const
inline

Definition at line 102 of file AlignmentPoint.h.

◆ print()

void o2::align::AlignmentPoint::print ( uint16_t  opt = 0) const

Definition at line 82 of file AlignmentPoint.cxx.

◆ setAlphaSens()

void o2::align::AlignmentPoint::setAlphaSens ( double  a)
inline

Definition at line 126 of file AlignmentPoint.h.

◆ setBit()

void o2::align::AlignmentPoint::setBit ( BITS  b,
bool  v 
)
inlineprotected

Definition at line 202 of file AlignmentPoint.h.

◆ setContainsMaterial()

void o2::align::AlignmentPoint::setContainsMaterial ( bool  v = true)
inline

Definition at line 105 of file AlignmentPoint.h.

◆ setContainsMeasurement()

void o2::align::AlignmentPoint::setContainsMeasurement ( bool  v = true)
inline

Definition at line 106 of file AlignmentPoint.h.

◆ setDetID()

void o2::align::AlignmentPoint::setDetID ( int  id)
inline

Definition at line 117 of file AlignmentPoint.h.

◆ setDGloOffs()

void o2::align::AlignmentPoint::setDGloOffs ( int  n)
inline

Definition at line 189 of file AlignmentPoint.h.

◆ setELossVaried()

void o2::align::AlignmentPoint::setELossVaried ( bool  v = true)
inline

Definition at line 104 of file AlignmentPoint.h.

◆ setInvDir()

void o2::align::AlignmentPoint::setInvDir ( bool  v = true)
inline

Definition at line 109 of file AlignmentPoint.h.

◆ setMatCorrExp()

void o2::align::AlignmentPoint::setMatCorrExp ( double *  p)
inline

Definition at line 173 of file AlignmentPoint.h.

◆ setMatCovDiag()

void o2::align::AlignmentPoint::setMatCovDiag ( const TVectorD &  v)

Definition at line 280 of file AlignmentPoint.cxx.

◆ setMatCovDiagElem()

void o2::align::AlignmentPoint::setMatCovDiagElem ( int  i,
double  err2 
)
inline

Definition at line 167 of file AlignmentPoint.h.

◆ setMatCovDiagonalizationMatrix()

void o2::align::AlignmentPoint::setMatCovDiagonalizationMatrix ( const TMatrixD &  d)

Definition at line 267 of file AlignmentPoint.cxx.

◆ setMaxLocVarID()

void o2::align::AlignmentPoint::setMaxLocVarID ( int  id)
inline

Definition at line 121 of file AlignmentPoint.h.

◆ setMinLocVarID()

void o2::align::AlignmentPoint::setMinLocVarID ( int  id)
inline

Definition at line 120 of file AlignmentPoint.h.

◆ setNeedUpdateFromTrack()

void o2::align::AlignmentPoint::setNeedUpdateFromTrack ( bool  v = true)
inline

Definition at line 107 of file AlignmentPoint.h.

◆ setNGloDOFs()

void o2::align::AlignmentPoint::setNGloDOFs ( int  n)
inline

Definition at line 188 of file AlignmentPoint.h.

◆ setSensor()

void o2::align::AlignmentPoint::setSensor ( AlignableSensor s)
inline

Definition at line 88 of file AlignmentPoint.h.

◆ setSID()

void o2::align::AlignmentPoint::setSID ( int  id)
inline

Definition at line 118 of file AlignmentPoint.h.

◆ setStatOK()

void o2::align::AlignmentPoint::setStatOK ( bool  v = true)
inline

Definition at line 110 of file AlignmentPoint.h.

◆ setTrParamWSA()

void o2::align::AlignmentPoint::setTrParamWSA ( const double *  param)
inline

Definition at line 150 of file AlignmentPoint.h.

◆ setTrParamWSB()

void o2::align::AlignmentPoint::setTrParamWSB ( const double *  param)
inline

Definition at line 156 of file AlignmentPoint.h.

◆ setUseBzOnly()

void o2::align::AlignmentPoint::setUseBzOnly ( bool  v = true)
inline

Definition at line 108 of file AlignmentPoint.h.

◆ setX2X0()

void o2::align::AlignmentPoint::setX2X0 ( double  v)
inline

Definition at line 115 of file AlignmentPoint.h.

◆ setXSens()

void o2::align::AlignmentPoint::setXSens ( double  x)
inline

Definition at line 127 of file AlignmentPoint.h.

◆ setXTimesRho()

void o2::align::AlignmentPoint::setXTimesRho ( double  v)
inline

Definition at line 114 of file AlignmentPoint.h.

◆ setXYZTracking() [1/2]

void o2::align::AlignmentPoint::setXYZTracking ( const double  r[3])
inline

Definition at line 128 of file AlignmentPoint.h.

◆ setXYZTracking() [2/2]

void o2::align::AlignmentPoint::setXYZTracking ( double  x,
double  y,
double  z 
)
inline

Definition at line 252 of file AlignmentPoint.h.

◆ setYZErrTracking() [1/2]

void o2::align::AlignmentPoint::setYZErrTracking ( const double *  err)
inline

Definition at line 136 of file AlignmentPoint.h.

◆ setYZErrTracking() [2/2]

void o2::align::AlignmentPoint::setYZErrTracking ( double  sy2,
double  syz,
double  sz2 
)
inline

Definition at line 261 of file AlignmentPoint.h.

◆ testBit()

bool o2::align::AlignmentPoint::testBit ( BITS  b) const
inlineprotected

Definition at line 210 of file AlignmentPoint.h.

◆ unDiagMatCorr() [1/2]

void o2::align::AlignmentPoint::unDiagMatCorr ( const double *  diag,
double *  nodiag 
) const

Definition at line 291 of file AlignmentPoint.cxx.

◆ unDiagMatCorr() [2/2]

void o2::align::AlignmentPoint::unDiagMatCorr ( const float *  diag,
float *  nodiag 
) const

Definition at line 307 of file AlignmentPoint.cxx.

◆ updatePointByTrackInfo()

void o2::align::AlignmentPoint::updatePointByTrackInfo ( const trackParam_t t)

Definition at line 75 of file AlignmentPoint.cxx.

Member Data Documentation

◆ mAlphaSens

float o2::align::AlignmentPoint::mAlphaSens = 0
protected

Definition at line 226 of file AlignmentPoint.h.

◆ mBits

uint16_t o2::align::AlignmentPoint::mBits = 0
protected

Definition at line 225 of file AlignmentPoint.h.

◆ mCosDiagErr

float o2::align::AlignmentPoint::mCosDiagErr = 0
protected

Definition at line 228 of file AlignmentPoint.h.

◆ mDetID

DetID o2::align::AlignmentPoint::mDetID {}
protected

Definition at line 223 of file AlignmentPoint.h.

◆ mDGloOffs

int o2::align::AlignmentPoint::mDGloOffs = 0
protected

Definition at line 238 of file AlignmentPoint.h.

◆ mErrDiag

float o2::align::AlignmentPoint::mErrDiag[2] = {0}
protected

Definition at line 230 of file AlignmentPoint.h.

◆ mErrYZTracking

double o2::align::AlignmentPoint::mErrYZTracking[3] = {0}
protected

Definition at line 232 of file AlignmentPoint.h.

◆ mMatCorrCov

float o2::align::AlignmentPoint::mMatCorrCov[kNMatDOFs] = {}
protected

Definition at line 240 of file AlignmentPoint.h.

◆ mMatCorrExp

float o2::align::AlignmentPoint::mMatCorrExp[kNMatDOFs] = {}
protected

Definition at line 239 of file AlignmentPoint.h.

◆ mMatDiag

float o2::align::AlignmentPoint::mMatDiag[kNMatDOFs][kNMatDOFs] = {}
protected

Definition at line 241 of file AlignmentPoint.h.

◆ mMaxLocVarID

int o2::align::AlignmentPoint::mMaxLocVarID = -1
protected

Definition at line 219 of file AlignmentPoint.h.

◆ mMinLocVarID

int o2::align::AlignmentPoint::mMinLocVarID = -1
protected

Definition at line 217 of file AlignmentPoint.h.

◆ mNGloDOFs

int o2::align::AlignmentPoint::mNGloDOFs = 0
protected

Definition at line 237 of file AlignmentPoint.h.

◆ mSensor

AlignableSensor* o2::align::AlignmentPoint::mSensor = nullptr
protected

Definition at line 246 of file AlignmentPoint.h.

◆ mSID

int16_t o2::align::AlignmentPoint::mSID = -1
protected

Definition at line 224 of file AlignmentPoint.h.

◆ mSinDiagErr

float o2::align::AlignmentPoint::mSinDiagErr = 0
protected

Definition at line 229 of file AlignmentPoint.h.

◆ mTrParamWSA

double o2::align::AlignmentPoint::mTrParamWSA[kNMatDOFs] = {}
protected

Definition at line 243 of file AlignmentPoint.h.

◆ mTrParamWSB

double o2::align::AlignmentPoint::mTrParamWSB[kNMatDOFs] = {}
protected

Definition at line 244 of file AlignmentPoint.h.

◆ mX2X0

float o2::align::AlignmentPoint::mX2X0 = 0
protected

Definition at line 234 of file AlignmentPoint.h.

◆ mXSens

float o2::align::AlignmentPoint::mXSens = 0
protected

Definition at line 227 of file AlignmentPoint.h.

◆ mXTimesRho

float o2::align::AlignmentPoint::mXTimesRho = 0
protected

Definition at line 235 of file AlignmentPoint.h.

◆ mXYZTracking

double o2::align::AlignmentPoint::mXYZTracking[3] = {0}
protected

Definition at line 231 of file AlignmentPoint.h.


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