|
ATLAS Offline Software
|
Go to the documentation of this file.
43 #include "GaudiKernel/MsgStream.h"
57 <<
" inEndcap "<<cluster->
inEndcap()) ;
59 for(
int i=0;
i<5;
i=
i+4 )
62 if (
i==0 && !cluster->
inBarrel())
continue;
63 if (
i==4 && !cluster->
inEndcap())
continue;
79 if (
e1 <= 0 &&
e2 <= 0)
continue;
107 if (
eta != -999. && weta != 0)
double eSample(sampling_type sampling) const
Retrieve energy in a given sampling.
bool hasSampling(const sampling_type &theSampling) const
Checks if certain sampling contributes to cluster.
double phiBE(int sampling) const
EMB/EMEC combined barycenter .
double e1(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 1st sampling
Scalar eta() const
pseudorapidity method
bool inBarrel() const
Returns true if at least one clustered cell in EMB.
virtual void makeCorrection(const Context &myctx, xAOD::CaloCluster *cluster) const override
setEt setPhi setE277 setWeta2 eta1
Constant< bool > m_update_energy
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.
bool inEndcap() const
Returns true if at least one clustered cell in EMEC.
double etaSample(sampling_type sampling) const
Retrieve barycenter in a given sample.
Principal data class for CaloCell clusters.
CaloPhiRange class declaration.
virtual void setEta(double eta)
Set eta.
virtual void setE(double e)
Set energy.
double e2(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in 2nd sampling
Context object for retrieving ToolConstant values.
double e0(const xAOD::CaloCluster &cluster)
return the uncorrected cluster energy in pre-sampler
virtual void setPhi(double phi)
Set phi.
Gaudi::Property< float > m_w1