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

Class to hold the information for the ECL shower leakage corrections. More...

#include <ECLShowerCorrectorLeakageCorrection.h>

Inheritance diagram for ECLShowerCorrectorLeakageCorrection:
Collaboration diagram for ECLShowerCorrectorLeakageCorrection:

Public Member Functions

 ECLShowerCorrectorLeakageCorrection ()
 Default constructor.
 
 ECLShowerCorrectorLeakageCorrection (const std::vector< int > &bgFractionBinNum, const std::vector< int > &regNum, const std::vector< int > &phiBinNum, const std::vector< int > &thetaBinNum, const std::vector< int > &energyBinNum, const std::vector< float > &correctionFactor, const std::vector< float > &avgRecEn, const std::vector< float > &lReg1Theta, const std::vector< float > &hReg1Theta, const std::vector< float > &lReg2Theta, const std::vector< float > &hReg2Theta, const std::vector< float > &lReg3Theta, const std::vector< float > &hReg3Theta, const std::vector< int > &numOfBfBins, const std::vector< int > &numOfEnergyBins, const std::vector< int > &numOfPhiBins, const std::vector< int > &numOfReg1ThetaBins, const std::vector< int > &numOfReg2ThetaBins, const std::vector< int > &numOfReg3ThetaBins, const std::vector< int > &phiPeriodicity)
 Constructor.
 
 ~ECLShowerCorrectorLeakageCorrection ()
 Destructor.
 
std::vector< int > getBgFractionBinNum () const
 Get background fraction bin numbers. More...
 
std::vector< int > getRegNum () const
 Get region numbers. More...
 
std::vector< int > getPhiBinNum () const
 Get phi bin numbers. More...
 
std::vector< int > getThetaBinNum () const
 Get theta bin numbers. More...
 
std::vector< int > getEnergyBinNum () const
 Get energy bin numbers. More...
 
std::vector< float > getCorrectionFactor () const
 Get correction factors. More...
 
std::vector< float > getAvgRecEn () const
 Get average reconstructed energy per bin. More...
 
std::vector< float > getLReg1Theta () const
 Get lower bound for theta in region 1. More...
 
std::vector< float > getHReg1Theta () const
 Get upper bound for theta in region 1. More...
 
std::vector< float > getLReg2Theta () const
 Get lower bound for theta in region 2. More...
 
std::vector< float > getHReg2Theta () const
 Get upper bound for theta in region 2. More...
 
std::vector< float > getLReg3Theta () const
 Get lower bound for theta in region 3. More...
 
std::vector< float > getHReg3Theta () const
 Get upper bound for theta in region 3. More...
 
std::vector< int > getNumOfBfBins () const
 Get number of background fraction bins. More...
 
std::vector< int > getNumOfEnergyBins () const
 Get number of energy bins. More...
 
std::vector< int > getNumOfPhiBins () const
 Get number of phi bins. More...
 
std::vector< int > getNumOfReg1ThetaBins () const
 Get number of theta bins in region 1. More...
 
std::vector< int > getNumOfReg2ThetaBins () const
 Get number of theta bins in region 2. More...
 
std::vector< int > getNumOfReg3ThetaBins () const
 Get number of theta bins in region 3. More...
 
std::vector< int > getPhiPeriodicity () const
 Get phi periodicity - repeating pattern in phi direction. More...
 

Private Member Functions

 ClassDef (ECLShowerCorrectorLeakageCorrection, 1)
 ClassDef.
 

Private Attributes

std::vector< int > m_bgFractionBinNum
 Background fraction bin number.
 
std::vector< int > m_regNum
 Region numbers.
 
std::vector< int > m_phiBinNum
 Phi bin numbers.
 
std::vector< int > m_thetaBinNum
 Theta bin numbers.
 
std::vector< int > m_energyBinNum
 Energy bin numbers.
 
std::vector< float > m_correctionFactor
 Correction factors.
 
std::vector< float > m_avgRecEn
 Average reconstructed energy.
 
std::vector< float > m_lReg1Theta
 Lower bound of theta in region 1.
 
std::vector< float > m_hReg1Theta
 Upper bound of theta in region 1.
 
std::vector< float > m_lReg2Theta
 Lower bound of theta in region 2.
 
std::vector< float > m_hReg2Theta
 Upper bound of theta in region 2.
 
std::vector< float > m_lReg3Theta
 Lower bound of theta in region 3.
 
std::vector< float > m_hReg3Theta
 Upper bound of theta in region 3.
 
std::vector< int > m_numOfBfBins
 Number of background fraction bins.
 
std::vector< int > m_numOfEnergyBins
 Number of energy bins.
 
std::vector< int > m_numOfPhiBins
 Number of phi bins.
 
std::vector< int > m_numOfReg1ThetaBins
 Number of theta bins in region 1.
 
std::vector< int > m_numOfReg2ThetaBins
 Number of theta bins in region 2.
 
std::vector< int > m_numOfReg3ThetaBins
 Number of theta bins in region 3.
 
std::vector< int > m_phiPeriodicity
 Periodicity in phi - repeating patter in phi direction.
 

Detailed Description

Class to hold the information for the ECL shower leakage corrections.

Definition at line 24 of file ECLShowerCorrectorLeakageCorrection.h.

Member Function Documentation

◆ getAvgRecEn()

std::vector<float> getAvgRecEn ( ) const
inline

Get average reconstructed energy per bin.

Returns
AvgRecEn

Definition at line 120 of file ECLShowerCorrectorLeakageCorrection.h.

120 {return m_avgRecEn;};
std::vector< float > m_avgRecEn
Average reconstructed energy.

◆ getBgFractionBinNum()

std::vector<int> getBgFractionBinNum ( ) const
inline

Get background fraction bin numbers.

Returns
BgFractionBinNum

Definition at line 90 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getCorrectionFactor()

std::vector<float> getCorrectionFactor ( ) const
inline

Get correction factors.

Returns
CorrectionFactor

Definition at line 115 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getEnergyBinNum()

std::vector<int> getEnergyBinNum ( ) const
inline

Get energy bin numbers.

Returns
EnergyBinNum

Definition at line 110 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getHReg1Theta()

std::vector<float> getHReg1Theta ( ) const
inline

Get upper bound for theta in region 1.

Returns
HReg1Theta

Definition at line 130 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getHReg2Theta()

std::vector<float> getHReg2Theta ( ) const
inline

Get upper bound for theta in region 2.

Returns
HReg2Theta

Definition at line 140 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getHReg3Theta()

std::vector<float> getHReg3Theta ( ) const
inline

Get upper bound for theta in region 3.

Returns
HReg3Theta

Definition at line 150 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getLReg1Theta()

std::vector<float> getLReg1Theta ( ) const
inline

Get lower bound for theta in region 1.

Returns
LReg1Theta

Definition at line 125 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getLReg2Theta()

std::vector<float> getLReg2Theta ( ) const
inline

Get lower bound for theta in region 2.

Returns
LReg2Theta

Definition at line 135 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getLReg3Theta()

std::vector<float> getLReg3Theta ( ) const
inline

Get lower bound for theta in region 3.

Returns
LReg3Theta

Definition at line 145 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfBfBins()

std::vector<int> getNumOfBfBins ( ) const
inline

Get number of background fraction bins.

Returns
NumOfBfBins

Definition at line 155 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfEnergyBins()

std::vector<int> getNumOfEnergyBins ( ) const
inline

Get number of energy bins.

Returns
NumOfEnergyBins

Definition at line 160 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfPhiBins()

std::vector<int> getNumOfPhiBins ( ) const
inline

Get number of phi bins.

Returns
NumOfPhiBins

Definition at line 165 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfReg1ThetaBins()

std::vector<int> getNumOfReg1ThetaBins ( ) const
inline

Get number of theta bins in region 1.

Returns
NumOfReg1ThetaBins

Definition at line 170 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfReg2ThetaBins()

std::vector<int> getNumOfReg2ThetaBins ( ) const
inline

Get number of theta bins in region 2.

Returns
NumOfReg2ThetaBins

Definition at line 175 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getNumOfReg3ThetaBins()

std::vector<int> getNumOfReg3ThetaBins ( ) const
inline

Get number of theta bins in region 3.

Returns
NumOfReg3ThetaBins

Definition at line 180 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getPhiBinNum()

std::vector<int> getPhiBinNum ( ) const
inline

Get phi bin numbers.

Returns
PhiBinNum

Definition at line 100 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getPhiPeriodicity()

std::vector<int> getPhiPeriodicity ( ) const
inline

Get phi periodicity - repeating pattern in phi direction.

For barrel it is 72.

Returns
PhiPeriodicity

Definition at line 186 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getRegNum()

std::vector<int> getRegNum ( ) const
inline

Get region numbers.

Region can be 1,2 or 3.

Returns
RegNum

Definition at line 95 of file ECLShowerCorrectorLeakageCorrection.h.

◆ getThetaBinNum()

std::vector<int> getThetaBinNum ( ) const
inline

Get theta bin numbers.

Returns
ThetaBinNum

Definition at line 105 of file ECLShowerCorrectorLeakageCorrection.h.


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