45 model_name=
"LNUGAMMA";
103 if (p->
getId()==BM) {
115 double photE = photp.
get(0);
128 else if (p->
getId()==BM) {
138 EvtVector4C temp1b = (photone1)*(parVelocity*photp);
139 EvtVector4C temp1c = (photp)*(photone1*parVelocity);
141 EvtVector4C temp2b = (photone2)*(parVelocity*photp);
142 EvtVector4C temp2c = (photp)*(photone2*parVelocity);
144 photon1 = (temp1a*fv) + (myI*
fa*(temp1b - temp1c));
145 photon2 = (temp2a*fv) + (myI*
fa*(temp2b - temp2c));
163 double formFactor = 0;
167 if (photonEnergy >
getArg(0)){
168 formFactor = (1/photonEnergy) * ((qu*
getArg(1)) - (qb/
getArg(2)));
Evt3Rank3C directProd(const EvtVector3C &c1, const EvtVector3C &c2, const EvtVector3C &c3)
EvtVector4C EvtLeptonVACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtTensor4C dual(const EvtTensor4C &t2)
void vertex(const EvtComplex &)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void setProbMax(double prbmx)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
double getFormFactor(double photonEnergy)
void getName(std::string &name)
void decay(EvtParticle *p)
static EvtId getId(const std::string &name)
virtual EvtVector4C epsParentPhoton(int i)
virtual EvtDiracSpinor spParentNeutrino() const
virtual EvtDiracSpinor spParent(int) const
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
EvtVector4C cont2(const EvtVector4C &v4) const
EvtComplex cont(const EvtVector4C &v4) const