Belle II Software development
|
This class defines the dbobject and the method to access SVD calibrations from the noise local runs. More...
#include <SVDNoiseCalibrations.h>
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. | |
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. | |
Static Public Attributes | |
static std::string | name = std::string("SVDNoiseCalibrations") |
name of the SVDNoiseCalibrations payload | |
Private Attributes | |
DBObjPtr< t_payload > | m_aDBObjPtr |
the SVDNoiseCalibrations pyaload | |
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.
typedef SVDCalibrationsBase< SVDCalibrationsVector< float > > t_payload |
typedef of the SVDNoiseCalibrations payload of all SVD strips
Definition at line 38 of file SVDNoiseCalibrations.h.
|
inline |
Constructor, no input argument is required.
Definition at line 41 of file SVDNoiseCalibrations.h.
|
inline |
This is the method for getting the noise.
Input:
sensorID | identitiy of the sensor for which the calibration is required |
isU | sensor side, true for p (u) side, false for n (v) side |
strip | strip 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.
|
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:
sensorID | identitiy of the sensor for which the calibration is required |
isU | sensor side, true for p (u) side, false for n (v) side |
strip | strip number |
Output: float corresponding to the strip noise in electrons.
Definition at line 83 of file SVDNoiseCalibrations.h.
|
inline |
|
inline |
returns true if the m_aDBObtPtr is valid in the requested IoV
Definition at line 69 of file SVDNoiseCalibrations.h.
the SVDNoiseCalibrations pyaload
Definition at line 98 of file SVDNoiseCalibrations.h.
|
static |
name of the SVDNoiseCalibrations payload
Definition at line 36 of file SVDNoiseCalibrations.h.