16#ifndef CALOUTILS_CALOVERTEXEDCELL_H
17#define CALOUTILS_CALOVERTEXEDCELL_H
Data object for each calorimeter readout cell.
virtual double sinTh() const final
The sine of the polar angle of the particle.
double m_eta
The recalculated cell eta.
virtual double eta() const final
The pseudorapidity of the particle.
double m_cosph
The recalculated cell cos(phi).
virtual double phi() const final
The aximuthal angle of the particle.
const CaloCell & cell() const
Return the cell being proxied,.
double m_sinth
The recalculated cell sin(theta).
double m_sinph
The recalculated cell sin(phi).
CaloVertexedCell(const CaloCell &cell)
Constructor.
virtual double e() const final
The energy of the particle.
void computeVertexCorr(const Amg::Vector3D &vx)
Calculate cell kinematics for a given vertex.
double m_phi
The recalculated cell phi.
virtual double sinPhi() const final
The sine of the azimuthal angle of the particle.
virtual double cosPhi() const final
The cosine of the azimuthal angle of the particle.
double m_costh
The recalculated cell cos(theta).
virtual double m() const final
The mass of the particle.
const CaloCell * m_cell
The cell being proxied.
double energy() const
The energy of the particle.
virtual double cosTh() const final
The cosine of the polar angle of the particle.
P4EEtaPhiMBase is a base class for classes with 4-momentum behavior, for which E, eta,...
Workaround x86 precision issues for FP inequality comparisons.
Eigen::Matrix< double, 3, 1 > Vector3D
bool greater(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Helper to compare two of these objects by energy.
bool operator()(const CaloVertexedCell &a, const CaloVertexedCell &b) const