43 #ifndef G4INUCL_PARTICLE_HH
44 #define G4INUCL_PARTICLE_HH
47 #include <CLHEP/Units/SystemOfUnits.h>
90 return ( (&right ==
this) || (
pDP == right.
pDP) );
131 virtual void print(std::ostream& os)
const;
172 #endif // G4INUCL_PARTICLE_HH
virtual ~G4InuclParticle()
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
G4double GetTotalEnergy() const
G4InuclParticle(const G4ParticleDefinition *pd, G4double ekin, Model model=DefaultModel)
const G4DynamicParticle & getDynamicParticle() const
G4LorentzVector getMomentum() const
const G4ParticleDefinition * getDefinition() const
G4InuclParticle(const G4ParticleDefinition *pd, Model model=DefaultModel)
void setDefinition(const G4ParticleDefinition *pd)
G4double getEnergy() const
G4ParticleDefinition * GetDefinition() const
G4double getKineticEnergy() const
G4double GetTotalMomentum() const
G4InuclParticle(const G4DynamicParticle &dynPart, Model model=DefaultModel)
virtual void print(std::ostream &os) const
G4double GetCharge() const
void SetKineticEnergy(G4double aEnergy)
G4LorentzVector Get4Momentum() const
void Set4Momentum(const G4LorentzVector &momentum)
bool operator==(const G4InuclParticle &right)
G4InuclParticle(const G4LorentzVector &mom, Model model=DefaultModel)
static constexpr double GeV
G4InuclParticle(const G4InuclParticle &right)
G4double getCharge() const
G4InuclParticle & operator=(const G4InuclParticle &right)
void setMass(G4double mass)
void setModel(Model model)
static constexpr double MeV
void setKineticEnergy(G4double ekin)
void setMomentum(const G4LorentzVector &mom)
std::ostream & operator<<(std::ostream &os, const G4InuclParticle &part)
bool operator!=(const G4InuclParticle &right)
void SetMass(G4double mass)
G4double getMomModule() const
CLHEP::HepLorentzVector G4LorentzVector