#include <Particle_v1.h>
Public Member Functions | |
| Particle_v1 () | |
| Default constructor. | |
| void | toPersistent () |
| Function preparing the object to be persistified. | |
Functions implementing additional 4-momentum properties | |
| double | px () const |
| Get the px momentum component of the particle. | |
| double | py () const |
| Get the py momentum component of the particle. | |
| double | pz () const |
| Get the pz momentum component of the particle. | |
| double | et () const |
| void | setP4 (const FourMom_t &vec) |
| Set the 4-vec. | |
| void | setPxPyPzE (double px, double py, double pz, double e) |
| Set the 4-vec. | |
| void | setPx (double px) |
| Set the x-component of the momentum. | |
| void | setPy (double py) |
| Set the y-component of the momentum. | |
| void | setPz (double pz) |
| Set the z-component of the momentum. | |
| void | setE (double e) |
| Set the energy. | |
Functions implementing other particly-type properties | |
| bool | hasCharge () const |
| Check if this particle has its charge set. | |
| float | charge () const |
| Return the electric charge. | |
| void | setCharge (float charge) |
| Set the electric charge. | |
| bool | hasPdgId () const |
| Check if this particle has its charge set. | |
| int | pdgId () const |
| Return the PDG identifier. | |
| void | setPdgId (int pdgID) |
| Set the PDG identifier. | |
Functions implementing the xAOD::IParticle interface | |
|
| |
| typedef IParticle::FourMom_t | FourMom_t |
| Definition of the 4-momentum type. | |
| virtual double | pt () const |
The transverse momentum ( ) of the particle. | |
| virtual double | eta () const |
The pseudorapidity ( ) of the particle. | |
| virtual double | phi () const |
The azimuthal angle ( ) of the particle. | |
| virtual double | m () const |
| The invariant mass of the particle. | |
| virtual double | e () const |
| The total energy of the particle. | |
| virtual double | rapidity () const |
| The true rapidity (y) of the particle. | |
| virtual const FourMom_t & | p4 () const |
| The full 4-momentum of the particle. | |
| virtual Type::ObjectType | type () const |
| The type of the object as a simple enumeration. | |
Description of a generic particle.
| double xAOD::Particle_v1::et | ( | ) | const |
The transverse energy (
) of the particle. Note that this differs from (
) for massive particles.
1.6.1