12#include <svd/dbobjects/SVDCalibrationsBase.h>
37 return svdVector.at(strip);
43 return svdVector.at(strip);
50 svdVector.at(strip) = value;
55 unsigned int ,
unsigned int ,
56 unsigned int side,
const T& defaultT)
58 unsigned int numberOfStrips = 0;
69 numberOfStrips = layer == 3 ? 768 : 512;
72 svdVector.resize(numberOfStrips, defaultT);
base class for calibrations classes
template class for vector (one per strip) calibrations
std::vector< calibrationType > payloadContainerType
typedef of the payload container, one per strip
static calibrationType get(const payloadContainerType &svdVector, unsigned int strip)
get the calibration of the strip
static const calibrationType & getReference(const payloadContainerType &svdVector, unsigned int strip)
get a reference to the calibration of the strip
static void set(payloadContainerType &svdVector, unsigned int strip, calibrationType value)
set the calibration of the strip
~SVDCalibrationsVector()
default destructor
static void init(payloadContainerType &svdVector, unsigned int layer, unsigned int, unsigned int, unsigned int side, const T &defaultT)
initialize the calibration vector
T calibrationType
typedef of the calibration type class
SVDCalibrationsVector()
default constructor
Abstract base class for different kinds of events.