Belle II Software development
|
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. | |
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. | |
virtual float | getNoise (short) const |
Return the noise level for a given strip. | |
virtual float | getNoise (const Sample &sample) const |
Return the noise value for a given strip. | |
bool | operator() (const Sample &sample, float significance) const |
Check whether a signal exceeds a given significance. | |
bool | operator() (float signal, float significance) const |
Check whether a signal exceeds a given significance using the average noise level. | |
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.
|
inline |
Constructor
Definition at line 32 of file NoiseMap.h.
|
inlinevirtual |
|
inlinevirtual |
Return the noise value for a given strip.
sample | Sample at whose position we want noise level (Sample not used) |
Definition at line 73 of file NoiseMap.h.
|
inlinevirtual |
Return the noise level for a given strip.
Definition at line 67 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 |
Definition at line 80 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 87 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.
|
inline |
|
inlinevirtual |
Set the sensorID currently used.
Definition at line 48 of file NoiseMap.h.
|
protected |
Charge corresponding to 1 ADU.
Definition at line 91 of file NoiseMap.h.
|
protected |
Side of current sensor.
Definition at line 95 of file NoiseMap.h.
|
protected |
Noise level in strips.
Definition at line 97 of file NoiseMap.h.
|
protected |
VxdID of the current sensor.
Definition at line 93 of file NoiseMap.h.