Base Class to represent strip-dependent noise map.
More...
#include <NoiseMap.h>
|
| 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...
|
|
Base Class to represent strip-dependent noise map.
Currently there is only sensor and side dependence implemented.
Definition at line 39 of file NoiseMap.h.
◆ getNoise() [1/2]
virtual float getNoise |
( |
const Sample & |
| ) |
const |
|
inlinevirtual |
Return the noise value for a given strip.
- Parameters
-
(not | used) Sample at whose position we want noise level |
- Returns
- noise level for the Sample's strip
Definition at line 84 of file NoiseMap.h.
◆ getNoise() [2/2]
virtual float getNoise |
( |
short |
| ) |
const |
|
inlinevirtual |
Return the noise level for a given strip.
- Parameters
-
(not | used) number of the strip |
- Returns
- noise level
Definition at line 78 of file NoiseMap.h.
◆ getSignificance()
float getSignificance |
( |
const Sample & |
sample | ) |
const |
|
inline |
Return the sigma-significance of a signal, that is, signal divided by noise level.
- Parameters
-
- Returns
- The ratio of maximum strip signal and noise level.
Definition at line 73 of file NoiseMap.h.
◆ operator()() [1/2]
bool operator() |
( |
const Sample & |
sample, |
|
|
float |
significance |
|
) |
| const |
|
inline |
Check whether a signal exceeds a given significance.
- Parameters
-
sample | strip to check |
significance | minimum significance @true if the maximum signal of the strip exceeds the given significance. |
Definition at line 91 of file NoiseMap.h.
◆ operator()() [2/2]
bool operator() |
( |
float |
signal, |
|
|
float |
significance |
|
) |
| const |
|
inline |
Check whether a signal exceeds a given significance using the average noise level.
- Parameters
-
signal | signal to check |
significance | minimum significance |
Definition at line 98 of file NoiseMap.h.
◆ setADU()
void setADU |
( |
double |
eInADU | ) |
|
|
inline |
Set charge per ADC unit.
If signals are in ADC units, the default setting of 1 should be overriden.
- Parameters
-
eInADU | charge in electrons corresponding to 1 ADU. |
Definition at line 52 of file NoiseMap.h.
The documentation for this class was generated from the following file: