10#include <klm/dbobjects/eklm/EKLMSegmentAlignment.h>
25 std::map<EKLMSegmentNumber, KLMAlignmentData>::iterator it;
29 std::pair<EKLMSegmentNumber, KLMAlignmentData>(segment, *dat));
37 std::map<EKLMSegmentNumber, KLMAlignmentData>::const_iterator it;
45 unsigned short param)
const
48 if (alignmentData ==
nullptr)
50 return alignmentData->getParameter(
63 if (alignmentData ==
nullptr) {
68 std::pair<EKLMSegmentNumber, KLMAlignmentData>(element, newAlignmentData));
70 alignmentData->setParameter(
76std::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.
const KLMAlignmentData * getSegmentAlignment(EKLMSegmentNumber segment) const
Get segment alignment data.
void setSegmentAlignment(EKLMSegmentNumber segment, KLMAlignmentData *dat)
Set segment alignment data.
~EKLMSegmentAlignment()
Destructor.
void setGlobalParam(double value, unsigned short element, unsigned short param)
Set global parameter.
std::map< EKLMSegmentNumber, KLMAlignmentData > m_SegmentAlignment
Segment alignment.
EKLMSegmentAlignment()
Constructor.
ParameterNumbers
Alignment parameter numbers.
void setParameter(enum ParameterNumbers number, float value)
Set parameter by number.
uint16_t EKLMSegmentNumber
EKLM segment number.
Abstract base class for different kinds of events.