Belle II Software development
|
data structure More...
Public Member Functions | |
void | add (const AlignData &data) |
Merge another data structure to this one. | |
void | finalize (double scaleFact) |
Calculate weighted averages and rescale errors. | |
Public Attributes | |
int | iter = 0 |
iteration counter | |
int | ntrk = 0 |
number of tracks used | |
std::vector< float > | alignPars |
alignment parameters | |
std::vector< float > | alignErrs |
uncertainties on alignment parameters | |
bool | valid = false |
true if alignment parameters are valid | |
data structure
Definition at line 52 of file TOPAlignmentAlgorithm.h.
void add | ( | const AlignData & | data | ) |
Merge another data structure to this one.
Implements weighted average (least square fit) of alignment parameters. Function finalize() must be called after all data structures are added.
Definition at line 342 of file TOPAlignmentAlgorithm.cc.
void finalize | ( | double | scaleFact | ) |
Calculate weighted averages and rescale errors.
scaleFact | scale factor for errors |
Definition at line 364 of file TOPAlignmentAlgorithm.cc.
std::vector<float> alignErrs |
uncertainties on alignment parameters
Definition at line 56 of file TOPAlignmentAlgorithm.h.
std::vector<float> alignPars |
alignment parameters
Definition at line 55 of file TOPAlignmentAlgorithm.h.
int iter = 0 |
iteration counter
Definition at line 53 of file TOPAlignmentAlgorithm.h.
int ntrk = 0 |
number of tracks used
Definition at line 54 of file TOPAlignmentAlgorithm.h.
bool valid = false |
true if alignment parameters are valid
Definition at line 57 of file TOPAlignmentAlgorithm.h.