104{
107
109
110 int i,more;
111 int ndaugjs;
112 int kf[100];
115
116 double px[100],py[100],pz[100],e[100];
117
118 if ( p->
getNDaug() != 0 ) {
return;}
119 do{
121
122 for(i=0;i<ndaugjs;i++)
123 {
124
126
128
129
130
131
132
133
134
135 if (px[i]*px[i]+py[i]*py[i]+pz[i]*pz[i]>=e[i]*e[i])
136 e[i]=sqrt(px[i]*px[i]+py[i]*py[i]+pz[i]*pz[i])+0.0000000000001;
137
138 p4[i].
set(e[i],px[i],py[i],pz[i]);
139
140 }
141
143
144 more=((channel!=-1)&&(channel!=p->
getChannel()));
145
146 }while(more);
147
149
150 for(i=0;i<ndaugjs;i++)
152
153 return ;
154}
************Class m_ypar INTEGER m_KeyWgt INTEGER m_nphot INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
static int inChannelList(EvtId parent, int ndaug, EvtId *daugs)
static EvtId evtIdFromStdHep(int stdhep)
static EvtSpinType::spintype getSpinType(EvtId i)
void makeDaughters(int ndaug, EvtId *id)
virtual void init(EvtId part_n, const EvtVector4R &p4)=0
EvtParticle * getDaug(int i)
static void pythiaInit(int f)
static void pythiacont(double *, int *, int *, double *, double *, double *, double *)
void set(int i, double d)