Hammer
1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
|
#include <Particle.hh>
Public Member Functions | |
Particle () | |
Particle (const FourMomentum &p, PdgId code) | |
Particle (const Particle &other)=default | |
Particle & | operator= (const Particle &other)=default |
~Particle () | |
Particle & | setMomentum (const FourMomentum &p) |
Particle & | setPdgId (PdgId code) |
PdgId | pdgId () const |
const FourMomentum & | momentum () const |
FourMomentum & | momentum () |
const FourMomentum & | p () const |
FourMomentum & | p () |
Private Attributes | |
PdgId | _code |
FourMomentum | _momentum |
Hammer::Particle::Particle | ( | ) |
Definition at line 26 of file Particle.cc.
Hammer::Particle::Particle | ( | const FourMomentum & | p, |
PdgId | code | ||
) |
[in] | p | |
[in] | code |
Definition at line 31 of file Particle.cc.
|
default |
|
inline |
Definition at line 46 of file Particle.hh.
const FourMomentum & Hammer::Particle::momentum | ( | ) | const |
Definition at line 56 of file Particle.cc.
FourMomentum & Hammer::Particle::momentum | ( | ) |
Definition at line 60 of file Particle.cc.
const FourMomentum & Hammer::Particle::p | ( | ) | const |
Definition at line 64 of file Particle.cc.
FourMomentum & Hammer::Particle::p | ( | ) |
Definition at line 68 of file Particle.cc.
PdgId Hammer::Particle::pdgId | ( | ) | const |
Definition at line 52 of file Particle.cc.
Particle & Hammer::Particle::setMomentum | ( | const FourMomentum & | p | ) |
|
private |
Definition at line 82 of file Particle.hh.
|
private |
Definition at line 83 of file Particle.hh.