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

This class defines the dbobject and the methods to access the SVD position error parameters and provide the position error for the CoGOnly algorithm. More...

#include <SVDCoGOnlyPositionError.h>

Collaboration diagram for SVDCoGOnlyPositionError:

Public Types

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

Public Member Functions

 SVDCoGOnlyPositionError ()
 Constructor, no input argument is required.
 
double getPositionError (const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &clSNR, const int &clSize, const float &pitch) const
 Return the 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("SVDCoGOnlyPositionError")
 name of the SVDPositionErrorFunction payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDPositionErrorFunction payload.
 

Detailed Description

This class defines the dbobject and the methods to access the SVD position error parameters and provide the position error for the CoGOnly algorithm.

Definition at line 29 of file SVDCoGOnlyPositionError.h.

Member Function Documentation

◆ getPositionError()

double getPositionError ( const Belle2::VxdID sensorID,
const bool &  isU,
const unsigned short &  strip,
const double &  clSNR,
const int &  clSize,
const float &  pitch 
) const
inline

Return the position error.

Input:

Parameters
sensorIDidentity of the sensor for which the calibration is required
isUsensor side, true for p side, false for n side
stripstrip number - NOT USED
clSNRcluster SNR
clSizecluster size
pitchsensor pitch

Output: double corresponding to the position error

Definition at line 55 of file SVDCoGOnlyPositionError.h.

62  {
63  return pitch * m_aDBObjPtr->getReference(sensorID.getLayerNumber(),
64  sensorID.getLadderNumber(),
65  sensorID.getSensorNumber(),
66  m_aDBObjPtr->sideIndex(isU),
67  strip).getPositionError(clSNR, clSize);
68 
69  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDPositionErrorFunction 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: