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 | |
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 | |
double | getResolution (const xAOD::Egamma &particle, int resol_type=2) const |
get relative resolution (sigmaE/E) for egamma particles |
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.
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)
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)