![]() |
Project
|
#include <Pedestals.h>
Public Member Functions | |
Pedestals ()=default | |
Constructor. | |
Pedestals (int test) | |
Constructor for tests. | |
Pedestals & | operator= (const Pedestals &other)=default |
~Pedestals ()=default | |
Destructor. | |
short | getHGPedestal (short cellID) const |
Get pedestal. | |
void | setHGPedestal (short cellID, short c) |
Set pedestal. | |
short | getLGPedestal (short cellID) const |
Get pedestal. | |
void | setLGPedestal (short cellID, short c) |
Set pedestal. | |
bool | setHGPedestals (TH1 *h) |
Set pedestals from 1D histogram with cell absId in x axis. | |
bool | setLGPedestals (TH1 *h) |
Set pedestals from 1D histogram with cell absId in x axis. | |
float | getHGRMS (short cellID) const |
Get pedestal RMS. | |
void | setHGRMS (short cellID, float c) |
Set pedestal RMS. | |
float | getLGRMS (short cellID) const |
Get pedestal. | |
void | setLGRMS (short cellID, float c) |
Set LG pedestal RMS. | |
Definition at line 33 of file Pedestals.h.
|
default |
Constructor.
Pedestals::Pedestals | ( | int | test | ) |
Constructor for tests.
Definition at line 18 of file Pedestals.cxx.
|
default |
Destructor.
Get pedestal.
cellID | Absolute ID of cell |
Definition at line 60 of file Pedestals.h.
|
inline |
Get pedestal RMS.
cellID | Absolute ID of cell |
Definition at line 90 of file Pedestals.h.
Get pedestal.
cellID | Absolute ID of cell |
Definition at line 70 of file Pedestals.h.
|
inline |
Get pedestal.
cellID | Absolute ID of cell |
Definition at line 100 of file Pedestals.h.
Set pedestal.
cellID | Absolute ID of cell |
c | is the pedestal (expected to be in range <254) |
Definition at line 65 of file Pedestals.h.
bool Pedestals::setHGPedestals | ( | TH1 * | h | ) |
Set pedestals from 1D histogram with cell absId in x axis.
1D(NCHANNELS) | histogram with calibration coefficients |
Definition at line 25 of file Pedestals.cxx.
Set pedestal RMS.
cellID | Absolute ID of cell |
c | is the pedestal RMS (expected to be in range 0..5, larger values=bad channel=overflow) |
Definition at line 95 of file Pedestals.h.
Set pedestal.
cellID | Absolute ID of cell |
c | is the pedestal (expected to be in range <254) |
Definition at line 75 of file Pedestals.h.
bool Pedestals::setLGPedestals | ( | TH1 * | h | ) |
Set pedestals from 1D histogram with cell absId in x axis.
1D(NCHANNELS) | histogram with calibration coefficients |
Definition at line 47 of file Pedestals.cxx.
Set LG pedestal RMS.
cellID | Absolute ID of cell |
c | is the pedestal RMS (expected to be in range 0..5, larger values=bad channel=overflow) |
Definition at line 105 of file Pedestals.h.