#include <G4FragmentingString.hh>
Definition at line 49 of file G4FragmentingString.hh.
Definition at line 44 of file G4FragmentingString.cc.
46 LeftParton=old.LeftParton;
47 RightParton=old.RightParton;
52 theStableParton=old.theStableParton;
53 theDecayParton=old.theDecayParton;
54 decaying=old.decaying;
G4FragmentingString::G4FragmentingString |
( |
const G4ExcitedString & |
excited | ) |
|
Definition at line 76 of file G4FragmentingString.cc.
85 Pplus =P.
e() + P.
pz();
86 Pminus=P.
e() - P.
pz();
91 else {decaying=Right;}
const G4LorentzVector & Get4Momentum() const
G4Parton * GetLeftParton(void) const
G4ParticleDefinition * GetDefinition()
G4LorentzVector Get4Momentum() const
G4Parton * GetRightParton(void) const
G4int GetDirection(void) const
Definition at line 96 of file G4FragmentingString.cc.
101 if ( old.decaying == Left )
103 RightParton= old.RightParton;
104 Ptright = old.Ptright;
105 LeftParton = newdecay;
106 Ptleft = old.Ptleft - momentum->
vect();
111 }
else if ( old.decaying == Right )
113 RightParton = newdecay;
114 Ptright = old.Ptright - momentum->
vect();
116 LeftParton = old.LeftParton;
124 "G4FragmentingString::G4FragmentingString: no decay Direction defined");
126 Pplus = old.Pplus - (momentum->
e() + momentum->
pz());
127 Pminus = old.Pminus - (momentum->
e() - momentum->
pz());
G4ParticleDefinition * GetRightParton(void) const
G4ParticleDefinition * GetLeftParton(void) const
Definition at line 135 of file G4FragmentingString.cc.
143 theStableParton=0; theDecayParton=0;
145 if ( old.decaying == Left )
147 RightParton= old.RightParton;
148 LeftParton = newdecay;
150 }
else if ( old.decaying == Right )
152 RightParton = newdecay;
153 LeftParton = old.LeftParton;
158 "G4FragmentingString::G4FragmentingString: no decay Direction defined");
G4FragmentingString::~G4FragmentingString |
( |
| ) |
|
G4bool G4FragmentingString::DecayIsQuark |
( |
| ) |
|
Definition at line 225 of file G4FragmentingString.cc.
227 if (decaying == Left )
return Ptleft;
228 else if (decaying == Right )
return Ptright;
229 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
CLHEP::Hep3Vector G4ThreeVector
G4bool G4FragmentingString::FourQuarkString |
( |
void |
| ) |
const |
Definition at line 254 of file G4FragmentingString.cc.
257 momentum.setPz(0.5*(Pplus-Pminus));
258 momentum.setE(0.5*(Pplus+Pminus));
G4int G4FragmentingString::GetDecayDirection |
( |
| ) |
const |
Definition at line 187 of file G4FragmentingString.cc.
189 if (decaying == Left )
return +1;
190 else if (decaying == Right)
return -1;
191 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::GetDecayDirection: decay side UNdefined!");
G4double G4FragmentingString::LightConeDecay |
( |
| ) |
|
Definition at line 245 of file G4FragmentingString.cc.
247 if (decaying == Left )
return Pplus;
248 else if (decaying == Right )
return Pminus;
249 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
G4double G4FragmentingString::LightConeMinus |
( |
| ) |
|
G4double G4FragmentingString::LightConePlus |
( |
| ) |
|
G4double G4FragmentingString::Mass |
( |
| ) |
const |
G4double G4FragmentingString::Mass2 |
( |
| ) |
const |
G4double G4FragmentingString::MassT2 |
( |
| ) |
const |
Definition at line 57 of file G4FragmentingString.cc.
61 LeftParton=old.LeftParton;
62 RightParton=old.RightParton;
67 theStableParton=old.theStableParton;
68 theDecayParton=old.theDecayParton;
69 decaying=old.decaying;
void G4FragmentingString::SetLeftPartonStable |
( |
| ) |
|
Definition at line 169 of file G4FragmentingString.cc.
G4ParticleDefinition * GetRightParton(void) const
G4ParticleDefinition * GetLeftParton(void) const
void G4FragmentingString::SetRightPartonStable |
( |
| ) |
|
Definition at line 178 of file G4FragmentingString.cc.
G4ParticleDefinition * GetRightParton(void) const
G4ParticleDefinition * GetLeftParton(void) const
G4bool G4FragmentingString::StableIsQuark |
( |
| ) |
|
Definition at line 217 of file G4FragmentingString.cc.
219 if (decaying == Left )
return Ptright;
220 else if (decaying == Right )
return Ptleft;
221 else throw G4HadronicException(__FILE__, __LINE__,
"G4FragmentingString::DecayPt: decay side UNdefined!");
CLHEP::Hep3Vector G4ThreeVector
The documentation for this class was generated from the following files: