42#ifndef G4INUCL_PARTICLE_HH
43#define G4INUCL_PARTICLE_HH
74 : pDP(dynPart), modelId(model) {}
77 : modelId(model) { pDP.
Set4Momentum(mom*CLHEP::GeV/CLHEP::MeV); }
83 : pDP(right.pDP), modelId(right.modelId) {}
89 return ( (&right ==
this) || (pDP == right.pDP) );
107 return pDP.
GetMass()*CLHEP::MeV/CLHEP::GeV;
130 virtual void print(std::ostream& os)
const;
std::ostream & operator<<(std::ostream &os, const G4InuclParticle &part)
G4double GetCharge() const
void SetMass(G4double mass)
G4ParticleDefinition * GetDefinition() const
G4LorentzVector Get4Momentum() const
G4double GetKineticEnergy() const
G4double GetTotalEnergy() const
void Set4Momentum(const G4LorentzVector &momentum)
G4double GetTotalMomentum() const
void SetKineticEnergy(G4double aEnergy)
G4InuclParticle(const G4LorentzVector &mom, Model model=DefaultModel)
bool operator==(const G4InuclParticle &right)
G4InuclParticle(const G4InuclParticle &right)
void setMass(G4double mass)
G4ParticleDefinition * getDefinition() const
virtual void print(std::ostream &os) const
G4double getKineticEnergy() const
G4InuclParticle & operator=(const G4InuclParticle &right)
G4LorentzVector getMomentum() const
G4double getMomModule() const
void setKineticEnergy(G4double ekin)
G4double getEnergy() const
G4InuclParticle(G4ParticleDefinition *pd, Model model=DefaultModel)
void setMomentum(const G4LorentzVector &mom)
bool operator!=(const G4InuclParticle &right)
virtual ~G4InuclParticle()
const G4DynamicParticle & getDynamicParticle() const
G4InuclParticle(const G4DynamicParticle &dynPart, Model model=DefaultModel)
G4double getCharge() const
void setDefinition(G4ParticleDefinition *pd)
G4InuclParticle(G4ParticleDefinition *pd, G4double ekin, Model model=DefaultModel)
void setModel(Model model)