10#include <klm/dbobjects/bklm/BKLMAlignment.h>
25 std::map<KLMModuleNumber, KLMAlignmentData>::iterator it;
29 std::pair<KLMModuleNumber, KLMAlignmentData>(module, *dat));
38 std::map<KLMModuleNumber, KLMAlignmentData>::const_iterator it;
46 unsigned short param)
const
49 if (alignmentData ==
nullptr)
51 return alignmentData->getParameter(
64 if (alignmentData ==
nullptr) {
69 std::pair<KLMModuleNumber, KLMAlignmentData>(element, newAlignmentData));
71 alignmentData->setParameter(
77std::vector< std::pair<unsigned short, unsigned short> >
std::vector< std::pair< unsigned short, unsigned short > > listGlobalParams()
Get a list of stored global parameters.
double getGlobalParam(unsigned short element, unsigned short param) const
Get global parameter.
void setModuleAlignment(KLMModuleNumber module, KLMAlignmentData *dat)
Set module alignment data.
std::map< KLMModuleNumber, KLMAlignmentData > m_ModuleAlignment
Module alignment.
const KLMAlignmentData * getModuleAlignment(KLMModuleNumber module) const
Get module alignment data.
BKLMAlignment()
Constructor.
void setGlobalParam(double value, unsigned short element, unsigned short param)
Set global parameter.
~BKLMAlignment()
Destructor.
ParameterNumbers
Alignment parameter numbers.
void setParameter(enum ParameterNumbers number, float value)
Set parameter by number.
uint16_t KLMModuleNumber
Module number.
Abstract base class for different kinds of events.