45 thePartons.push_back(Color);
46 thePartons.push_back(AntiColor);
47 theTimeOfCreation = 0.;
49 theDirection = Direction;
55 thePartons.push_back(Color);
56 thePartons.push_back(Gluon);
57 thePartons.push_back(AntiColor);
58 theTimeOfCreation = 0.;
60 theDirection = Direction;
74 std::for_each(thePartons.begin(), thePartons.end(),
DeleteParton());
95 for(
unsigned int cParton = 0; cParton < thePartons.size() ; cParton++ )
99 thePartons[cParton]->Set4Momentum(Mom);
107 G4Parton * start = *(thePartons.begin());
108 G4Parton * end = *(thePartons.end()-1);
110 if (Encoding < -1000 || ((Encoding < 1000) && (Encoding > 0)))
119 return thePartons[1];
126 return thePartons[1 + GluonPos];
133 G4Parton * start = *(thePartons.begin());
134 G4Parton * end = *(thePartons.end()-1);
136 if (Encoding < -1000 || ((Encoding < 1000) && (Encoding > 0)))
145 return (thePartons.size() > 2);
159 return *thePartons.begin();
166 return *(thePartons.end()-1);
HepLorentzVector & boost(double, double, double)
G4Parton * GetAntiColorParton(void) const
G4ExcitedString(G4Parton *Color, G4Parton *Gluon, G4Parton *AntiColor, G4int Direction=PROJECTILE)
G4int GetDirection(void) const
void Boost(G4ThreeVector &Velocity)
G4Parton * GetGluon(void) const
G4Parton * GetRightParton(void) const
G4Parton * GetLeftParton(void) const
G4bool IsItKinkyString(void) const
G4Parton * GetColorParton(void) const
G4double GetFormationTime() const
const G4ThreeVector & GetPosition() const
const G4ThreeVector & GetPosition() const