Belle II Software development
|
Class to store EKLM alignment data in the database. More...
#include <EKLMSegmentAlignment.h>
Public Member Functions | |
EKLMSegmentAlignment () | |
Constructor. | |
~EKLMSegmentAlignment () | |
Destructor. | |
void | setSegmentAlignment (EKLMSegmentNumber segment, KLMAlignmentData *dat) |
Set segment alignment data. | |
const KLMAlignmentData * | getSegmentAlignment (EKLMSegmentNumber segment) const |
Get segment alignment data. | |
double | getGlobalParam (unsigned short element, unsigned short param) const |
Get global parameter. | |
void | setGlobalParam (double value, unsigned short element, unsigned short param) |
Set global parameter. | |
std::vector< std::pair< unsigned short, unsigned short > > | listGlobalParams () |
Get a list of stored global parameters. | |
Static Public Member Functions | |
static unsigned short | getGlobalUniqueID () |
Get global unique identifier. | |
Private Member Functions | |
ClassDef (Belle2::EKLMSegmentAlignment, 1) | |
Class version. | |
Private Attributes | |
std::map< EKLMSegmentNumber, KLMAlignmentData > | m_SegmentAlignment |
Segment alignment. | |
Class to store EKLM alignment data in the database.
Definition at line 30 of file EKLMSegmentAlignment.h.
~EKLMSegmentAlignment | ( | ) |
double getGlobalParam | ( | unsigned short | element, |
unsigned short | param | ||
) | const |
Get global parameter.
[in] | element | Element number (EKLM segment number). |
[in] | param | Parameter number. |
Definition at line 44 of file EKLMSegmentAlignment.cc.
|
inlinestatic |
Get global unique identifier.
Definition at line 63 of file EKLMSegmentAlignment.h.
const KLMAlignmentData * getSegmentAlignment | ( | EKLMSegmentNumber | segment | ) | const |
Get segment alignment data.
[in] | segment | Segment number. |
Definition at line 34 of file EKLMSegmentAlignment.cc.
std::vector< std::pair< unsigned short, unsigned short > > listGlobalParams | ( | ) |
Get a list of stored global parameters.
Definition at line 77 of file EKLMSegmentAlignment.cc.
void setGlobalParam | ( | double | value, |
unsigned short | element, | ||
unsigned short | param | ||
) |
Set global parameter.
[in] | value | Parameter value. |
[in] | element | Element number (EKLM segment number). |
[in] | param | Parameter number. |
Definition at line 54 of file EKLMSegmentAlignment.cc.
void setSegmentAlignment | ( | EKLMSegmentNumber | segment, |
KLMAlignmentData * | dat | ||
) |
Set segment alignment data.
[in] | segment | Segment number. |
[in] | dat | Alignment data. |
Definition at line 22 of file EKLMSegmentAlignment.cc.
|
private |
Segment alignment.
Definition at line 93 of file EKLMSegmentAlignment.h.