Belle II Software
release-08-01-10
|
Base Class to represent strip-dependent noise map. More...
#include <NoiseMap.h>
Public Member Functions | |
NoiseMap () | |
Constructor | |
virtual | ~NoiseMap () |
Destructor. | |
void | setADU (double eInADU) |
Set charge per ADC unit. More... | |
void | setNoiseLevel (float noise) |
Override the noise level. | |
virtual void | setSensorID (VxdID sensorID, bool side) |
Set the sensorID currently used. | |
float | getSignificance (const Sample &sample) const |
Return the sigma-significance of a signal, that is, signal divided by noise level. More... | |
virtual float | getNoise (short) const |
Return the noise level for a given strip. More... | |
virtual float | getNoise (const Sample &) const |
Return the noise value for a given strip. More... | |
bool | operator() (const Sample &sample, float significance) const |
Check whether a signal exceeds a given significance. More... | |
bool | operator() (float signal, float significance) const |
Check whether a signal exceeds a given significance using the average noise level. More... | |
Protected Attributes | |
double | m_eInADU |
Charge corresponding to 1 ADU. | |
VxdID | m_sensorID |
VxdID of the current sensor. | |
bool | m_isU |
Side of current sensor. | |
float | m_noiseLevel |
Noise level in strips. | |
Base Class to represent strip-dependent noise map.
Currently there is only sensor and side dependence implemented.
Definition at line 29 of file NoiseMap.h.
|
inlinevirtual |
Return the noise value for a given strip.
(not | used) Sample at whose position we want noise level |
Definition at line 74 of file NoiseMap.h.
|
inlinevirtual |
Return the noise level for a given strip.
(not | used) number of the strip |
Definition at line 68 of file NoiseMap.h.
|
inline |
Return the sigma-significance of a signal, that is, signal divided by noise level.
sample | Sample of a strip. |
Definition at line 63 of file NoiseMap.h.
|
inline |
Check whether a signal exceeds a given significance.
sample | strip to check |
significance | minimum significance @true if the maximum signal of the strip exceeds the given significance. |
Definition at line 81 of file NoiseMap.h.
|
inline |
Check whether a signal exceeds a given significance using the average noise level.
signal | signal to check |
significance | minimum significance |
Definition at line 88 of file NoiseMap.h.
|
inline |
Set charge per ADC unit.
If signals are in ADC units, the default setting of 1 should be overriden.
eInADU | charge in electrons corresponding to 1 ADU. |
Definition at line 42 of file NoiseMap.h.