BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtISGW.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: EvtISGW.cc
12//
13// Description: Routine to implement semileptonic decays according
14// to the model ISGW
15//
16// Modification history:
17//
18// DJL/RYD September 25, 1996 Module created
19//
20//------------------------------------------------------------------------
21//
23#include <stdlib.h>
26#include "EvtGenBase/EvtPDL.hh"
29#include <string>
34
36
37void EvtISGW::getName(std::string& model_name){
38
39 model_name="ISGW";
40
41}
42
43
45
46 return new EvtISGW;
47
48}
49
51
52
54
55 calcamp->CalcAmp(p,_amp2,isgwffmodel);
56 return;
57
58}
59
60
62
63 checkNArg(0);
64 checkNDaug(3);
65
66
67 //We expect the parent to be a scalar
68 //and the daughters to be X lepton neutrino
69
71
75
76
77 isgwffmodel = new EvtISGWFF;
78
79 if ( mesontype==EvtSpinType::SCALAR ) {
80 calcamp = new EvtSemiLeptonicScalarAmp;
81 }
82 if ( mesontype==EvtSpinType::VECTOR ) {
83 calcamp = new EvtSemiLeptonicVectorAmp;
84 }
85 if ( mesontype==EvtSpinType::TENSOR ) {
86 calcamp = new EvtSemiLeptonicTensorAmp;
87 }
88
89}
90
EvtAmp _amp2
Definition: EvtDecayAmp.hh:66
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)
EvtId * getDaugs()
Definition: EvtDecayBase.hh:65
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
EvtId getDaug(int i)
Definition: EvtDecayBase.hh:66
void decay(EvtParticle *p)
Definition: EvtISGW.cc:50
void getName(std::string &name)
Definition: EvtISGW.cc:37
void init()
Definition: EvtISGW.cc:61
EvtISGW()
Definition: EvtISGW.hh:35
virtual ~EvtISGW()
Definition: EvtISGW.cc:35
EvtDecayBase * clone()
Definition: EvtISGW.cc:44
static EvtSpinType::spintype getSpinType(EvtId i)
Definition: EvtPDL.hh:61
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
virtual void CalcAmp(EvtParticle *parent, EvtAmp &amp, EvtSemiLeptonicFF *FormFactors)