Belle II Software  release-08-01-10
ECLnOptimal Class Reference

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>

Inheritance diagram for ECLnOptimal:
Collaboration diagram for ECLnOptimal:

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
 

Detailed Description

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.


The documentation for this class was generated from the following file: