Belle II Software  release-08-01-10
SVDCoGOnlyErrorScaleFactors Class Reference

This class defines the dbobject and the methods to access the scaling factors for the CoGOnly position algorithm. More...

#include <SVDCoGOnlyErrorScaleFactors.h>

Collaboration diagram for SVDCoGOnlyErrorScaleFactors:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDPosErrScaleFactors > > t_payload
 typedef for the of SVDPosErrScaleFactors payload of all SVD sensors
 

Public Member Functions

 SVDCoGOnlyErrorScaleFactors ()
 Constructor, no input argument is required.
 
double getCorrectedClusterPositionError (const Belle2::VxdID &sensorID, const bool &isU, const int &size, const double &raw_error) const
 Return the corrected cluster position error. More...
 
TString getUniqueID ()
 returns the unique ID of the payload
 
bool isValid ()
 returns true if the m_aDBObtPtr is valid in the requested IoV
 

Static Public Attributes

static std::string name = std::string("SVDCoGOnlyErrorScaleFactors")
 name of SVDPosErrScaleFactors payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDPosErrScaleFactors payload.
 

Detailed Description

This class defines the dbobject and the methods to access the scaling factors for the CoGOnly position algorithm.

Definition at line 29 of file SVDCoGOnlyErrorScaleFactors.h.

Member Function Documentation

◆ getCorrectedClusterPositionError()

double getCorrectedClusterPositionError ( const Belle2::VxdID sensorID,
const bool &  isU,
const int &  size,
const double &  raw_error 
) const
inline

Return the corrected cluster position error.

Input:

Parameters
sensorIDidentity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripNOT USED
sizecluster size
raw_error: error provided by the algorithm in the SVDClusterizer

Output: double corresponding to the corrected cluster position error [cm]

Definition at line 54 of file SVDCoGOnlyErrorScaleFactors.h.

59  {
60  return m_aDBObjPtr->getReference(sensorID.getLayerNumber(),
61  sensorID.getLadderNumber(),
62  sensorID.getSensorNumber(),
63  m_aDBObjPtr->sideIndex(isU),
64  0).getCorrectedValue(raw_error, size);
65 
66  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDPosErrScaleFactors payload.
baseType getSensorNumber() const
Get the sensor id.
Definition: VxdID.h:100
baseType getLadderNumber() const
Get the ladder id.
Definition: VxdID.h:98
baseType getLayerNumber() const
Get the layer id.
Definition: VxdID.h:96

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