70 if (radius<1.)
return;
75 if (std::fabs(
eta)>10. || std::fabs(
phi)>10.)
return;
78 double iradius = 1 / radius;
80 m_phi +=
sc.apply (vx[0], -vx[1]) * iradius;
Base class to evaluate cluster kinematics with a different vertex / signal state.
State
enum of possible signal states.
CaloVertexedClusterBase(const CaloCluster &cl)
Constructor.
FourMom_t m_p4
The recalculated cluster 4-momentum.
virtual FourMom_t p4() const final
The full 4-momentum of the particle.
const CaloCluster * m_cl
The cluster being proxied.
virtual double phi() const final
The azimuthal angle ( ) of the particle.
virtual double eta() const final
The pseudorapidity ( ) of the particle.
void computeVertexCorr(const Amg::Vector3D &vx, double radius)
Calculate cluster kinematics for a given vertex.
double m_phi
The recalculated cluster phi.
virtual double pt() const final
The transverse momentum ( ) of the particle.
double m_eta
The recalculated cluster eta.
Eigen::Matrix< double, 3, 1 > Vector3D
T wrapToPi(T phi)
Wrap angle in radians to [-pi, pi].
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.
Helper for azimuthal angle calculations.
Helper to simultaneously calculate sin and cos of the same angle.
Helper to simultaneously calculate sin and cos of the same angle.