![]() |
Project
|
#include <EMCALChannelScaleFactors.h>
Public Member Functions | |
| void | insertVal (unsigned int cellID, float E_min, float E_max, float scale) |
| float | getScaleVal (unsigned int cellID, float E) const |
Definition at line 130 of file EMCALChannelScaleFactors.h.
Get the scale factor for a given cell and energy
| cell | The cell number |
| E | The energy |
| CalibContainerIndexException | in case the cell ID exceeds the range of cells in EMCAL |
| InvalidEnergyIntervalException | in case no energy interval is found for the requested energy value and cell ID |
Definition at line 29 of file EMCALChannelScaleFactors.cxx.
| void EMCALChannelScaleFactors::insertVal | ( | unsigned int | cellID, |
| float | E_min, | ||
| float | E_max, | ||
| float | scale | ||
| ) |
Insert value into the map
| cell | The cell number |
| E_min | Minimum energy of the interval |
| E_max | Maximum energy of the interval |
| scale | Scale factor for number of hits in bad channel calibration |
| CalibContainerIndexException | in case the cell ID exceeds the range of cells in EMCAL |
Definition at line 20 of file EMCALChannelScaleFactors.cxx.