Evaluate cluster kinematics with a different vertex / signal state. More...
#include <CaloVertexedClusterBase.h>
Public Member Functions | |
CaloVertexedClusterBase (const CaloCluster &cl) | |
Constructor. | |
CaloVertexedClusterBase (const CaloCluster &cl, CaloCluster::State s) | |
Constructor. | |
const CaloCluster & | clust () const |
Return the cluster being proxied,. | |
virtual Type::ObjectType | type () const ATH_FINAL |
The type of the object as a simple enumeration. | |
Functions describing the 4-momentum of the object | |
virtual double | pt () const ATH_FINAL |
The transverse momentum () of the particle. | |
virtual double | eta () const ATH_FINAL |
The pseudorapidity () of the particle. | |
virtual double | phi () const ATH_FINAL |
The azimuthal angle () of the particle. | |
virtual double | m () const ATH_FINAL |
The invariant mass of the particle. | |
virtual double | e () const ATH_FINAL |
The total energy of the particle. | |
virtual double | rapidity () const ATH_FINAL |
The true rapidity (y) of the particle. | |
virtual const FourMom_t & | p4 () const ATH_FINAL |
The full 4-momentum of the particle. | |
Protected Member Functions | |
void | computeVertexCorr (const Amg::Vector3D &vx, double radius) |
Calculate cluster kinematics for a given vertex. | |
Protected Attributes | |
const CaloCluster * | m_cl |
The cluster being proxied. | |
double | m_eta |
The recalculated cluster eta. | |
double | m_phi |
The recalculated cluster phi. | |
FourMom_t | m_p4 |
The recalculated cluster 4-momentum. |
Evaluate cluster kinematics with a different vertex / signal state.
A base for classes acting as a proxy for a cluster object. Concrete classes are
IParticle
interface, except that the cluster kinematics are recalculated for a different vertex, and optionally a different signal state. xAOD::CaloVertexedClusterBase::CaloVertexedClusterBase | ( | const CaloCluster & | cl | ) |
Constructor.
cl | The cluster to proxy. |
In this case, we'll return unchanged the kinematics of the cluster for the default signal state.
xAOD::CaloVertexedClusterBase::CaloVertexedClusterBase | ( | const CaloCluster & | cl, | |
CaloCluster::State | s | |||
) |
Constructor.
cl | The cluster to proxy. | |
s | The desired signal state. |
In this case, we'll return unchanged the kinematics of the cluster for signal state S.
void xAOD::CaloVertexedClusterBase::computeVertexCorr | ( | const Amg::Vector3D & | vx, | |
double | radius | |||
) | [protected] |
Calculate cluster kinematics for a given vertex.
vx | The vertex to use for calculating cluster kinematics. |