![]() |
ATLAS Offline Software
|
Evaluate cluster kinematics with a different vertex / signal state. More...
#include <CaloVertexedClusterBase.h>
Public Types | |
Functions describing the 4-momentum of the object | |
| typedef TLorentzVector | FourMom_t |
| Definition of the 4-momentum type. | |
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 final |
| The type of the object as a simple enumeration. | |
Functions describing the 4-momentum of the object | |
| virtual double | pt () const final |
| The transverse momentum ( \(p_T\)) of the particle. | |
| virtual double | eta () const final |
| The pseudorapidity ( \(\eta\)) of the particle. | |
| virtual double | phi () const final |
| The azimuthal angle ( \(\phi\)) of the particle. | |
| virtual double | m () const final |
| The invariant mass of the particle. | |
| virtual double | e () const final |
| The total energy of the particle. | |
| virtual double | rapidity () const final |
| The true rapidity (y) of the particle. | |
| virtual FourMom_t | p4 () const final |
| The full 4-momentum of the particle. | |
Functions for getting and setting user properties | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED T & | auxdata (const std::string &name, const std::string &clsname="") |
| Fetch an aux data variable, as a non-const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED const T & | auxdata (const std::string &name, const std::string &clsname="") const |
| Fetch an aux data variable, as a const reference. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for reading or not. | |
| template<class T> | |
| XAOD_AUXDATA_DEPRECATED bool | isAvailableWritable (const std::string &name, const std::string &clsname="") const |
| Check if a user property is available for writing or not. | |
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. Definition at line 39 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inherited |
Definition of the 4-momentum type.
Definition at line 69 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
| 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.
Definition at line 33 of file CaloVertexedClusterBase.cxx.
| 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.
Definition at line 50 of file CaloVertexedClusterBase.cxx.
|
inlineinherited |
Fetch an aux data variable, as a non-const reference.
This function provides an easy way for users to decorate objects with auxiliary data.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 98 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Fetch an aux data variable, as a const reference.
This function provides an easy way for users to retrieve auxiliary decorations from an object.
Take note that this function is slow. Should not be used inside time-critical code.
Definition at line 118 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inline |
Return the cluster being proxied,.
Definition at line 69 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
protected |
Calculate cluster kinematics for a given vertex.
| vx | The vertex to use for calculating cluster kinematics. |
Definition at line 67 of file CaloVertexedClusterBase.cxx.
|
inlinefinalvirtual |
The total energy of the particle.
Implements xAOD::IParticle.
Definition at line 83 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The pseudorapidity ( \(\eta\)) of the particle.
Implements xAOD::IParticle.
Definition at line 77 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlineinherited |
Check if a user property is available for reading or not.
This function should be used to check if a user property which may or may not exist, is set on the object.
Definition at line 135 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlineinherited |
Check if a user property is available for writing or not.
This function can be used to check whether it will be possible to set a user property on the object.
Definition at line 152 of file Event/xAOD/xAODBase/xAODBase/IParticle.h.
|
inlinefinalvirtual |
The invariant mass of the particle.
Implements xAOD::IParticle.
Definition at line 81 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The full 4-momentum of the particle.
Implements xAOD::IParticle.
Definition at line 88 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The azimuthal angle ( \(\phi\)) of the particle.
Implements xAOD::IParticle.
Definition at line 79 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The transverse momentum ( \(p_T\)) of the particle.
Implements xAOD::IParticle.
Definition at line 75 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The true rapidity (y) of the particle.
Implements xAOD::IParticle.
Definition at line 85 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
inlinefinalvirtual |
The type of the object as a simple enumeration.
Implements xAOD::IParticle.
Definition at line 93 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
protected |
The cluster being proxied.
Definition at line 105 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
protected |
The recalculated cluster eta.
Definition at line 109 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
protected |
The recalculated cluster 4-momentum.
Definition at line 117 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.
|
protected |
The recalculated cluster phi.
Definition at line 113 of file Event/xAOD/xAODCaloEvent/xAODCaloEvent/CaloVertexedClusterBase.h.