22#include "EvtGenBase/EvtPatches.hh"
23#include "EvtGenBase/EvtPatches.hh"
24#include "EvtGenBase/EvtParticle.hh"
25#include "EvtGenBase/EvtGenKine.hh"
26#include "EvtGenBase/EvtPDL.hh"
27#include "EvtGenBase/EvtReport.hh"
28#include "EvtGenBase/EvtVector4C.hh"
29#include "EvtGenBase/EvtTensor4C.hh"
30#include "EvtGenBase/EvtDiracSpinor.hh"
31#include "EvtGenModels/EvtbTosllVectorAmp.hh"
32#include "EvtGenBase/EvtId.hh"
33#include "EvtGenBase/EvtIdSet.hh"
34#include "EvtGenBase/EvtAmp.hh"
35#include "EvtGenModels/EvtbTosllAmp.hh"
36#include "EvtGenModels/EvtbTosllFF.hh"
46 double q2 = (
q.mass2());
49 double a1,a2,a0,
v,t1,t2,t3;
51 double parentmass = parent->
mass();
73 p4b.
set(parent->
mass(),0.0,0.0,0.0);
96 double mhatb=4.4/(parentmass);
97 double mhatkstar=mesonmass/(parentmass);
98 double shat=q2/(parentmass*parentmass);
102 a=c9eff*
v*2/(1+mhatkstar)+4*mhatb*c7eff*t1/shat;
104 b=(1+mhatkstar)*(c9eff*a1+2*mhatb*(1-mhatkstar)*c7eff*t2/shat);
106 c=((1-mhatkstar)*c9eff*a2+
107 2*mhatb*c7eff*(t3+(1-mhatkstar*mhatkstar)*t2/shat))/
108 (1-mhatkstar*mhatkstar);
110 d=(c9eff*((1+mhatkstar)*a1-(1-mhatkstar)*a2-2*mhatkstar*a0)
111 -2*mhatb*c7eff*t3)/shat;
113 e=2*c10eff*
v/(1+mhatkstar);
115 f=(1+mhatkstar)*c10eff*a1;
117 g=c10eff*a2/(1+mhatkstar);
119 h=c10eff*((1+mhatkstar)*a1-(1-mhatkstar)*a2-2*mhatkstar*a0)/shat;
123 static EvtIdSet bmesons(
"B-",
"anti-B0");
124 static EvtIdSet bbarmesons(
"B+",
"B0");
132 lepPlus = (charge1 > charge2) ? parent->
getDaug(1) : parent->
getDaug(2);
133 lepMinus = (charge1 < charge2) ? parent->
getDaug(1) : parent->
getDaug(2);
171 if (bbarmesons.
contains(parentID)) {
216 amp.
vertex(i,0,0,l11*E1+a11*E2);
217 amp.
vertex(i,0,1,l12*E1+a12*E2);
218 amp.
vertex(i,1,0,l21*E1+a21*E2);
219 amp.
vertex(i,1,1,l22*E1+a22*E2);
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
**********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
Evt3Rank3C directProd(const EvtVector3C &c1, const EvtVector3C &c2, const EvtVector3C &c3)
EvtVector4C EvtLeptonACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
EvtVector4C EvtLeptonVCurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
ostream & report(Severity severity, const char *facility)
EvtTensor3C eps(const EvtVector3R &v)
EvtTensor4C dual(const EvtTensor4C &t2)
void vertex(const EvtComplex &)
int contains(const EvtId id)
static EvtId getId(const std::string &name)
virtual EvtVector4C epsParent(int i) const
virtual EvtDiracSpinor spParent(int) const
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
static const EvtTensor4C & g()
void set(int i, double d)
EvtComplex GetC7Eff(double q2, bool nnlo=true)
EvtComplex GetC10Eff(double q2, bool nnlo=true)
EvtComplex GetC9Eff(double q2, bool nnlo=true, bool btod=false)
virtual void getVectorFF(EvtId parent, EvtId daught, double t, double mass, double &a1, double &a2, double &a0, double &v, double &t1, double &t2, double &t3)
void CalcAmp(EvtParticle *parent, EvtAmp &, EvtbTosllFF *formFactors)