|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "CaloGeoHelpers/CaloSampling.h"
13 const double size = 0.12;
14 const std::vector<CaloCell_ID::SUBCALO> theVecCalo = {
19 const std::string&
name,
23 declareInterface<IegammaIso>(
this);
28 return StatusCode::SUCCESS;
31 return StatusCode::SUCCESS;
38 const double eta = cluster.
eta();
39 const double phi = cluster.
phi();
50 ehad +=HADCellList.
energy();
55 egap +=HADCellList.
energy();
77 const double cheta2 = cosh(
eta2);
78 info.ethad1 = cheta2!=0. ?
info.ehad1/cheta2 : 0.;
80 info.ethad = cheta2!=0. ? (ehad-egap)/cheta2 : 0.;
82 return StatusCode::SUCCESS;
virtual double phi() const
The azimuthal angle ( ) of the particle.
Scalar phi() const
phi method
void select(double eta, double phi, double deta, double dphi)
Scalar eta() const
pseudorapidity method
StatusCode finalize() override
finalize method
Definition of CaloDetDescrManager.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Description of a calorimeter cluster.
unsigned short nBadT(int i) const
virtual double eta() const
The pseudorapidity ( ) of the particle.
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode execute(const xAOD::CaloCluster &cluster, const CaloDetDescrManager &cmgr, const CaloCellContainer &cellcoll, Info &info) const override final
Method to just calculate hadronic leakage.
Container class for CaloCell.
egammaIso(const std::string &type, const std::string &name, const IInterface *parent)
Default constructor.
This class provides the client interface for accessing the detector description information common to...
StatusCode initialize() override
initialize method