114 {
115
117
120
122
125
126
128
129 if (p->
getId()==TAUM) {
132 }
133 else{
136 }
137
139 bool foundHadCurr=false;
142 foundHadCurr=true;
143 }
145
146
147 if ( thePis.contains(
getDaug(0)) &&
148 thePis.contains(
getDaug(1)) ) {
149
152
153 hadCurr = Fpi(q1,q2)*(q1-q2);
154
155 foundHadCurr = true;
156 }
157
158 }
160 if ( thePis.contains(
getDaug(0)) &&
162 thePis.contains(
getDaug(2)) ) {
163 foundHadCurr = true;
164
165
166
167 int diffPi(0),samePi1(0),samePi2(0);
171
175
177 double qMass2=Q.
mass2();
178
179 double GA1=_gammaA1*pi3G(Q.
mass2(),samePi1)/pi3G(_mA1*_mA1,samePi1);
180
183
184 hadCurr = BA1*( (q1-q3) - (Q*(Q*(q1-q3))/qMass2)*Fpi(q2,q3) +
185 (q2-q3) - (Q*(Q*(q2-q3))/qMass2)*Fpi(q1,q3) );
186
187
188 }
189
190
191 }
192
193
194
195 if ( !foundHadCurr ) {
196 report(
ERROR,
"EvtGen") <<
"Have not yet implemented this final state in TAUHADNU model" << endl;
198 int id;
199 for (
id=0;
id<(
getNDaug()-1);
id++ )
201
202 }
203
204
207
208 return;
209
210}
EvtVector4C EvtLeptonVACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
ostream & report(Severity severity, const char *facility)
void vertex(const EvtComplex &)
static std::string name(EvtId i)
static EvtId getId(const std::string &name)
virtual EvtDiracSpinor spParentNeutrino() const
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
virtual EvtDiracSpinor sp(int) const
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)