#include <G4Nucleon.hh>
Definition at line 54 of file G4Nucleon.hh.
Definition at line 38 of file G4Nucleon.cc.
39 : theBindingE(0.) , theParticleType(0), theSplitableHadron(0)
G4Nucleon::~G4Nucleon |
( |
| ) |
|
G4bool G4Nucleon::AreYouHit |
( |
| ) |
const |
|
inline |
Definition at line 97 of file G4Nucleon.hh.
97 {
return theSplitableHadron!=0;}
Definition at line 87 of file G4Nucleon.hh.
87 { theMomentum.
boost(beta); }
HepLorentzVector & boost(double, double, double)
Definition at line 46 of file G4Nucleon.cc.
51 ( theMomentum.
vect()*aMomentum.
vect()/(aMomentum.
e()+mass) - theMomentum.
e() ) / mass;
53 theMomentum.
setE(1/mass*theMomentum.
dot(aMomentum));
double dot(const HepLorentzVector &) const
void setVect(const Hep3Vector &)
G4double G4Nucleon::GetBindingEnergy |
( |
| ) |
const |
|
inline |
Definition at line 84 of file G4Nucleon.hh.
84 {
return theParticleType;}
Definition at line 96 of file G4Nucleon.hh.
96 {
return theSplitableHadron;}
Definition at line 90 of file G4Nucleon.hh.
90 { theSplitableHadron=aHit;}
Definition at line 121 of file G4Nucleon.hh.
virtual const G4LorentzVector & Get4Momentum() const
virtual const G4ThreeVector & GetPosition() const
virtual const G4ParticleDefinition * GetDefinition() const
G4VSplitableHadron * GetSplitableHadron() const
G4double GetBindingEnergy() const
Definition at line 74 of file G4Nucleon.hh.
74 {theBindingE = anEnergy;}
Definition at line 70 of file G4Nucleon.hh.
70 {theMomentum = aMomentum;}
Definition at line 77 of file G4Nucleon.hh.
77 {theParticleType = aProton;}
Definition at line 78 of file G4Nucleon.hh.
78 {theParticleType = aNeutron;}
Definition at line 80 of file G4Nucleon.hh.
80 {theParticleType =aAntiProton;}
Definition at line 81 of file G4Nucleon.hh.
81 {theParticleType =aAntiNeutron;}
Definition at line 67 of file G4Nucleon.hh.
67 {thePosition = aPosition;}
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/source/processes/hadronic/models/util/include/G4Nucleon.hh
- source/geant4.10.03.p03/source/processes/hadronic/models/util/src/G4Nucleon.cc