template class for vector (one per strip) calibrations
More...
#include <SVDCalibrationsVector.h>
template<class T>
class Belle2::SVDCalibrationsVector< T >
template class for vector (one per strip) calibrations
Definition at line 22 of file SVDCalibrationsVector.h.
◆ calibrationType
◆ payloadContainerType
◆ SVDCalibrationsVector()
◆ ~SVDCalibrationsVector()
◆ get()
get the calibration of the strip
Definition at line 35 of file SVDCalibrationsVector.h.
36 {
37 return svdVector.at(strip);
38 }
◆ getReference()
get a reference to the calibration of the strip
Definition at line 41 of file SVDCalibrationsVector.h.
42 {
43 return svdVector.at(strip);
44 }
◆ init()
template<class T>
static void init |
( |
payloadContainerType & | svdVector, |
|
|
unsigned int | layer, |
|
|
unsigned int | , |
|
|
unsigned int | , |
|
|
unsigned int | side, |
|
|
const T & | defaultT ) |
|
inlinestatic |
initialize the calibration vector
Definition at line 54 of file SVDCalibrationsVector.h.
57 {
58 unsigned int numberOfStrips = 0;
59
60 if (layer < 3)
61 return;
62
63 switch (side) {
64 case SVDCalibrationsBase< SVDCalibrationsVector >::Uindex :
65 numberOfStrips = 768;
66 break;
67
68 case SVDCalibrationsBase< SVDCalibrationsVector >::Vindex :
69 numberOfStrips = layer == 3 ? 768 : 512;
70 }
71
72 svdVector.resize(numberOfStrips, defaultT);
73
74
75 }
◆ set()
set the calibration of the strip
Definition at line 47 of file SVDCalibrationsVector.h.
49 {
50 svdVector.at(strip) = value;
51 }
The documentation for this class was generated from the following file: