Belle II Software development
SVDCalibrationsScalar< T > Class Template Reference

template class for scalar (one per side) calibrations More...

#include <SVDCalibrationsScalar.h>

Public Types

typedef T calibrationType
 typedef of the calibration type class
 
typedef calibrationType payloadContainerType
 typedef of the payload container, one per side
 

Public Member Functions

 ~SVDCalibrationsScalar ()
 default destructor
 

Static Public Member Functions

static calibrationType get (const payloadContainerType &svdScalar, unsigned int)
 get the calibration of the side
 
static const calibrationTypegetReference (const payloadContainerType &svdScalar, unsigned int)
 get a reference to the calibration of the side
 
static void set (payloadContainerType &svdScalar, unsigned int, const calibrationType &value)
 set the calibration of the side
 
static void init (payloadContainerType &svdScalar, unsigned int, unsigned int, unsigned int, unsigned int, const T &defaultT)
 initialize the calibration scalar
 

Detailed Description

template<class T>
class Belle2::SVDCalibrationsScalar< T >

template class for scalar (one per side) calibrations

Definition at line 19 of file SVDCalibrationsScalar.h.

Member Typedef Documentation

◆ calibrationType

typedef T calibrationType

typedef of the calibration type class

Definition at line 22 of file SVDCalibrationsScalar.h.

◆ payloadContainerType

typedef of the payload container, one per side

Definition at line 23 of file SVDCalibrationsScalar.h.

Constructor & Destructor Documentation

◆ SVDCalibrationsScalar()

Definition at line 28 of file SVDCalibrationsScalar.h.

28{};

◆ ~SVDCalibrationsScalar()

~SVDCalibrationsScalar ( )
inline

default destructor

Definition at line 31 of file SVDCalibrationsScalar.h.

31{};

Member Function Documentation

◆ get()

static calibrationType get ( const payloadContainerType svdScalar,
unsigned int   
)
inlinestatic

get the calibration of the side

Definition at line 34 of file SVDCalibrationsScalar.h.

35 {
36 return svdScalar;
37 }

◆ getReference()

static const calibrationType & getReference ( const payloadContainerType svdScalar,
unsigned int   
)
inlinestatic

get a reference to the calibration of the side

Definition at line 40 of file SVDCalibrationsScalar.h.

41 {
42 return svdScalar;
43 }

◆ init()

static void init ( payloadContainerType svdScalar,
unsigned int  ,
unsigned int  ,
unsigned int  ,
unsigned int  ,
const T &  defaultT 
)
inlinestatic

initialize the calibration scalar

Definition at line 53 of file SVDCalibrationsScalar.h.

56 {
57 svdScalar = defaultT;
58 }

◆ set()

static void set ( payloadContainerType svdScalar,
unsigned int  ,
const calibrationType value 
)
inlinestatic

set the calibration of the side

Definition at line 46 of file SVDCalibrationsScalar.h.

48 {
49 svdScalar = value;
50 }

The documentation for this class was generated from the following file: