|
ATLAS Offline Software
|
Go to the documentation of this file.
21 #include "GaudiKernel/MsgStream.h"
53 return StatusCode::SUCCESS;
58 return StatusCode::SUCCESS;
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 );
Constant< float > m_etamin_TR08
float eta() const
get Eta (calibrated)
virtual StatusCode initialize() override
Initialization of the tool.
void setEnergy(float energy)
set Energy (calibrated)
virtual void makeCorrection(xAOD::TrigEMCluster *, const void *v=nullptr) const override
method to perform the correction.
Constant< float > m_etamax_TR08
virtual StatusCode finalize() override
Finalization of the tool.
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
Constant< float > m_etamax_TR00
Constant< float > m_etamin_TR00
void setEt(float)
set Et (calibrated)
Description of a trigger EM cluster.
float energy() const
get Energy (calibrated)
Constant< CxxUtils::Array< 2 > > m_correction