ATLAS Offline Software
Loading...
Searching...
No Matches
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$
12
13
15
16
17namespace xAOD {
18
30
31
45
46
61
62
80
81
82
86
87 double radius = 0;
88 double mag = 0;
89
90 if (m_cl->retrieveMoment (CaloCluster::CENTER_MAG, mag)) {
91 radius = mag/cosh(m_eta);
92 }
93
94 return radius;
95 }
96
97} // namespace xAOD
Scalar mag() const
mag method
Evaluate cluster kinematics with a different vertex / signal state.
State
enum of possible signal states.
@ CENTER_MAG
Cluster Centroid ( )
CaloVertexedClusterBase(const CaloCluster &cl)
Constructor.
void computeVertexCorr(const Amg::Vector3D &vx, double radius)
Calculate cluster kinematics for a given vertex.
CaloVertexedTopoCluster(const CaloCluster &cl)
Constructor.
double retrieveRadius()
returns the radius value needed for vertex correction.
Eigen::Matrix< double, 3, 1 > Vector3D
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.