ATLAS Offline Software
CaloVertexedTopoCluster.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id$
15 
16 
17 namespace xAOD {
18 
28  {
29  }
30 
31 
43  {
44  }
45 
46 
56  const Amg::Vector3D& vx)
58  {
60  }
61 
62 
75  const Amg::Vector3D& vx)
77  {
79  }
80 
81 
82 
86 
87  double radius = 0;
88  double mag = 0;
89 
91  radius = mag/cosh(m_eta);
92  }
93 
94  return radius;
95  }
96 
97 } // namespace xAOD
xAOD::CaloCluster_v1::CENTER_MAG
@ CENTER_MAG
Cluster Centroid ( )
Definition: CaloCluster_v1.h:135
xAOD::CaloVertexedTopoCluster::CaloVertexedTopoCluster
CaloVertexedTopoCluster(const CaloCluster &cl)
Constructor.
Definition: CaloVertexedTopoCluster.cxx:26
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::CaloVertexedClusterBase::computeVertexCorr
void computeVertexCorr(const Amg::Vector3D &vx, double radius)
Calculate cluster kinematics for a given vertex.
Definition: CaloVertexedClusterBase.cxx:66
xAOD::CaloVertexedClusterBase::m_eta
double m_eta
The recalculated cluster eta.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h:109
xAOD::CaloCluster_v1::State
State
enum of possible signal states.
Definition: CaloCluster_v1.h:304
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
xAOD::CaloCluster_v1::retrieveMoment
bool retrieveMoment(MomentType type, double &value) const
Retrieve individual moment.
Definition: CaloCluster_v1.cxx:738
xAOD::CaloVertexedTopoCluster::retrieveRadius
double retrieveRadius()
returns the radius value needed for vertex correction.
Definition: CaloVertexedTopoCluster.cxx:85
xAOD::CaloVertexedClusterBase
Evaluate cluster kinematics with a different vertex / signal state.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h:41
CaloVertexedTopoCluster.h
Evaluate cluster kinematics with a different vertex / signal state.
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
xAOD::CaloVertexedClusterBase::m_cl
const CaloCluster * m_cl
The cluster being proxied.
Definition: Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h:105
dq_make_web_display.cl
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
Definition: dq_make_web_display.py:26
mag
Scalar mag() const
mag method
Definition: AmgMatrixBasePlugin.h:25