48 LeftParton=old.LeftParton;
49 RightParton=old.RightParton;
54 theStableParton=old.theStableParton;
55 theDecayParton=old.theDecayParton;
56 decaying=old.decaying;
66 LeftParton=old.LeftParton;
67 RightParton=old.RightParton;
72 theStableParton=old.theStableParton;
73 theDecayParton=old.theDecayParton;
74 decaying=old.decaying;
96 else {decaying=Right;}
100 Pstring= Pleft + Pright;
102 Pplus = Pstring.
plus();
103 Pminus = Pstring.
minus();
116 if ( old.decaying == Left )
118 RightParton= old.RightParton;
119 Ptright = old.Ptright;
122 LeftParton = newdecay;
123 Ptleft = old.Ptleft - momentum->
vect();
125 Pleft = old.Pleft - Momentum;
127 Pstring = Pleft + Pright;
128 Pplus = Pstring.
plus();
129 Pminus = Pstring.
minus();
134 }
else if ( old.decaying == Right )
136 RightParton = newdecay;
137 Ptright = old.Ptright - momentum->
vect();
139 Pright = old.Pright - Momentum;
141 LeftParton = old.LeftParton;
145 Pstring = Pleft + Pright;
146 Pplus = Pstring.
plus();
147 Pminus = Pstring.
minus();
155 "G4FragmentingString::G4FragmentingString: no decay Direction defined");
170 theStableParton=0; theDecayParton=0;
176 if ( old.decaying == Left )
178 RightParton= old.RightParton;
179 LeftParton = newdecay;
181 }
else if ( old.decaying == Right )
183 RightParton = newdecay;
184 LeftParton = old.LeftParton;
189 "G4FragmentingString::G4FragmentingString: no decay Direction defined");
221 if (decaying == Left )
return +1;
222 else if (decaying == Right)
return -1;
224 "G4FragmentingString::GetDecayDirection: decay side UNdefined!");
252 if (decaying == Left )
return Ptright;
253 else if (decaying == Right )
return Ptleft;
254 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
260 if (decaying == Left )
return Ptleft;
261 else if (decaying == Right )
return Ptright;
262 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
280 if (decaying == Left )
return Pplus;
281 else if (decaying == Right )
return Pminus;
282 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
294 return Pstring.
mag2();
299 return Pstring.
mag();
326 momentum = toAlignedCms * Pleft;
331 Pleft *= toAlignedCms;
332 Pright *= toAlignedCms;
333 Pstring *= toAlignedCms;
338 Pplus = Pstring.
plus();
339 Pminus = Pstring.
minus();
CLHEP::HepLorentzVector G4LorentzVector
CLHEP::Hep3Vector G4ThreeVector
HepLorentzRotation & rotateY(double delta)
HepLorentzRotation & rotateZ(double delta)
Hep3Vector boostVector() const
G4int GetDirection(void) const
G4Parton * GetRightParton(void) const
G4Parton * GetLeftParton(void) const
G4bool IsAFourQuarkString(void) const
G4double LightConeDecay()
G4double LightConeMinus()
G4ParticleDefinition * GetLeftParton(void) const
G4ParticleDefinition * GetRightParton(void) const
G4LorentzVector Get4Momentum() const
G4LorentzVector GetPstring()
G4LorentzRotation TransformToAlignedCms()
void SetRightPartonStable()
void SetLeftPartonStable()
G4int GetDecayDirection() const
G4LorentzVector GetPright()
G4FragmentingString(const G4FragmentingString &right)
G4FragmentingString & operator=(const G4FragmentingString &)
G4LorentzVector GetPleft()
const G4String & GetParticleSubType() const
G4ParticleDefinition * GetDefinition()
const G4LorentzVector & Get4Momentum() const