Belle II Software development
SVDPosErrScaleFactors Struct Referencefinal

contains the scaling factors for the cluster position error More...

#include <SVDPosErrScaleFactors.h>

Public Member Functions

float getCorrectedValue (float raw_error, int size) const
 returns the corrected cluster position error
 
 ClassDef (SVDPosErrScaleFactors, 2)
 needed by root
 

Public Attributes

float scaleError_clSize1 = 1
 position error scale factor for cluster size = 1
 
float scaleError_clSize2 = 1
 position error scale factor for cluster size = 2
 
float scaleError_clSize3 = 1
 position error scale factor for cluster size = 3
 
float scaleError_clSize4 = 1
 position error scale factor for cluster size = 4
 
float scaleError_clSize5 = 1
 position error scale factor for cluster size > 4
 

Detailed Description

contains the scaling factors for the cluster position error

Definition at line 18 of file SVDPosErrScaleFactors.h.

Member Function Documentation

◆ getCorrectedValue()

float getCorrectedValue ( float  raw_error,
int  size 
) const
inline

returns the corrected cluster position error

Definition at line 41 of file SVDPosErrScaleFactors.h.

42 {
43
44 if (size == 1)
45 return raw_error * scaleError_clSize1;
46
47 if (size == 2)
48 return raw_error * scaleError_clSize2;
49
50 if (size == 3)
51 return raw_error * scaleError_clSize3;
52
53 if (size == 4)
54 return raw_error * scaleError_clSize4;
55
56 return raw_error * scaleError_clSize5;
57 }
float scaleError_clSize2
position error scale factor for cluster size = 2
float scaleError_clSize1
position error scale factor for cluster size = 1
float scaleError_clSize5
position error scale factor for cluster size > 4
float scaleError_clSize4
position error scale factor for cluster size = 4
float scaleError_clSize3
position error scale factor for cluster size = 3

Member Data Documentation

◆ scaleError_clSize1

float scaleError_clSize1 = 1

position error scale factor for cluster size = 1

Definition at line 22 of file SVDPosErrScaleFactors.h.

◆ scaleError_clSize2

float scaleError_clSize2 = 1

position error scale factor for cluster size = 2

Definition at line 26 of file SVDPosErrScaleFactors.h.

◆ scaleError_clSize3

float scaleError_clSize3 = 1

position error scale factor for cluster size = 3

Definition at line 30 of file SVDPosErrScaleFactors.h.

◆ scaleError_clSize4

float scaleError_clSize4 = 1

position error scale factor for cluster size = 4

Definition at line 34 of file SVDPosErrScaleFactors.h.

◆ scaleError_clSize5

float scaleError_clSize5 = 1

position error scale factor for cluster size > 4

Definition at line 38 of file SVDPosErrScaleFactors.h.


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