29#ifndef G4ExcitedString_h
30#define G4ExcitedString_h 1
127 return this == &right;
133 return this != &right;
166 for (
unsigned int index=0; index <
thePartons.size() ; index++ )
169 momentum +=
thePartons[index]->Get4Momentum();
184 for (
unsigned int index=0; index <
thePartons.size() ; index++ )
199 G4PartonVector::iterator insert_index;
201 if ( addafter != NULL )
206 G4String text =
"G4ExcitedString::InsertParton called with invalid second argument";
222 for (
unsigned int index=0; index <
thePartons.size() ; index++ )
224 momentum=toCms *
thePartons[index]->Get4Momentum();
242 momentum= toAlignedCms*
thePartons[0]->Get4Momentum();
246 for (
unsigned int index=0; index <
thePartons.size() ; index++ )
248 momentum=toAlignedCms *
thePartons[index]->Get4Momentum();
std::vector< G4Parton * > G4PartonVector
HepLorentzRotation & rotateY(double delta)
HepLorentzRotation & rotateZ(double delta)
Hep3Vector boostVector() const
G4bool operator!=(const G4ExcitedString &right) const
G4LorentzRotation TransformToCenterOfMass()
G4Parton * GetAntiColorParton(void) const
const G4PartonVector * GetPartonList() const
G4KineticTrack * GetKineticTrack() const
G4ExcitedString & operator=(const G4ExcitedString &right)
G4ThreeVector thePosition
void InsertParton(G4Parton *aParton, const G4Parton *addafter=NULL)
G4double GetTimeOfCreation() const
void SetPosition(const G4ThreeVector &aPosition)
G4KineticTrack * theTrack
const G4ThreeVector & GetPosition() const
G4ExcitedString(G4Parton *Color, G4Parton *Gluon, G4Parton *AntiColor, G4int Direction=PROJECTILE)
G4int GetDirection(void) const
G4PartonVector thePartons
G4LorentzRotation TransformToAlignedCms()
void Boost(G4ThreeVector &Velocity)
G4double theTimeOfCreation
G4Parton * GetGluon(void) const
G4bool operator==(const G4ExcitedString &right) const
G4Parton * GetRightParton(void) const
void SetTimeOfCreation(G4double aTime)
G4Parton * GetLeftParton(void) const
G4LorentzVector Get4Momentum() const
G4ExcitedString(const G4ExcitedString &right)
G4bool IsItKinkyString(void) const
G4Parton * GetColorParton(void) const
void LorentzRotate(const G4LorentzRotation &rotation)
void Set4Momentum(const G4LorentzVector &a4Momentum)
const G4LorentzVector & Get4Momentum() const