![]() |
Project
|
#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::AlignParam > | mAlignParams |
| vector of alignment parameters computed by MillePede simultaneous fit | |
| o2::fwdalign::MilleRecordReader * | mRecordReader |
| 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::MilleRecordReader * | mConstraintsRecReader |
| utility that handles the reading of the constraints records | |
| o2::fwdalign::MillePede2 * | mMillepede |
| 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, mNDofPerSensor > | mAllowVar |
| "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< int > | mGlobalParameterStatus |
| 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 |
Definition at line 33 of file RecordsToAlignParams.h.
| RecordsToAlignParams::RecordsToAlignParams | ( | ) |
construtor
Definition at line 27 of file RecordsToAlignParams.cxx.
|
override |
destructor
Definition at line 51 of file RecordsToAlignParams.cxx.
|
protected |
| void RecordsToAlignParams::connectConstraintsRecReaderToChain | ( | TChain * | ch | ) |
conect constraints record reader to input TChain of constraints record
Definition at line 176 of file RecordsToAlignParams.cxx.
| void RecordsToAlignParams::connectRecordReaderToChain | ( | TChain * | ch | ) |
connect data record reader to input TChain of records
Definition at line 168 of file RecordsToAlignParams.cxx.
|
inline |
provide access to the AlignParam vector
Definition at line 55 of file RecordsToAlignParams.h.
|
inline |
provide access to the vector of alignment corrections
Definition at line 58 of file RecordsToAlignParams.h.
|
inline |
provide access to the vector of errors on the alignement corrections
Definition at line 61 of file RecordsToAlignParams.h.
|
inline |
provide access to the vector of pulls on the alignement corrections
Definition at line 64 of file RecordsToAlignParams.h.
| void RecordsToAlignParams::globalFit | ( | ) |
perform the simultaneous fit of track (local) and alignement (global) parameters
Definition at line 111 of file RecordsToAlignParams.cxx.
|
overridevirtual |
Definition at line 48 of file RecordsToAlignParams.h.
|
inline |
Definition at line 49 of file RecordsToAlignParams.h.
|
inline |
Definition at line 47 of file RecordsToAlignParams.h.
|
protected |
vector of alignment parameters computed by MillePede simultaneous fit
Definition at line 75 of file RecordsToAlignParams.h.
|
protected |
utility that handles the reading of the constraints records
Definition at line 78 of file RecordsToAlignParams.h.
|
protected |
Millepede2 implementation copied from AliROOT.
Definition at line 79 of file RecordsToAlignParams.h.
|
protected |
number of entries needed to cyclically call AutoSave for the output control tree
Definition at line 74 of file RecordsToAlignParams.h.
|
protected |
Vector to store the outputs (alignment corrections) of the MillePede simulatenous fit.
Definition at line 80 of file RecordsToAlignParams.h.
|
protected |
Vector to store the outputs (errors on the alignement corrections) of the MillePede simulatenous fit.
Definition at line 81 of file RecordsToAlignParams.h.
|
protected |
Vector to store the outputs (pulls on the alignement corrections) of the MillePede simulatenous fit.
Definition at line 82 of file RecordsToAlignParams.h.
|
protected |
utility that handles the reading of the data records used to feed MillePede solver
Definition at line 76 of file RecordsToAlignParams.h.
|
protected |
boolean to set to true if one wants to also read constraints records
Definition at line 77 of file RecordsToAlignParams.h.
|
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.