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

This class defines the dbobject and the method to access SVD calibrations from the noise local runs. More...

#include <SVDPedestalCalibrations.h>

Collaboration diagram for SVDPedestalCalibrations:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload
 typedef of the SVDPedestalCalibrations payload of all SVD strips
 

Public Member Functions

 SVDPedestalCalibrations ()
 Constructor, no input argument is required.
 
float getPedestal (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This is the method for getting the pedestal. 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("SVDPedestalCalibrations")
 name of the SVDPedestalCalibrations payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDPedestalCalibrations payload.
 

Detailed Description

This class defines the dbobject and the method to access SVD calibrations from the noise local runs.

It provides the strip pedestal in ADC units.

Definition at line 30 of file SVDPedestalCalibrations.h.

Member Function Documentation

◆ getPedestal()

float getPedestal ( const VxdID sensorID,
const bool &  isU,
const unsigned short &  strip 
) const
inline

This is the method for getting the pedestal.

Input:

Parameters
sensorIDidentitiy of the sensor for which the calibration is required
isUsensor side, true for p (u) side, false for n (v) side
stripstrip number

Output: float corresponding to the strip pedestal in ADC counts. it throws std::out_of_range if the strip is unknown

Definition at line 54 of file SVDPedestalCalibrations.h.

55  {
56  return m_aDBObjPtr->get(sensorID.getLayerNumber(), sensorID.getLadderNumber(),
57  sensorID.getSensorNumber(), m_aDBObjPtr->sideIndex(isU),
58  strip);
59  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDPedestalCalibrations payload.

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