23 double lhs_eta = useDecor ? cl_eta2Acc(online) :
online.
eta();
24 double lhs_phi = useDecor ? cl_phi2Acc(online) :
online.
phi();
25 double rhs_eta =
offline.etaBE(2);
26 double rhs_phi =
offline.phiBE(2);
37 "Use the decorated cluster values instead of the link to the cluster.");
42 return StatusCode::SUCCESS;
62 *
dynamic_cast<const xAOD::Egamma &
>(online).caloCluster(),
67 *
dynamic_cast<const xAOD::Egamma &
>(online).caloCluster(),
71 std::ostringstream oss;
72 oss <<
"Not an egamma type: " << online.type();
73 throw std::runtime_error(oss.str());
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
Helper class to provide constant type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
Helper class to provide constant type-safe access to aux data.
float phiBE(const unsigned layer) const
Get the phi in one layer of the EM Calo.
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Class providing the definition of the 4-vector interface.
The common trigger namespace for trigger analysis tools.
@ Photon
The object is a photon.
@ CaloCluster
The object is a calorimeter cluster.
@ Electron
The object is an electron.
double deltaR(double rapidity1, double phi1, double rapidity2, double phi2)
from bare bare rapidity,phi
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
Egamma_v1 Egamma
Definition of the current "egamma version".