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