![]() |
ATLAS Offline Software
|
get resolution for electron and photons (converted / unconverted) vs E,eta More...
#include <eg_resolution.h>
Public Member Functions | |
eg_resolution (const std::string &configuration) | |
constructor (initialization done there reading root files with resolution fit parameters More... | |
~eg_resolution ()=default | |
double | getResolution (int particle_type, double energy, double eta, int resol_type=2) const |
get relative resolution (sigmaE/E) as a function of E (in Mev) and eta More... | |
double | getResolution (const xAOD::Egamma &particle, int resol_type=2) const |
get relative resolution (sigmaE/E) for egamma particles More... | |
Static Public Attributes | |
static constexpr size_t | samplings = 4 |
static constexpr size_t | resolTypes = 3 |
Private Attributes | |
std::array< std::array< std::unique_ptr< TH1 >, resolTypes >, samplings > | m_hSampling |
std::array< std::array< std::unique_ptr< TH1 >, resolTypes >, samplings > | m_hNoise |
std::array< std::array< std::unique_ptr< TH1 >, resolTypes >, samplings > | m_hConst |
const TArrayD * | m_etaBins |
get resolution for electron and photons (converted / unconverted) vs E,eta
Different parameterizations (gaussian core, sigma eff 90% and 80% from crystal ball fits) are available.
This in MC based without pileup.
Definition at line 27 of file eg_resolution.h.
eg_resolution::eg_resolution | ( | const std::string & | configuration | ) |
constructor (initialization done there reading root files with resolution fit parameters
Definition at line 29 of file eg_resolution.cxx.
|
default |
double eg_resolution::getResolution | ( | const xAOD::Egamma & | particle, |
int | resol_type = 2 |
||
) | const |
get relative resolution (sigmaE/E) for egamma particles
resolution type : 0=gaussian core, 1=sigma eff 80%, 2=sigma eff 90% (default)
Definition at line 180 of file eg_resolution.cxx.
double eg_resolution::getResolution | ( | int | particle_type, |
double | energy, | ||
double | eta, | ||
int | resol_type = 2 |
||
) | const |
get relative resolution (sigmaE/E) as a function of E (in Mev) and eta
particle type : 0=electron, 1=reco unconverted photon, 2=reco converted photon, 3=true unconverted photon
resolution type : 0=gaussian core, 1=sigma eff 80%, 2=sigma eff 90% (default)
Definition at line 136 of file eg_resolution.cxx.
|
private |
Definition at line 60 of file eg_resolution.h.
|
private |
Definition at line 59 of file eg_resolution.h.
|
private |
Definition at line 58 of file eg_resolution.h.
|
private |
Definition at line 57 of file eg_resolution.h.
|
staticconstexpr |
Definition at line 32 of file eg_resolution.h.
|
staticconstexpr |
Definition at line 31 of file eg_resolution.h.