43 #ifndef G4INUCL_PARTICLE_HH
44 #define G4INUCL_PARTICLE_HH
75 : pDP(dynPart), modelId(
model) {}
84 : pDP(right.pDP), modelId(right.modelId) {}
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
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
static constexpr double MeV
void SetKineticEnergy(G4double aEnergy)
G4LorentzVector Get4Momentum() const
void Set4Momentum(const G4LorentzVector &momentum)
bool operator==(const G4InuclParticle &right)
static constexpr double GeV
G4InuclParticle(const G4LorentzVector &mom, Model model=DefaultModel)
std::ostream & operator<<(std::ostream &, const BasicVector3D< float > &)
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)
const XML_Char XML_Content * model
bool operator!=(const G4InuclParticle &right)
void SetMass(G4double mass)
G4double getMomModule() const