Loading [MathJax]/extensions/tex2jax.js
 |
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;
56 double e0 = cluster->energyBE(0);
57 double e1 = cluster->energyBE(1);
58 double e2 = cluster->energyBE(2);
59 double e3 = cluster->energyBE(3);
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
double e0(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in pre-sampler