47 G4String text =
"G4Parton::GetDefinition(): Encoding not in particle table";
72 G4String text =
"G4Parton::GetDefinition(): Particle is not a parton";
87 if (thisPDGiIsospin == 0) {
98 if (thisPDGiSpin == 0) {
103 theSpinZ = rand-thisPDGiSpin*0.5;;
110 theMomentum = right.theMomentum;
111 thePosition = right.thePosition;
114 theColour = right.theColour;
115 theIsoSpinZ = right.theIsoSpinZ;
116 theSpinZ = right.theSpinZ;
128 theColour = right.theColour;
129 theIsoSpinZ = right.theIsoSpinZ;
130 theSpinZ = right.theSpinZ;
146 aLightConeMomentum*=theX;
148 a4Momentum.
setPz(0.5*(aLightConeMomentum - TransverseMass2/aLightConeMomentum)*(aDirection? 1: -1));
149 a4Momentum.
setE( 0.5*(aLightConeMomentum + TransverseMass2/aLightConeMomentum));
157 aLightConeMomentum*=theX;
160 a4Momentum.
setPz(0.5*(aLightConeMomentum - aLightConeE - TransverseMass2/aLightConeMomentum)*(aDirection? 1: -1));
161 a4Momentum.
setE( 0.5*(aLightConeMomentum + aLightConeE + TransverseMass2/aLightConeMomentum));
G4GLOB_DLL std::ostream G4cout
G4int GetPDGiIsospin() const
const G4String & GetParticleType() const
G4int GetPDGiSpin() const
G4double GetPDGIsospin3() const
G4ParticleDefinition * FindParticle(G4int PDGEncoding)
static G4ParticleTable * GetParticleTable()
G4ParticleDefinition * theDefinition
G4Parton & operator=(const G4Parton &right)
const G4ThreeVector & GetPosition() const
void Set4Momentum(const G4LorentzVector &aMomentum)
void DefineMomentumInZ(G4double aLightConeMomentum, G4bool aDirection)
const G4LorentzVector & Get4Momentum() const