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

This class defines the dbobject and the method to access strips which are masked at FADC level. More...

#include <SVDFADCMaskedStrips.h>

Collaboration diagram for SVDFADCMaskedStrips:

Public Types

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

Public Member Functions

 SVDFADCMaskedStrips ()
 Constructor, no input argument is required.
 
float isMasked (const VxdID &sensorID, const bool &isU, const unsigned short &strip) const
 This is the method for getting the comprehensive list of masked strips at FADC level. 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("SVDFADCMaskedStrips")
 name of the SVDFADCMaskedStrips payload
 

Private Attributes

DBObjPtr< t_payloadm_aDBObjPtr
 SVDFADCMaskedStrips payload.
 

Detailed Description

This class defines the dbobject and the method to access strips which are masked at FADC level.

Definition at line 32 of file SVDFADCMaskedStrips.h.

Member Function Documentation

◆ isMasked()

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

This is the method for getting the comprehensive list of masked strips at FADC level.

The list includes both strips masked accordingly to the calibration results and strips permanently masked regardless the outcome of the calibration runs. Input:

Parameters
sensorIDidentity 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 masked, 0 otherwise. it throws std::out_of_range if the strip is unknown

Definition at line 59 of file SVDFADCMaskedStrips.h.

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

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