General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
More...
#include <EgammaTransitionRegions.h>
General Interface for calibrations at the LVL2 Egamma Calo Fex algo.
Definition at line 23 of file EgammaTransitionRegions.h.
◆ finalize()
StatusCode EgammaTransitionRegions::finalize |
( |
| ) |
|
|
overridevirtual |
◆ initialize()
StatusCode EgammaTransitionRegions::initialize |
( |
| ) |
|
|
overridevirtual |
◆ makeCorrection()
method to perform the correction.
The correction type is defined by the tool which also uses this interface. In some cases, the tool needs more than the cluster to perform the calibration. This can be passed via the void pointer
Definition at line 61 of file EgammaTransitionRegions.cxx.
64 float the_aeta = (clus->
eta());
66 the_aeta = (the_aeta>0)?(the_aeta):(- the_aeta);
71 ATH_MSG_DEBUG(
"************************************************************************************************" );
73 ATH_MSG_DEBUG(
"************************************************************************************************" );
81 ATH_MSG_DEBUG(
"************************************************************************************************" );
95 corr = ( tr00[0] - tr00[1] / (
exp( tr00[2] - the_aeta ) +
exp( tr00[3]*( the_aeta - tr00[4]))+tr00[5]));
110 ATH_MSG_DEBUG(
"Applying correction for eta = 0.8 (loose) " );
111 ATH_MSG_DEBUG( tr08[0] <<
" " << tr08[1] <<
" " << tr08[2] );
113 corr = (tr08[0] - tr08[1] / (
exp( tr08[2] - the_aeta ) +
114 exp( tr08[3] *( the_aeta - tr08[4] )) + tr08[5] ));
120 <<
" Correction --> " << corr );
122 if ( corr == 1 )
return;
130 for (
int sampling=1; sampling<=3; sampling++){
131 if (the_aeta < 1.37 )
133 clus->
energy(samps[0][sampling]) / corr );
◆ m_correction
Constant<CxxUtils::Array<2> > EgammaTransitionRegions::m_correction { this, "correction" } |
|
private |
◆ m_etamax_TR00
Constant<float> EgammaTransitionRegions::m_etamax_TR00 { this, "etamax_TR00" } |
|
private |
◆ m_etamax_TR08
Constant<float> EgammaTransitionRegions::m_etamax_TR08 { this, "etamax_TR08" } |
|
private |
◆ m_etamin_TR00
Constant<float> EgammaTransitionRegions::m_etamin_TR00 { this, "etamin_TR00" } |
|
private |
◆ m_etamin_TR08
Constant<float> EgammaTransitionRegions::m_etamin_TR08 { this, "etamin_TR08" } |
|
private |
◆ m_use_raw_eta
Constant<bool> EgammaTransitionRegions::m_use_raw_eta { this, "use_raw_eta" } |
|
private |
The documentation for this class was generated from the following files: