Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
42 #include "GaudiKernel/MsgStream.h"
43 #include "GaudiKernel/ThreadLocalContext.h"
50 return StatusCode::SUCCESS;
60 ATH_MSG_DEBUG(
" ...... eta, etaBE, etaSmp " << cluster->eta() <<
" " << cluster->etaBE(2)
64 ATH_MSG_DEBUG(
" ...... phi, phiBE, phiSmp " << cluster->phi() <<
" " << cluster->phiBE(2)
70 return StatusCode::SUCCESS;
76 float em,
float etam,
float phim,
77 float emax,
float etamax,
float phimax,
78 float etas,
float phis)
const
80 cluster->setEnergy(sampling, em);
81 cluster->setEta(sampling, etam);
82 cluster->setPhi(sampling, phim);
84 cluster->setEmax(sampling,emax);
85 cluster->setEtamax(sampling,etamax);
86 cluster->setPhimax(sampling,phimax);
88 cluster->setEtasize(sampling,
etas);
89 cluster->setPhisize(sampling, phis);
96 if (cluster->e() == 0) {
99 <<
"Attempt to rescale zero-energy cluster to energy " <<
energy
114 if (cluster->hasSampling (sampling)) {
115 double e = cluster->eSample(sampling);
virtual void setsample(xAOD::CaloCluster *cluster, CaloSampling::CaloSample sampling, float em, float etam, float phim, float emax, float etamax, float phimax, float etas, float phis) const
virtual void setenergy(xAOD::CaloCluster *cluster, float energy) const
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
virtual StatusCode initialize() override
Initialize method.
::StatusCode StatusCode
StatusCode definition for legacy code.
Principal data class for CaloCell clusters.
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
#define REPORT_MESSAGE(LVL)
Report a message.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *) const =0
CaloCell_ID::CaloSample CaloSample
StatusCode execute(const EventContext &ctx, xAOD::CaloCluster *cluster) const override