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

#include <RecordsToAlignParams.h>

Inherits o2::mft::Aligner.

Public Member Functions

 RecordsToAlignParams ()
 construtor
 
 ~RecordsToAlignParams () override
 destructor
 
void init () override
 init MilliPede
 
void setWithControl (const bool choice)
 
void setNEntriesAutoSave (const int value)
 
void setWithConstraintsRecReader (const bool choice)
 
void globalFit ()
 perform the simultaneous fit of track (local) and alignement (global) parameters
 
void getAlignParams (std::vector< o2::detectors::AlignParam > &alignParams)
 provide access to the AlignParam vector
 
void getPedeOutParams (std::vector< double > &output)
 provide access to the vector of alignment corrections
 
void getPedeOutParamsErrors (std::vector< double > &output)
 provide access to the vector of errors on the alignement corrections
 
void getPedeOutParamsPulls (std::vector< double > &output)
 provide access to the vector of pulls on the alignement corrections
 
void connectRecordReaderToChain (TChain *ch)
 connect data record reader to input TChain of records
 
void connectConstraintsRecReaderToChain (TChain *ch)
 conect constraints record reader to input TChain of constraints record
 
- Public Member Functions inherited from o2::mft::Aligner
 Aligner ()
 construtor
 
virtual ~Aligner ()
 destructor
 
void setChi2CutNStdDev (const Int_t value)
 
void setResidualCutInitial (const Double_t value)
 
void setResidualCut (const Double_t value)
 
void setAllowedVariationDeltaX (const double value)
 
void setAllowedVariationDeltaY (const double value)
 
void setAllowedVariationDeltaZ (const double value)
 
void setAllowedVariationDeltaRz (const double value)
 
void setChi2CutFactor (const double value)
 
int getNDofPerSensor () const
 return the number of DOF per sensor
 

Protected Member Functions

 ClassDefOverride (RecordsToAlignParams, 0)
 
- Protected Member Functions inherited from o2::mft::Aligner
 ClassDef (Aligner, 0)
 

Protected Attributes

bool mWithControl
 boolean to set the use of the control tree = chi2 per track filled by MillePede LocalFit()
 
long mNEntriesAutoSave = 10000
 number of entries needed to cyclically call AutoSave for the output control tree
 
std::vector< o2::detectors::AlignParammAlignParams
 vector of alignment parameters computed by MillePede simultaneous fit
 
o2::fwdalign::MilleRecordReadermRecordReader
 utility that handles the reading of the data records used to feed MillePede solver
 
bool mWithConstraintsRecReader
 boolean to set to true if one wants to also read constraints records
 
o2::fwdalign::MilleRecordReadermConstraintsRecReader
 utility that handles the reading of the constraints records
 
o2::fwdalign::MillePede2mMillepede
 Millepede2 implementation copied from AliROOT.
 
std::vector< double > mPedeOutParams
 Vector to store the outputs (alignment corrections) of the MillePede simulatenous fit.
 
std::vector< double > mPedeOutParamsErrors
 Vector to store the outputs (errors on the alignement corrections) of the MillePede simulatenous fit.
 
std::vector< double > mPedeOutParamsPulls
 Vector to store the outputs (pulls on the alignement corrections) of the MillePede simulatenous fit.
 
- Protected Attributes inherited from o2::mft::Aligner
std::array< double, mNDofPerSensormAllowVar
 "Encouraged" variation for degrees of freedom {dx, dy, dRz, dz}
 
double mStartFac
 Initial value for chi2 cut, used to reject outliers i.e. bad tracks with sum(chi2) > Chi2DoFLim(fNStdDev, nDoF) * chi2CutFactor (if > 1, iterations in Millepede are turned on)
 
int mChi2CutNStdDev
 Number of standard deviations for chi2 cut.
 
double mResCutInitial
 Cut on residual on first iteration.
 
double mResCut
 Cut on residual for other iterations.
 
TString mMilleRecordsFileName
 output file name when saving the Mille records
 
TString mMilleConstraintsRecFileName
 output file name when saving the records of the constraints
 
bool mIsInitDone = false
 boolean to follow the initialisation status
 
std::vector< intmGlobalParameterStatus
 vector of effective degrees of freedom, used to fix detectors, parameters, etc.
 

Additional Inherited Members

- Static Protected Attributes inherited from o2::mft::Aligner
static constexpr int mNumberOfTrackParam = 4
 Number of track (= local) parameters (X0, Tx, Y0, Ty)
 
static constexpr int mNDofPerSensor = 4
 translation in global x, y, z, and rotation Rz around global z-axis
 
static o2::itsmft::ChipMappingMFT mChipMapping
 MFT chip <-> ladder, layer, disk, half mapping.
 
static constexpr int mNumberOfSensors = mChipMapping.getNChips()
 Total number of sensors (detection elements) in the MFT.
 
static constexpr int mNumberOfGlobalParam = mNDofPerSensor * mNumberOfSensors
 Number of alignment (= global) parameters.
 
static constexpr int mFixedParId = -1
 
static constexpr int mFreeParId = mFixedParId - 1
 

Detailed Description

Definition at line 33 of file RecordsToAlignParams.h.

Constructor & Destructor Documentation

◆ RecordsToAlignParams()

RecordsToAlignParams::RecordsToAlignParams ( )

construtor

Definition at line 27 of file RecordsToAlignParams.cxx.

◆ ~RecordsToAlignParams()

RecordsToAlignParams::~RecordsToAlignParams ( )
override

destructor

Definition at line 51 of file RecordsToAlignParams.cxx.

Member Function Documentation

◆ ClassDefOverride()

o2::mft::RecordsToAlignParams::ClassDefOverride ( RecordsToAlignParams  ,
 
)
protected

◆ connectConstraintsRecReaderToChain()

void RecordsToAlignParams::connectConstraintsRecReaderToChain ( TChain *  ch)

conect constraints record reader to input TChain of constraints record

Definition at line 176 of file RecordsToAlignParams.cxx.

◆ connectRecordReaderToChain()

void RecordsToAlignParams::connectRecordReaderToChain ( TChain *  ch)

connect data record reader to input TChain of records

Definition at line 168 of file RecordsToAlignParams.cxx.

◆ getAlignParams()

void o2::mft::RecordsToAlignParams::getAlignParams ( std::vector< o2::detectors::AlignParam > &  alignParams)
inline

provide access to the AlignParam vector

Definition at line 55 of file RecordsToAlignParams.h.

◆ getPedeOutParams()

void o2::mft::RecordsToAlignParams::getPedeOutParams ( std::vector< double > &  output)
inline

provide access to the vector of alignment corrections

Definition at line 58 of file RecordsToAlignParams.h.

◆ getPedeOutParamsErrors()

void o2::mft::RecordsToAlignParams::getPedeOutParamsErrors ( std::vector< double > &  output)
inline

provide access to the vector of errors on the alignement corrections

Definition at line 61 of file RecordsToAlignParams.h.

◆ getPedeOutParamsPulls()

void o2::mft::RecordsToAlignParams::getPedeOutParamsPulls ( std::vector< double > &  output)
inline

provide access to the vector of pulls on the alignement corrections

Definition at line 64 of file RecordsToAlignParams.h.

◆ globalFit()

void RecordsToAlignParams::globalFit ( )

perform the simultaneous fit of track (local) and alignement (global) parameters

Definition at line 111 of file RecordsToAlignParams.cxx.

◆ init()

void RecordsToAlignParams::init ( )
overridevirtual

init MilliPede

Implements o2::mft::Aligner.

Definition at line 66 of file RecordsToAlignParams.cxx.

◆ setNEntriesAutoSave()

void o2::mft::RecordsToAlignParams::setNEntriesAutoSave ( const int  value)
inline

Definition at line 48 of file RecordsToAlignParams.h.

◆ setWithConstraintsRecReader()

void o2::mft::RecordsToAlignParams::setWithConstraintsRecReader ( const bool  choice)
inline

Definition at line 49 of file RecordsToAlignParams.h.

◆ setWithControl()

void o2::mft::RecordsToAlignParams::setWithControl ( const bool  choice)
inline

Definition at line 47 of file RecordsToAlignParams.h.

Member Data Documentation

◆ mAlignParams

std::vector<o2::detectors::AlignParam> o2::mft::RecordsToAlignParams::mAlignParams
protected

vector of alignment parameters computed by MillePede simultaneous fit

Definition at line 75 of file RecordsToAlignParams.h.

◆ mConstraintsRecReader

o2::fwdalign::MilleRecordReader* o2::mft::RecordsToAlignParams::mConstraintsRecReader
protected

utility that handles the reading of the constraints records

Definition at line 78 of file RecordsToAlignParams.h.

◆ mMillepede

o2::fwdalign::MillePede2* o2::mft::RecordsToAlignParams::mMillepede
protected

Millepede2 implementation copied from AliROOT.

Definition at line 79 of file RecordsToAlignParams.h.

◆ mNEntriesAutoSave

long o2::mft::RecordsToAlignParams::mNEntriesAutoSave = 10000
protected

number of entries needed to cyclically call AutoSave for the output control tree

Definition at line 74 of file RecordsToAlignParams.h.

◆ mPedeOutParams

std::vector<double> o2::mft::RecordsToAlignParams::mPedeOutParams
protected

Vector to store the outputs (alignment corrections) of the MillePede simulatenous fit.

Definition at line 80 of file RecordsToAlignParams.h.

◆ mPedeOutParamsErrors

std::vector<double> o2::mft::RecordsToAlignParams::mPedeOutParamsErrors
protected

Vector to store the outputs (errors on the alignement corrections) of the MillePede simulatenous fit.

Definition at line 81 of file RecordsToAlignParams.h.

◆ mPedeOutParamsPulls

std::vector<double> o2::mft::RecordsToAlignParams::mPedeOutParamsPulls
protected

Vector to store the outputs (pulls on the alignement corrections) of the MillePede simulatenous fit.

Definition at line 82 of file RecordsToAlignParams.h.

◆ mRecordReader

o2::fwdalign::MilleRecordReader* o2::mft::RecordsToAlignParams::mRecordReader
protected

utility that handles the reading of the data records used to feed MillePede solver

Definition at line 76 of file RecordsToAlignParams.h.

◆ mWithConstraintsRecReader

bool o2::mft::RecordsToAlignParams::mWithConstraintsRecReader
protected

boolean to set to true if one wants to also read constraints records

Definition at line 77 of file RecordsToAlignParams.h.

◆ mWithControl

bool o2::mft::RecordsToAlignParams::mWithControl
protected

boolean to set the use of the control tree = chi2 per track filled by MillePede LocalFit()

Definition at line 73 of file RecordsToAlignParams.h.


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