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);