Belle II Software development
|
Class to hold the information ECL energy resolution derived from PERC. More...
#include <ECLPhotonEnergyResolution.h>
Public Member Functions | |
ECLPhotonEnergyResolution () | |
! Default constructor | |
~ECLPhotonEnergyResolution () | |
! Destructor | |
ParticleWeightingLookUpTable | getFullEnergyResolution () const |
Get ParticleWeightingLookUpTable with binned energy resolution. | |
void | addRelativeEnergyResolution (std::vector< double > energyResolution, Binning binning) |
Add energy bin [vector of three pairs] and energy resolution [vector of three values] Energy resolution structure: [value, uncertainty up, uncertainty down] Energy bin structure for bin limit pairs: [energy limits, theta limits, phi limits]. | |
double | getRelativeEnergyResolution (double energy, double theta, double phi) const |
Get energy resolution for given energy, theta, phi. | |
Private Member Functions | |
ClassDef (ECLPhotonEnergyResolution, 1) | |
ClassDef. | |
Private Attributes | |
ParticleWeightingLookUpTable | m_resolutionBinningTable |
Utilise ParticleWeighting modules as holders for binning of energy resolution. | |
Class to hold the information ECL energy resolution derived from PERC.
Currently the energy resolution is given in energy bins and only valid for barrel region
Definition at line 35 of file ECLPhotonEnergyResolution.h.
! Default constructor
Define out of range resolution value as -1
Definition at line 14 of file ECLPhotonEnergyResolution.cc.
|
inline |
void addRelativeEnergyResolution | ( | std::vector< double > | energyResolution, |
Binning | binning | ||
) |
Add energy bin [vector of three pairs] and energy resolution [vector of three values] Energy resolution structure: [value, uncertainty up, uncertainty down] Energy bin structure for bin limit pairs: [energy limits, theta limits, phi limits].
energyResolution | energy resolution with uncertainties |
binning | binning of energy resolution valid region in bins of [energy, theta phi] |
Build energy resolution with uncertainties as info map
Extract energy, theta and phi bin values
Add resolution value to binning table
Definition at line 28 of file ECLPhotonEnergyResolution.cc.
|
inline |
Get ParticleWeightingLookUpTable with binned energy resolution.
Definition at line 51 of file ECLPhotonEnergyResolution.h.
double getRelativeEnergyResolution | ( | double | energy, |
double | theta, | ||
double | phi | ||
) | const |
Get energy resolution for given energy, theta, phi.
energy | photon energy value |
theta | photon theta value |
phi | photon phi value |
Construct energy, theta, phi map corresponding to binning structure
Extract energy resolution information
Definition at line 54 of file ECLPhotonEnergyResolution.cc.
|
private |
Utilise ParticleWeighting modules as holders for binning of energy resolution.
Definition at line 75 of file ECLPhotonEnergyResolution.h.