|
ATLAS Offline Software
|
Go to the documentation of this file.
28 const std::string&
name,
29 const IInterface*
parent) :
32 declareInterface<IegammaCheckEnergyDepositTool>(
this);
41 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
53 if (cluster==
nullptr)
return false;
65 const double eallsamples =
e0+
e1+
e2+
e3;
67 if (eallsamples!=0.) {
68 const double inv_eallsamples = 1. / eallsamples;
71 double f0 =
e0 * inv_eallsamples;
75 double f1 =
e1 * inv_eallsamples;
79 double f2 =
e2 * inv_eallsamples;
83 double f3 =
e3 * inv_eallsamples;
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
@ f3
fraction of energy reconstructed in 3rd sampling
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
float energyBE(const unsigned layer) const
Get the energy in one layer of the EM Calo.
double e0(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in pre-sampler