#include <Particle.hh>
Definition at line 17 of file Particle.hh.
Public Member Functions | |
Particle () | |
Default constructor. | |
Particle (const GenParticle &gp) | |
Constructor from a HepMC GenParticle. | |
Particle (const Particle &p) | |
Copy-constructor. | |
~Particle () | |
Destructor. | |
Particle & | operator= (const Particle &p) |
const GenParticle & | getHepMCParticle () const |
Get a const reference to the original GenParticle. | |
bool | hasHepMCParticle () const |
Check if the particle corresponds to a GenParticle. | |
const long | getPdgId () const |
The PDG ID code for this Particle. | |
CLHEP::LorentzVector & | getMomentum () |
The momentum of this projection of the Particle. | |
const CLHEP::LorentzVector & | getMomentum () const |
The momentum of this projection of the Particle. | |
const double | getMass () const |
The mass of this Particle. |
|
Default constructor.
Definition at line 21 of file Particle.hh. |
|
Constructor from a HepMC GenParticle.
Definition at line 8 of file Particle.cc. References CLHEP::LorentzVector. |
|
Copy-constructor.
Definition at line 16 of file Particle.cc. |
|
Destructor.
Definition at line 23 of file Particle.cc. |
|
Get a const reference to the original GenParticle.
Definition at line 40 of file Particle.hh. References Rivet::GenParticle. Referenced by FinalStateHCM::project(), and DISKinematics::project(). |
|
The mass of this Particle.
Definition at line 55 of file Particle.hh. |
|
The momentum of this projection of the Particle.
Definition at line 52 of file Particle.hh. |
|
The momentum of this projection of the Particle.
Definition at line 49 of file Particle.hh. Referenced by DISKinematics::project(). |
|
The PDG ID code for this Particle.
Definition at line 46 of file Particle.hh. |
|
Check if the particle corresponds to a GenParticle.
Definition at line 43 of file Particle.hh. Referenced by DISLepton::project(). |
|
Definition at line 28 of file Particle.cc. References Particle::_id, Particle::_mass, Particle::_momentum, Particle::_original, and CLHEP::LorentzVector. |