Belle II Software
release-08-01-10
|
strip noise map More...
#include <SVDStripNoiseMap.h>
Public Member Functions | |
SVDStripNoiseMap (SVDOnlineToOfflineMap *onl2offl_map_ptr=nullptr) | |
Constructor. | |
SVDStripNoiseMap (SVDOnlineToOfflineMap *onl2offl_map_ptr, const std::string &noisefilename) | |
Constructor including map initialization. | |
~SVDStripNoiseMap () | |
Destructor. | |
int | initializeMap (const std::string &noisefilename="") |
Initialize maps with input noisefile. | |
float | getPedestal (VxdID id, bool is_u, short strip) |
Get pedestal, noise, and threshold values. More... | |
float | getNoise (VxdID id, bool is_u, short strip) |
Get pedestal, noise, and threshold values. More... | |
float | getThreshold (VxdID id, bool is_u, short strip) |
Get pedestal, noise, and threshold values. More... | |
bool | isGood (VxdID id, bool is_u, short strip) |
Check whether the strip is available or not. More... | |
Private Attributes | |
SVDOnlineToOfflineMap * | m_onl2offl_map_ptr |
Pointer to SVDOnlineToOfflineMap. More... | |
float | m_pedestalMap [SVDPar::nSensorID][SVDPar::maxStrip] |
Pedestal map for all strips in ladders. | |
float | m_noiseMap [SVDPar::nSensorID][SVDPar::maxStrip] |
noise map for all strips in ladders. | |
float | m_thresholdMap [SVDPar::nSensorID][SVDPar::maxStrip] |
threshold map for all strips in ladders. | |
bool | m_goodStripMap [SVDPar::nSensorID][SVDPar::maxStrip] |
Good strip map. | |
strip noise map
Definition at line 30 of file SVDStripNoiseMap.h.
float getNoise | ( | VxdID | id, |
bool | is_u, | ||
short | strip | ||
) |
Get pedestal, noise, and threshold values.
id | VxdID of the required sensor, with segment number 0 for v, 1 for u |
is_u | true: u-side (p-side), false: v-side (n-side) |
strip | Strip number |
Definition at line 158 of file SVDStripNoiseMap.cc.
float getPedestal | ( | VxdID | id, |
bool | is_u, | ||
short | strip | ||
) |
Get pedestal, noise, and threshold values.
id | VxdID of the required sensor, with segment number 0 for v, 1 for u |
is_u | true: u-side (p-side), false: v-side (n-side) |
strip | Strip number |
Definition at line 141 of file SVDStripNoiseMap.cc.
float getThreshold | ( | VxdID | id, |
bool | is_u, | ||
short | strip | ||
) |
Get pedestal, noise, and threshold values.
id | VxdID of the required sensor, with segment number 0 for v, 1 for u |
is_u | true: u-side (p-side), false: v-side (n-side) |
strip | Strip number |
Definition at line 175 of file SVDStripNoiseMap.cc.
bool isGood | ( | VxdID | id, |
bool | is_u, | ||
short | strip | ||
) |
Check whether the strip is available or not.
id | VxdID of the required sensor, with segment number 0 for v, 1 for u |
is_u | true: u-side (p-side), false: v-side (n-side) |
strip | Strip number |
Definition at line 192 of file SVDStripNoiseMap.cc.
|
private |
Pointer to SVDOnlineToOfflineMap.
This map represents relationship between ADC+APV and Layer+Ladder+Sensor and it is necessary to convert the noise file to pedestal, noise, and threshold maps with initializeMap() function.
Definition at line 86 of file SVDStripNoiseMap.h.