98 # define pycomp pycomp_
99 # define py1ent py1ent_
100 # define type_of_call
102 # define pycomp PYCOMP
103 # define py1ent PY1ENT
104 # define type_of_call _stdcall
113 Pythia6* Pythia6::fgInstance = 0;
121 if ( ! fgInstance ) fgInstance =
new Pythia6();
141 std::cerr <<
"There's already an instance of Pythia6" << std::endl;
161 ParticleVector::const_iterator it;
162 for ( it = fParticles->begin(); it != fParticles->end(); it++ )
199 py1ent(ip, kf, pe, theta, phi);
216 if ( particles == 0 )
return 0;
218 ParticleVector::const_iterator it;
219 for ( it = particles->begin(); it != particles->end(); it++ )
223 int numpart = fPyjets->
N;
225 if (!strcmp(option,
"") || !strcmp(option,
"Final")) {
226 for (
int i = 0; i<numpart; i++) {
228 if (fPyjets->
K[0][i] == 1) {
232 particles->push_back(
255 else if (!strcmp(option,
"All")) {
256 for (
int i = 0; i<numpart; i++) {
257 particles->push_back(