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

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

#include <SVDNoiseCalibrations.h>

Collaboration diagram for SVDNoiseCalibrations:

Public Types

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

Public Member Functions

 SVDNoiseCalibrations ()
 Constructor, no input argument is required.
 
float getNoise (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This is the method for getting the noise. More...
 
TString getUniqueID ()
 returns the unique ID of the payload
 
bool isValid ()
 returns true if the m_aDBObtPtr is valid in the requested IoV
 
float getNoiseInElectrons (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This method provides the correct noise conversion into electrons, taking into account that the noise is the result of an ADC output average, so it is not an integer, but a float number. More...
 

Static Public Attributes

static std::string name = std::string("SVDNoiseCalibrations")
 name of the SVDNoiseCalibrations payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 the SVDNoiseCalibrations pyaload
 

Detailed Description

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

It provides the strip noise in ADC units.

Definition at line 34 of file SVDNoiseCalibrations.h.

Member Function Documentation

◆ getNoise()

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

This is the method for getting the noise.

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: integer corresponding to the strip noise in ADC counts. it throws std::out_of_range if the strip is unknown

Definition at line 58 of file SVDNoiseCalibrations.h.

59  {
60  return m_aDBObjPtr->get(sensorID.getLayerNumber(), sensorID.getLadderNumber(),
61  sensorID.getSensorNumber(), m_aDBObjPtr->sideIndex(isU),
62  strip);
63  }
DBObjPtr< t_payload > m_aDBObjPtr
the SVDNoiseCalibrations pyaload

◆ getNoiseInElectrons()

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

This method provides the correct noise conversion into electrons, taking into account that the noise is the result of an ADC output average, so it is not an integer, but a float number.

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 noise in electrons.

Definition at line 83 of file SVDNoiseCalibrations.h.


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