BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSemiLeptonicScalarAmp.cc
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtSemiLeptonicScalarAmp.cc
12//
13// Description: Routine to implement semileptonic decays to pseudo-scalar
14// mesons.
15//
16// Modification history:
17//
18// DJL April 17,1998 Module created
19//
20//------------------------------------------------------------------------
21//
26#include "EvtGenBase/EvtPDL.hh"
32#include "EvtGenBase/EvtId.hh"
33#include "EvtGenBase/EvtAmp.hh"
35
36void EvtSemiLeptonicScalarAmp::CalcAmp( EvtParticle *parent,
37 EvtAmp& amp,
38 EvtSemiLeptonicFF *FormFactors ) {
39
40 static EvtId EM=EvtPDL::getId("e-");
41 static EvtId MUM=EvtPDL::getId("mu-");
42 static EvtId TAUM=EvtPDL::getId("tau-");
43 static EvtId EP=EvtPDL::getId("e+");
44 static EvtId MUP=EvtPDL::getId("mu+");
45 static EvtId TAUP=EvtPDL::getId("tau+");
46
47 //Add the lepton and neutrino 4 momenta to find q2
48
49 EvtVector4R q = parent->getDaug(1)->getP4()
50 + parent->getDaug(2)->getP4();
51 double q2 = (q.mass2());
52
53 double fpf,f0f;
54 double mesonmass = parent->getDaug(0)->mass();
55 double parentmass = parent->mass();
56
57 FormFactors->getscalarff(parent->getId(),
58 parent->getDaug(0)->getId(),
59 q2,
60 mesonmass,
61 &fpf,
62 &f0f);
63
64
65 EvtVector4R p4b;
66 p4b.set(parent->mass(),0.0,0.0,0.0);
67 EvtVector4R p4meson = parent->getDaug(0)->getP4();
68 double mdiffoverq2;
69 mdiffoverq2 = parentmass*parentmass - mesonmass*mesonmass;
70 mdiffoverq2 = mdiffoverq2 / q2;
71
72 EvtVector4C l1,l2;
73
74 EvtId l_num = parent->getDaug(1)->getId();
75 EvtVector4C tds;
76
77 if (l_num==EM||l_num==MUM||l_num==TAUM){
78
79 tds = EvtVector4C(fpf*(p4b+p4meson - (mdiffoverq2*(p4b-p4meson)))+
80 + f0f*mdiffoverq2*(p4b-p4meson));
81
82 l1=EvtLeptonVACurrent(parent->getDaug(1)->spParent(0),
83 parent->getDaug(2)->spParentNeutrino());
84 l2=EvtLeptonVACurrent(parent->getDaug(1)->spParent(1),
85 parent->getDaug(2)->spParentNeutrino());
86 }
87 else{
88 if (l_num==EP||l_num==MUP||l_num==TAUP){
89
90 tds = EvtVector4C(fpf*(p4b+p4meson - (mdiffoverq2*(p4b-p4meson)))+
91 + f0f*mdiffoverq2*(p4b-p4meson));
92
94 parent->getDaug(1)->spParent(0));
96 parent->getDaug(1)->spParent(1));
97 }
98 else{
99 report(ERROR,"EvtGen") << "dfnb89agngri wrong lepton number\n";
100 }
101 }
102
103 amp.vertex(0,l1*tds);
104 amp.vertex(1,l2*tds);
105
106}
107
EvtVector4C EvtLeptonVACurrent(const EvtDiracSpinor &d, const EvtDiracSpinor &dp)
ostream & report(Severity severity, const char *facility)
Definition: EvtReport.cc:36
@ ERROR
Definition: EvtReport.hh:49
****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
Definition: KKsem.h:33
Definition: EvtAmp.hh:30
void vertex(const EvtComplex &amp)
Definition: EvtAmp.cc:477
Definition: EvtId.hh:27
static EvtId getId(const std::string &name)
Definition: EvtPDL.cc:287
EvtId getId() const
Definition: EvtParticle.cc:113
virtual EvtDiracSpinor spParentNeutrino() const
Definition: EvtParticle.cc:635
virtual EvtDiracSpinor spParent(int) const
Definition: EvtParticle.cc:609
const EvtVector4R & getP4() const
Definition: EvtParticle.cc:121
EvtParticle * getDaug(int i)
Definition: EvtParticle.cc:85
double mass() const
Definition: EvtParticle.cc:127
virtual void getscalarff(EvtId parent, EvtId daught, double t, double mass, double *fpf, double *fmf)
void set(int i, double d)
Definition: EvtVector4R.hh:183