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());
99 for(
unsigned int cParton = 0; cParton < thePartons.size() ; cParton++ )
103 thePartons[cParton]->Set4Momentum(Mom);
111 G4Parton * start = *(thePartons.begin());
112 G4Parton * end = *(thePartons.end()-1);
114 if (Encoding < -1000 || ((Encoding < 1000) && (Encoding > 0)))
123 return thePartons[1];
130 return thePartons[1 + GluonPos];
137 G4Parton * start = *(thePartons.begin());
138 G4Parton * end = *(thePartons.end()-1);
140 if (Encoding < -1000 || ((Encoding < 1000) && (Encoding > 0)))
149 return (thePartons.size() > 2);
163 return *thePartons.begin();
170 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