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

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

#include <SVDOccupancyCalibrations.h>

Collaboration diagram for SVDOccupancyCalibrations:

Public Types

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

Public Member Functions

 SVDOccupancyCalibrations ()
 Constructor, no input argument is required.
 
float getOccupancy (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This is the method for getting the occupancy, or the deviation from the average, still to be decided. 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("SVDOccupancyCalibrations")
 name of the ccupancy payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 payload of the occupancy
 

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 30 of file SVDOccupancyCalibrations.h.

Member Function Documentation

◆ getOccupancy()

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

This is the method for getting the occupancy, or the deviation from the average, still to be decided.

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 occupancy. it throws std::out_of_range if the strip is unknown

Definition at line 58 of file SVDOccupancyCalibrations.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
payload of the occupancy

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