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();
243 toAlignedCms.rotateZ(-1*momentum.phi());
244 toAlignedCms.rotateY(-1*momentum.theta());
246 for (
unsigned int index=0; index <
thePartons.size() ; index++ )
248 momentum=toAlignedCms *
thePartons[index]->Get4Momentum();