Belle II Software development
ECLLeakageCorrections Class Reference

DB object to store leakage corrections, including nCrys dependence
More...

#include <ECLLeakageCorrections.h>

Inheritance diagram for ECLLeakageCorrections:

Public Member Functions

 ECLLeakageCorrections ()
 Constructor.
 
const std::vector< float > & getlogEnergiesFwd () const
 Get vector of log(energies) used to evaluate the leakage corrections in the forward endcap.
 
const std::vector< float > & getlogEnergiesBrl () const
 Get vector of log(energies) used in the barrel.
 
const std::vector< float > & getlogEnergiesBwd () const
 Get vector of log(energies) used in the backward endcap.
 
const TH2F getThetaCorrections () const
 Get 2D histogram of theta-dependent constants (one column per thetaID & energy)
 
const TH2F getPhiCorrections () const
 Get 2D histogram of phi-dependent constants (one column per thetaID & energy in barrel, 2 in endcaps)
 
const TH2F getnCrystalCorrections () const
 Get 2D histogram of nCrys dependent constants (one column per thetaID & energy)
 
void setlogEnergiesFwd (const std::vector< float > &logEnergiesFwd)
 Set the vector of energies used to evaluate the leakage corrections in the forward endcap.
 
void setlogEnergiesBrl (const std::vector< float > &logEnergiesBrl)
 Set the vector of energies used to evaluate the leakage corrections in the barrel.
 
void setlogEnergiesBwd (const std::vector< float > &logEnergiesBwd)
 Set the vector of energies used to evaluate the leakage corrections in the backward endcap.
 
void setThetaCorrections (const TH2F &thetaCorrections)
 Set the 2D histogram containing the theta corrections for each thetaID and energy.
 
void setPhiCorrections (const TH2F &phiCorrections)
 Set the 2D histogram containing the phi corrections for each thetaID and energy.
 
void setnCrystalCorrections (const TH2F &nCrystalCorrections)
 Set the 2D histogram containing the nCrys corrections for each thetaID and energy.
 

Private Member Functions

 ClassDef (ECLLeakageCorrections, 2)
 ClassDef.
 

Private Attributes

std::vector< float > m_logEnergiesFwd
 log(energies) used to find constants in the forward endcap (GeV)
 
std::vector< float > m_logEnergiesBrl
 log(energies) used to find constants in the barrel (GeV)
 
std::vector< float > m_logEnergiesBwd
 log(energies) used to find constants in the backward endcap (GeV)
 
TH2F m_thetaCorrections
 2D histogram containing theta-dependent correction for each thetaID & energy
 
TH2F m_phiCorrections
 2D histogram containing phi-dependent correction for each thetaID & energy
 
TH2F m_nCrystalCorrections
 2D histogram containing nCrys-dependent correction for each thetaID & energy
 

Detailed Description

DB object to store leakage corrections, including nCrys dependence

Definition at line 22 of file ECLLeakageCorrections.h.

Constructor & Destructor Documentation

◆ ECLLeakageCorrections()

Constructor.

Definition at line 29 of file ECLLeakageCorrections.h.

29 :
36 { };
std::vector< float > m_logEnergiesFwd
log(energies) used to find constants in the forward endcap (GeV)
TH2F m_nCrystalCorrections
2D histogram containing nCrys-dependent correction for each thetaID & energy
TH2F m_phiCorrections
2D histogram containing phi-dependent correction for each thetaID & energy
TH2F m_thetaCorrections
2D histogram containing theta-dependent correction for each thetaID & energy
std::vector< float > m_logEnergiesBwd
log(energies) used to find constants in the backward endcap (GeV)
std::vector< float > m_logEnergiesBrl
log(energies) used to find constants in the barrel (GeV)

Member Function Documentation

◆ getlogEnergiesBrl()

const std::vector< float > & getlogEnergiesBrl ( ) const
inline

Get vector of log(energies) used in the barrel.

Same number of test energies as forward, but different values

Definition at line 45 of file ECLLeakageCorrections.h.

45{return m_logEnergiesBrl;}

◆ getlogEnergiesBwd()

const std::vector< float > & getlogEnergiesBwd ( ) const
inline

Get vector of log(energies) used in the backward endcap.

Same number of test energies as forward, but different values

Definition at line 48 of file ECLLeakageCorrections.h.

48{return m_logEnergiesBwd;}

◆ getlogEnergiesFwd()

const std::vector< float > & getlogEnergiesFwd ( ) const
inline

Get vector of log(energies) used to evaluate the leakage corrections in the forward endcap.

Definition at line 42 of file ECLLeakageCorrections.h.

42{return m_logEnergiesFwd;}

◆ getnCrystalCorrections()

const TH2F getnCrystalCorrections ( ) const
inline

Get 2D histogram of nCrys dependent constants (one column per thetaID & energy)

Definition at line 57 of file ECLLeakageCorrections.h.

◆ getPhiCorrections()

const TH2F getPhiCorrections ( ) const
inline

Get 2D histogram of phi-dependent constants (one column per thetaID & energy in barrel, 2 in endcaps)

Definition at line 54 of file ECLLeakageCorrections.h.

54{return m_phiCorrections;}

◆ getThetaCorrections()

const TH2F getThetaCorrections ( ) const
inline

Get 2D histogram of theta-dependent constants (one column per thetaID & energy)

Definition at line 51 of file ECLLeakageCorrections.h.

51{return m_thetaCorrections;}

◆ setlogEnergiesBrl()

void setlogEnergiesBrl ( const std::vector< float > &  logEnergiesBrl)
inline

Set the vector of energies used to evaluate the leakage corrections in the barrel.

Definition at line 67 of file ECLLeakageCorrections.h.

67{m_logEnergiesBrl = logEnergiesBrl;}

◆ setlogEnergiesBwd()

void setlogEnergiesBwd ( const std::vector< float > &  logEnergiesBwd)
inline

Set the vector of energies used to evaluate the leakage corrections in the backward endcap.

Definition at line 70 of file ECLLeakageCorrections.h.

70{m_logEnergiesBwd = logEnergiesBwd;}

◆ setlogEnergiesFwd()

void setlogEnergiesFwd ( const std::vector< float > &  logEnergiesFwd)
inline

Set the vector of energies used to evaluate the leakage corrections in the forward endcap.

Definition at line 64 of file ECLLeakageCorrections.h.

64{m_logEnergiesFwd = logEnergiesFwd;}

◆ setnCrystalCorrections()

void setnCrystalCorrections ( const TH2F &  nCrystalCorrections)
inline

Set the 2D histogram containing the nCrys corrections for each thetaID and energy.

Definition at line 79 of file ECLLeakageCorrections.h.

79{m_nCrystalCorrections = nCrystalCorrections;}

◆ setPhiCorrections()

void setPhiCorrections ( const TH2F &  phiCorrections)
inline

Set the 2D histogram containing the phi corrections for each thetaID and energy.

Definition at line 76 of file ECLLeakageCorrections.h.

76{m_phiCorrections = phiCorrections;}

◆ setThetaCorrections()

void setThetaCorrections ( const TH2F &  thetaCorrections)
inline

Set the 2D histogram containing the theta corrections for each thetaID and energy.

Definition at line 73 of file ECLLeakageCorrections.h.

73{m_thetaCorrections = thetaCorrections;}

Member Data Documentation

◆ m_logEnergiesBrl

std::vector<float> m_logEnergiesBrl
private

log(energies) used to find constants in the barrel (GeV)

Definition at line 85 of file ECLLeakageCorrections.h.

◆ m_logEnergiesBwd

std::vector<float> m_logEnergiesBwd
private

log(energies) used to find constants in the backward endcap (GeV)

Definition at line 86 of file ECLLeakageCorrections.h.

◆ m_logEnergiesFwd

std::vector<float> m_logEnergiesFwd
private

log(energies) used to find constants in the forward endcap (GeV)

Definition at line 84 of file ECLLeakageCorrections.h.

◆ m_nCrystalCorrections

TH2F m_nCrystalCorrections
private

2D histogram containing nCrys-dependent correction for each thetaID & energy

Definition at line 89 of file ECLLeakageCorrections.h.

◆ m_phiCorrections

TH2F m_phiCorrections
private

2D histogram containing phi-dependent correction for each thetaID & energy

Definition at line 88 of file ECLLeakageCorrections.h.

◆ m_thetaCorrections

TH2F m_thetaCorrections
private

2D histogram containing theta-dependent correction for each thetaID & energy

Definition at line 87 of file ECLLeakageCorrections.h.


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