Belle II Software development
|
ECLCrystalLocalRunCalib is designed to store results of the ECL local run calibration to database. More...
#include <ECLCrystalLocalRunCalib.h>
Public Member Functions | |
ECLCrystalLocalRunCalib (bool isNegAmpl=false) | |
Constructor. | |
~ECLCrystalLocalRunCalib () | |
Destructor. | |
void | setNumberOfEvents (const int &numberOfEvents) |
Set total number of events. | |
void | setNumbersOfAcceptedEvents (const std::vector< int > &numberOfAcceptedEvents) |
Set number of accepted events for each cell id. | |
int | getNumberOfEvents () const |
Get number of events. | |
void | setExpRun (const int &exp, const int &run) |
Set experiment number and run number. | |
int | getExp () const |
Get experiment number. | |
int | getRun () const |
Get run number. | |
const std::vector< int > & | getNumbersOfAcceptedEvents () const |
Get numbers of accepted events for each cell id. | |
bool | isNegAmpl () const |
In case if the amplitude payload: check is there are negative amplitudes. | |
const std::vector< float > & | getCalibVector () const |
Get vector of calibration constants. | |
const std::vector< float > & | getCalibUncVector () const |
Get vector of uncertainties on calibration constants. | |
void | setCalibVector (const std::vector< float > &CalibConst, const std::vector< float > &CalibConstUnc) |
Set vector of constants with uncertainties. | |
Private Member Functions | |
ClassDef (ECLCrystalLocalRunCalib, 1) | |
ClassDef. | |
Private Attributes | |
bool | c_isNegAmpl |
In the case of time payload c_isNegAmpl is always false. | |
int | m_exp |
Experiment number. | |
int | m_run |
Run number. | |
int | m_numberOfEvents |
Total number of events. | |
std::vector< int > | m_numberOfAcceptedEvs |
Numbers of accepted events for each cell id. | |
std::vector< float > | m_CalibConst |
Calibration constants. | |
std::vector< float > | m_CalibConstUnc |
Uncertainty on constants. | |
ECLCrystalLocalRunCalib is designed to store results of the ECL local run calibration to database.
Definition at line 24 of file ECLCrystalLocalRunCalib.h.
|
explicit |
Constructor.
isNegAmpl | is true, when there are negative amplitude values. |
Definition at line 12 of file ECLCrystalLocalRunCalib.cc.
|
inlineinherited |
Get vector of uncertainties on calibration constants.
Definition at line 38 of file ECLCrystalCalib.h.
|
inlineinherited |
Get vector of calibration constants.
One entry per crystal.
Definition at line 35 of file ECLCrystalCalib.h.
int getExp | ( | ) | const |
Get experiment number.
Definition at line 52 of file ECLCrystalLocalRunCalib.cc.
int getNumberOfEvents | ( | ) | const |
Get number of events.
Definition at line 35 of file ECLCrystalLocalRunCalib.cc.
const std::vector< int > & getNumbersOfAcceptedEvents | ( | ) | const |
Get numbers of accepted events for each cell id.
Definition at line 40 of file ECLCrystalLocalRunCalib.cc.
int getRun | ( | ) | const |
bool isNegAmpl | ( | ) | const |
In case if the amplitude payload: check is there are negative amplitudes.
Definition at line 62 of file ECLCrystalLocalRunCalib.cc.
|
inlineinherited |
Set vector of constants with uncertainties.
One entry per crystal
Definition at line 41 of file ECLCrystalCalib.h.
void setExpRun | ( | const int & | exp, |
const int & | run | ||
) |
Set experiment number and run number.
exp | is the experiment number. |
run | is the run number. |
Definition at line 46 of file ECLCrystalLocalRunCalib.cc.
void setNumberOfEvents | ( | const int & | numberOfEvents | ) |
Set total number of events.
numberOfEvents | is the number of events. |
Definition at line 24 of file ECLCrystalLocalRunCalib.cc.
void setNumbersOfAcceptedEvents | ( | const std::vector< int > & | numberOfAcceptedEvents | ) |
Set number of accepted events for each cell id.
numberOfAcceptedEvents | is the numbers of accepted events. |
Definition at line 29 of file ECLCrystalLocalRunCalib.cc.
|
private |
In the case of time payload c_isNegAmpl is always false.
In the case of amplitude payload c_isNegAmpl is true, if there are negative amplitude values, and is false otherwise.
Definition at line 87 of file ECLCrystalLocalRunCalib.h.
|
privateinherited |
Calibration constants.
Definition at line 54 of file ECLCrystalCalib.h.
|
privateinherited |
Uncertainty on constants.
Definition at line 55 of file ECLCrystalCalib.h.
|
private |
Experiment number.
Definition at line 91 of file ECLCrystalLocalRunCalib.h.
|
private |
Numbers of accepted events for each cell id.
Definition at line 104 of file ECLCrystalLocalRunCalib.h.
|
private |
Total number of events.
Definition at line 99 of file ECLCrystalLocalRunCalib.h.
|
private |
Run number.
Definition at line 95 of file ECLCrystalLocalRunCalib.h.