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

This class defines the wrapper to retrieve the the list of the hot strips flgged offline. More...

#include <SVDHotStripsCalibrations.h>

Collaboration diagram for SVDHotStripsCalibrations:

Public Types

typedef SVDCalibrationsBase< SVDCalibrationsBitmapt_payload
 typedef of the SVDHotStripsCalibrations payload for all SVD strips
 

Public Member Functions

 SVDHotStripsCalibrations ()
 Constructor, no input argument is required.
 
float isHot (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This is the method for getting the offline list of bad strips to be masked. 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("SVDHotStripsCalibrations")
 name of the SVDHotStripsCalibrations payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDHotStripsCalibrations payload.
 

Detailed Description

This class defines the wrapper to retrieve the the list of the hot strips flgged offline.

Definition at line 32 of file SVDHotStripsCalibrations.h.

Member Function Documentation

◆ isHot()

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

This is the method for getting the offline list of bad strips to be masked.

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: boolean value, 1 is the strip has to be masked, 0 otherwise. it throws std::out_of_range if the strip is unknown

Definition at line 57 of file SVDHotStripsCalibrations.h.

58  {
59  return m_aDBObjPtr->get(sensorID.getLayerNumber(), sensorID.getLadderNumber(),
60  sensorID.getSensorNumber(), m_aDBObjPtr->sideIndex(isU),
61  strip);
62  }
DBObjPtr< t_payload > m_aDBObjPtr
SVDHotStripsCalibrations payload.

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