Belle II Software
release-08-01-10
|
data structure More...
Public Member Functions | |
void | add (const AlignData &data) |
Merge another data structure to this one. More... | |
void | finalize (double scaleFact) |
Calculate weighted averages and rescale errors. More... | |
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.