Belle II Software development
ECLShowerCorrectorLeakageCorrection Class Reference

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

#include <ECLShowerCorrectorLeakageCorrection.h>

Inheritance 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.
 
std::vector< int > getRegNum () const
 Get region numbers.
 
std::vector< int > getPhiBinNum () const
 Get phi bin numbers.
 
std::vector< int > getThetaBinNum () const
 Get theta bin numbers.
 
std::vector< int > getEnergyBinNum () const
 Get energy bin numbers.
 
std::vector< float > getCorrectionFactor () const
 Get correction factors.
 
std::vector< float > getAvgRecEn () const
 Get average reconstructed energy per bin.
 
std::vector< float > getLReg1Theta () const
 Get lower bound for theta in region 1.
 
std::vector< float > getHReg1Theta () const
 Get upper bound for theta in region 1.
 
std::vector< float > getLReg2Theta () const
 Get lower bound for theta in region 2.
 
std::vector< float > getHReg2Theta () const
 Get upper bound for theta in region 2.
 
std::vector< float > getLReg3Theta () const
 Get lower bound for theta in region 3.
 
std::vector< float > getHReg3Theta () const
 Get upper bound for theta in region 3.
 
std::vector< int > getNumOfBfBins () const
 Get number of background fraction bins.
 
std::vector< int > getNumOfEnergyBins () const
 Get number of energy bins.
 
std::vector< int > getNumOfPhiBins () const
 Get number of phi bins.
 
std::vector< int > getNumOfReg1ThetaBins () const
 Get number of theta bins in region 1.
 
std::vector< int > getNumOfReg2ThetaBins () const
 Get number of theta bins in region 2.
 
std::vector< int > getNumOfReg3ThetaBins () const
 Get number of theta bins in region 3.
 
std::vector< int > getPhiPeriodicity () const
 Get phi periodicity - repeating pattern in phi direction.
 

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 pattern in phi direction.
 

Detailed Description

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

Definition at line 24 of file ECLShowerCorrectorLeakageCorrection.h.

Constructor & Destructor Documentation

◆ ECLShowerCorrectorLeakageCorrection() [1/2]

Default constructor.

Definition at line 30 of file ECLShowerCorrectorLeakageCorrection.h.

30{};

◆ ECLShowerCorrectorLeakageCorrection() [2/2]

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 
)
inline

Constructor.

Definition at line 35 of file ECLShowerCorrectorLeakageCorrection.h.

54 :
55 m_bgFractionBinNum(bgFractionBinNum),
56 m_regNum(regNum),
57 m_phiBinNum(phiBinNum),
58 m_thetaBinNum(thetaBinNum),
59 m_energyBinNum(energyBinNum),
60 m_correctionFactor(correctionFactor),
61 m_avgRecEn(avgRecEn),
62 m_lReg1Theta(lReg1Theta),
63 m_hReg1Theta(hReg1Theta),
64 m_lReg2Theta(lReg2Theta),
65 m_hReg2Theta(hReg2Theta),
66 m_lReg3Theta(lReg3Theta),
67 m_hReg3Theta(hReg3Theta),
68 m_numOfBfBins(numOfBfBins),
69 m_numOfEnergyBins(numOfEnergyBins),
70 m_numOfPhiBins(numOfPhiBins),
71 m_numOfReg1ThetaBins(numOfReg1ThetaBins),
72 m_numOfReg2ThetaBins(numOfReg2ThetaBins),
73 m_numOfReg3ThetaBins(numOfReg3ThetaBins),
74 m_phiPeriodicity(phiPeriodicity)
75 {
76
77 }
std::vector< float > m_lReg2Theta
Lower bound of theta in region 2.
std::vector< int > m_numOfReg1ThetaBins
Number of theta bins in region 1.
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_numOfReg3ThetaBins
Number of theta bins in region 3.
std::vector< int > m_numOfReg2ThetaBins
Number of theta bins in region 2.
std::vector< float > m_avgRecEn
Average reconstructed energy.
std::vector< float > m_hReg1Theta
Upper bound of theta in region 1.
std::vector< float > m_lReg1Theta
Lower bound of theta in region 1.
std::vector< int > m_phiPeriodicity
Periodicity in phi - repeating pattern in phi direction.
std::vector< float > m_lReg3Theta
Lower bound of theta in region 3.
std::vector< float > m_correctionFactor
Correction factors.
std::vector< float > m_hReg2Theta
Upper bound of theta in region 2.
std::vector< int > m_bgFractionBinNum
Background fraction bin number.

◆ ~ECLShowerCorrectorLeakageCorrection()

Destructor.

Definition at line 83 of file ECLShowerCorrectorLeakageCorrection.h.

84 {
85 }

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;};

◆ getBgFractionBinNum()

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

Get background fraction bin numbers.

Returns
BgFractionBinNum

Definition at line 90 of file ECLShowerCorrectorLeakageCorrection.h.

90{return m_bgFractionBinNum;};

◆ getCorrectionFactor()

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

Get correction factors.

Returns
CorrectionFactor

Definition at line 115 of file ECLShowerCorrectorLeakageCorrection.h.

115{return m_correctionFactor;};

◆ getEnergyBinNum()

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

Get energy bin numbers.

Returns
EnergyBinNum

Definition at line 110 of file ECLShowerCorrectorLeakageCorrection.h.

110{return m_energyBinNum;};

◆ 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.

130{return m_hReg1Theta;};

◆ 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.

140{return m_hReg2Theta;};

◆ 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.

150{return m_hReg3Theta;};

◆ 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.

125{return m_lReg1Theta;};

◆ 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.

135{return m_lReg2Theta;};

◆ 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.

145{return m_lReg3Theta;};

◆ getNumOfBfBins()

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

Get number of background fraction bins.

Returns
NumOfBfBins

Definition at line 155 of file ECLShowerCorrectorLeakageCorrection.h.

155{return m_numOfBfBins;};

◆ getNumOfEnergyBins()

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

Get number of energy bins.

Returns
NumOfEnergyBins

Definition at line 160 of file ECLShowerCorrectorLeakageCorrection.h.

160{return m_numOfEnergyBins;};

◆ getNumOfPhiBins()

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

Get number of phi bins.

Returns
NumOfPhiBins

Definition at line 165 of file ECLShowerCorrectorLeakageCorrection.h.

165{return m_numOfPhiBins;};

◆ 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.

170{return m_numOfReg1ThetaBins;};

◆ 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.

175{return m_numOfReg2ThetaBins;};

◆ 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.

180{return m_numOfReg3ThetaBins;};

◆ getPhiBinNum()

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

Get phi bin numbers.

Returns
PhiBinNum

Definition at line 100 of file ECLShowerCorrectorLeakageCorrection.h.

100{return m_phiBinNum;};

◆ 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.

186{return m_phiPeriodicity;};

◆ 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.

95{return m_regNum;};

◆ getThetaBinNum()

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

Get theta bin numbers.

Returns
ThetaBinNum

Definition at line 105 of file ECLShowerCorrectorLeakageCorrection.h.

105{return m_thetaBinNum;};

Member Data Documentation

◆ m_avgRecEn

std::vector<float> m_avgRecEn
private

Average reconstructed energy.

Definition at line 198 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_bgFractionBinNum

std::vector<int> m_bgFractionBinNum
private

Background fraction bin number.

Definition at line 190 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_correctionFactor

std::vector<float> m_correctionFactor
private

Correction factors.

Definition at line 195 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_energyBinNum

std::vector<int> m_energyBinNum
private

Energy bin numbers.

Definition at line 194 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_hReg1Theta

std::vector<float> m_hReg1Theta
private

Upper bound of theta in region 1.

Definition at line 200 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_hReg2Theta

std::vector<float> m_hReg2Theta
private

Upper bound of theta in region 2.

Definition at line 202 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_hReg3Theta

std::vector<float> m_hReg3Theta
private

Upper bound of theta in region 3.

Definition at line 204 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_lReg1Theta

std::vector<float> m_lReg1Theta
private

Lower bound of theta in region 1.

Definition at line 199 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_lReg2Theta

std::vector<float> m_lReg2Theta
private

Lower bound of theta in region 2.

Definition at line 201 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_lReg3Theta

std::vector<float> m_lReg3Theta
private

Lower bound of theta in region 3.

Definition at line 203 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfBfBins

std::vector<int> m_numOfBfBins
private

Number of background fraction bins.

Definition at line 205 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfEnergyBins

std::vector<int> m_numOfEnergyBins
private

Number of energy bins.

Definition at line 206 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfPhiBins

std::vector<int> m_numOfPhiBins
private

Number of phi bins.

Definition at line 207 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfReg1ThetaBins

std::vector<int> m_numOfReg1ThetaBins
private

Number of theta bins in region 1.

Definition at line 208 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfReg2ThetaBins

std::vector<int> m_numOfReg2ThetaBins
private

Number of theta bins in region 2.

Definition at line 209 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_numOfReg3ThetaBins

std::vector<int> m_numOfReg3ThetaBins
private

Number of theta bins in region 3.

Definition at line 210 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_phiBinNum

std::vector<int> m_phiBinNum
private

Phi bin numbers.

Definition at line 192 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_phiPeriodicity

std::vector<int> m_phiPeriodicity
private

Periodicity in phi - repeating pattern in phi direction.

Definition at line 211 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_regNum

std::vector<int> m_regNum
private

Region numbers.

Definition at line 191 of file ECLShowerCorrectorLeakageCorrection.h.

◆ m_thetaBinNum

std::vector<int> m_thetaBinNum
private

Theta bin numbers.

Definition at line 193 of file ECLShowerCorrectorLeakageCorrection.h.


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