Belle II Software development
|
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. | |
float | getNoise (VxdID id, bool is_u, short strip) |
Get pedestal, noise, and threshold values. | |
float | getThreshold (VxdID id, bool is_u, short strip) |
Get pedestal, noise, and threshold values. | |
bool | isGood (VxdID id, bool is_u, short strip) |
Check whether the strip is available or not. | |
Private Attributes | |
SVDOnlineToOfflineMap * | m_onl2offl_map_ptr |
Pointer to SVDOnlineToOfflineMap. | |
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.
SVDStripNoiseMap | ( | SVDOnlineToOfflineMap * | onl2offl_map_ptr = nullptr | ) |
Constructor.
Definition at line 18 of file SVDStripNoiseMap.cc.
SVDStripNoiseMap | ( | SVDOnlineToOfflineMap * | onl2offl_map_ptr, |
const std::string & | noisefilename | ||
) |
Constructor including map initialization.
Definition at line 29 of file SVDStripNoiseMap.cc.
|
inline |
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.
int initializeMap | ( | const std::string & | noisefilename = "" | ) |
Initialize maps with input noisefile.
Definition at line 36 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 |
Good strip map.
Definition at line 102 of file SVDStripNoiseMap.h.
|
private |
noise map for all strips in ladders.
Definition at line 94 of file SVDStripNoiseMap.h.
|
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.
|
private |
Pedestal map for all strips in ladders.
Definition at line 90 of file SVDStripNoiseMap.h.
|
private |
threshold map for all strips in ladders.
Definition at line 98 of file SVDStripNoiseMap.h.