![]() |
Project
|
#include <Pedestals.h>
Public Member Functions | |
Pedestals ()=default | |
Constructor. | |
Pedestals (int test) | |
Constructor for tests. | |
~Pedestals ()=default | |
Destructor. | |
short | getPedestal (short cellID) const |
Get pedestal. | |
float | getPedSigma (short cellID) const |
void | setPedestal (short cellID, short c) |
Set pedestal. | |
void | setPedSigma (short cellID, float c) |
bool | setPedestals (TH1 *h) |
Set pedestals from 1D histogram with cell absId in x axis. | |
bool | setPedSigmas (TH1F *h) |
Definition at line 34 of file Pedestals.h.
|
default |
Constructor.
Pedestals::Pedestals | ( | int | test | ) |
Constructor for tests.
Definition at line 19 of file Pedestals.cxx.
|
default |
Destructor.
Get pedestal.
cellID | Absolute ID of cell |
Definition at line 49 of file Pedestals.h.
|
inline |
Definition at line 50 of file Pedestals.h.
Set pedestal.
cellID | Absolute ID of cell |
c | is the pedestal (expected to be in range <254) |
Definition at line 55 of file Pedestals.h.
bool Pedestals::setPedestals | ( | TH1 * | h | ) |
Set pedestals from 1D histogram with cell absId in x axis.
1D(NCHANNELS) | histogram with calibration coefficients |
Definition at line 26 of file Pedestals.cxx.
Definition at line 61 of file Pedestals.h.
bool Pedestals::setPedSigmas | ( | TH1F * | h | ) |
Definition at line 50 of file Pedestals.cxx.