Belle II Software development
|
DB object to store the optimal number of crystals to be used in a cluster energy sum, and the corresponding corrections for bias and contained (raw) energy. More...
#include <ECLnOptimal.h>
Public Member Functions | |
ECLnOptimal () | |
Constructor. | |
const std::vector< float > & | getUpperBoundariesFwd () const |
Get vector of energies that specify energy ranges in the forward endcap. | |
const std::vector< float > & | getUpperBoundariesBrl () const |
Get vector of energies that specify energy ranges in the barrel. | |
const std::vector< float > & | getUpperBoundariesBwd () const |
Get vector of energies that specify energy ranges in the backward endcap. | |
const std::vector< int > & | getGroupNumber () const |
Get the vector of group number for each cellID. | |
const TH2F | getNOptimal () const |
Get 2D histogram of nOptimal (one xBin per group number, one yBin per energy range. | |
const TH2F | getPeakFracEnergy () const |
Get 2D histogram of the peak fraction of contained energy, one yBin per energy group, 3 xBins per group number. | |
const TH2F | getBias () const |
Get the 2D histogram of bias (reconstructed - true) from beam backgrounds, one yBin per energy group, 3 xBins per group number. | |
const TH2F | getLogPeakEnergy () const |
Get the 2D histogram of log peak energies (GeV), one yBin per energy group, 3 xBins per group number. | |
void | setUpperBoundariesFwd (const std::vector< float > &eUpperBoundariesFwd) |
Set vector of energies that specify energy ranges in the forward endcap. | |
void | setUpperBoundariesBrl (const std::vector< float > &eUpperBoundariesBrl) |
Set vector of energies that specify energy ranges in the barrel. | |
void | setUpperBoundariesBwd (const std::vector< float > &eUpperBoundariesBwd) |
Set vector of energies that specify energy ranges in the backward endcap. | |
void | setGroupNumber (const std::vector< int > &groupNumber) |
Set the vector of group numbers for each crystal. | |
void | setNOptimal (const TH2F &nOptimal) |
Set the 2D histogram of nOptimal. | |
void | setPeakFracEnergy (const TH2F &peakFracEnergy) |
Set the 2D histogram of peak fractional contained energy. | |
void | setBias (const TH2F &bias) |
Set the 2D histogram of beam background bias (reconstructed - true) (GeV) | |
void | setLogPeakEnergy (const TH2F &logPeakEnergy) |
Set the 2D histogram of log of peak contained energy in GeV. | |
Private Member Functions | |
ClassDef (ECLnOptimal, 1) | |
ClassDef. | |
Private Attributes | |
std::vector< float > | m_eUpperBoundariesFwd |
upper edges of the energy ranges in the forward endcap (GeV) | |
std::vector< float > | m_eUpperBoundariesBrl |
upper edges of the energy ranges in the barrel (GeV) | |
std::vector< float > | m_eUpperBoundariesBwd |
upper edges of the energy ranges in the backward endcap (GeV) | |
std::vector< int > | m_groupNumber |
group number of each crystal | |
TH2F | m_nOptimal |
2D histogram containing optimal number of crystals for each group number (x) and energy range (y) | |
TH2F | m_peakFracEnergy |
2D histogram of peak fractional contained energy | |
TH2F | m_bias |
2D histogram of bias = sum of ECLCalDigit energy minus true (GeV) | |
TH2F | m_logPeakEnergy |
log of peak contained energy in GeV | |
DB object to store the optimal number of crystals to be used in a cluster energy sum, and the corresponding corrections for bias and contained (raw) energy.
Found for 8 test energies. Crystals are typically collected into 8 groups per thetaID, except for a couple of rings in the endcaps, where there are 16 groups.
Definition at line 23 of file ECLnOptimal.h.
|
inline |
Constructor.
Definition at line 29 of file ECLnOptimal.h.
|
inline |
Get the 2D histogram of bias (reconstructed - true) from beam backgrounds, one yBin per energy group, 3 xBins per group number.
Definition at line 70 of file ECLnOptimal.h.
|
inline |
|
inline |
Get the 2D histogram of log peak energies (GeV), one yBin per energy group, 3 xBins per group number.
Definition at line 74 of file ECLnOptimal.h.
|
inline |
Get 2D histogram of nOptimal (one xBin per group number, one yBin per energy range.
Definition at line 56 of file ECLnOptimal.h.
|
inline |
Get 2D histogram of the peak fraction of contained energy, one yBin per energy group, 3 xBins per group number.
Definition at line 66 of file ECLnOptimal.h.
|
inline |
Get vector of energies that specify energy ranges in the barrel.
Definition at line 47 of file ECLnOptimal.h.
|
inline |
Get vector of energies that specify energy ranges in the backward endcap.
Definition at line 50 of file ECLnOptimal.h.
|
inline |
Get vector of energies that specify energy ranges in the forward endcap.
Definition at line 44 of file ECLnOptimal.h.
|
inline |
Set the 2D histogram of beam background bias (reconstructed - true) (GeV)
Definition at line 98 of file ECLnOptimal.h.
|
inline |
Set the vector of group numbers for each crystal.
Definition at line 89 of file ECLnOptimal.h.
|
inline |
Set the 2D histogram of log of peak contained energy in GeV.
Definition at line 101 of file ECLnOptimal.h.
|
inline |
Set the 2D histogram of nOptimal.
Definition at line 92 of file ECLnOptimal.h.
|
inline |
Set the 2D histogram of peak fractional contained energy.
Definition at line 95 of file ECLnOptimal.h.
|
inline |
Set vector of energies that specify energy ranges in the barrel.
Definition at line 83 of file ECLnOptimal.h.
|
inline |
Set vector of energies that specify energy ranges in the backward endcap.
Definition at line 86 of file ECLnOptimal.h.
|
inline |
Set vector of energies that specify energy ranges in the forward endcap.
Definition at line 80 of file ECLnOptimal.h.
|
private |
2D histogram of bias = sum of ECLCalDigit energy minus true (GeV)
Definition at line 118 of file ECLnOptimal.h.
|
private |
upper edges of the energy ranges in the barrel (GeV)
Definition at line 106 of file ECLnOptimal.h.
|
private |
upper edges of the energy ranges in the backward endcap (GeV)
Definition at line 107 of file ECLnOptimal.h.
|
private |
upper edges of the energy ranges in the forward endcap (GeV)
Definition at line 105 of file ECLnOptimal.h.
|
private |
group number of each crystal
Definition at line 108 of file ECLnOptimal.h.
|
private |
log of peak contained energy in GeV
Definition at line 119 of file ECLnOptimal.h.
|
private |
2D histogram containing optimal number of crystals for each group number (x) and energy range (y)
Definition at line 109 of file ECLnOptimal.h.
|
private |
2D histogram of peak fractional contained energy
Definition at line 117 of file ECLnOptimal.h.