37 model_name=
"TVS_PWAVE";
74 report(
ERROR,
"EvtGen") <<
"dfslkh8945wqh:In EvtTensorToVectorScalar.c\n";
75 report(
ERROR,
"EvtGen") <<
"P or F wave not yet implemented!! (ryd) \n";
83 double massv =
v->mass();
87 double m_parent = p->
mass();
91 p_parent.
set(m_parent,0.0,0.0,0.0);
98 double norm=massv/(m_parent*momv.
get(0)*momv.
d3mag()*momv.
d3mag());
101 epsdual0=pdual.
cont1(
v->epsParent(0).conj());
102 epsdual1=pdual.
cont1(
v->epsParent(1).conj());
103 epsdual2=pdual.
cont1(
v->epsParent(2).conj());
111 vertex(0,0,pep0*epsdual0);
112 vertex(1,0,pep1*epsdual0);
113 vertex(2,0,pep2*epsdual0);
114 vertex(3,0,pep3*epsdual0);
115 vertex(4,0,pep4*epsdual0);
117 vertex(0,1,pep0*epsdual1);
118 vertex(1,1,pep1*epsdual1);
119 vertex(2,1,pep2*epsdual1);
120 vertex(3,1,pep3*epsdual1);
121 vertex(4,1,pep4*epsdual1);
123 vertex(0,2,pep0*epsdual2);
124 vertex(1,2,pep1*epsdual2);
125 vertex(2,2,pep2*epsdual2);
126 vertex(3,2,pep3*epsdual2);
127 vertex(4,2,pep4*epsdual2);
double sin(const BesAngle a)
double cos(const BesAngle a)
Evt3Rank3C directProd(const EvtVector3C &c1, const EvtVector3C &c2, const EvtVector3C &c3)
ostream & report(Severity severity, const char *facility)
EvtTensor4C dual(const EvtTensor4C &t2)
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
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)
EvtParticle * getDaug(int i)
virtual EvtTensor4C epsTensor(int i) const
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
void decay(EvtParticle *p)
void getName(std::string &name)
EvtVector4C cont1(const EvtVector4C &v4) const
void set(int i, double d)