BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMelikhov.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: EvtMelikhov.cc
12
//
13
// Description: Routine to implement semileptonic B->D*lnu decays according
14
// to the model HQET
15
//
16
// Modification history:
17
//
18
// DJL April 20, 1998 Module created
19
//
20
//------------------------------------------------------------------------
21
//
22
#include "
EvtGenBase/EvtPatches.hh
"
23
#include <stdlib.h>
24
#include "
EvtGenBase/EvtParticle.hh
"
25
#include "
EvtGenBase/EvtGenKine.hh
"
26
#include "
EvtGenBase/EvtPDL.hh
"
27
#include "
EvtGenBase/EvtReport.hh
"
28
#include "
EvtGenModels/EvtMelikhov.hh
"
29
#include "
EvtGenModels/EvtMelikhovFF.hh
"
30
#include "
EvtGenBase/EvtSemiLeptonicVectorAmp.hh
"
31
#include <string>
32
33
EvtMelikhov::~EvtMelikhov
() {}
34
35
void
EvtMelikhov::getName
(std::string& model_name){
36
37
model_name=
"MELIKHOV"
;
38
}
39
40
41
EvtDecayBase
*
EvtMelikhov::clone
(){
42
43
return
new
EvtMelikhov
;
44
45
}
46
47
void
EvtMelikhov::decay
(
EvtParticle
*p ){
48
49
p->
initializePhaseSpace
(
getNDaug
(),
getDaugs
());
50
calcamp->
CalcAmp
(p,
_amp2
,Melikhovffmodel);
51
}
52
53
54
void
EvtMelikhov::init
(){
55
56
checkNArg
(1);
57
checkNDaug
(3);
58
59
//We expect the parent to be a scalar
60
//and the daughters to be X lepton neutrino
61
62
checkSpinParent
(
EvtSpinType::SCALAR
);
63
64
checkSpinDaughter
(0,
EvtSpinType::VECTOR
);
65
checkSpinDaughter
(1,
EvtSpinType::DIRAC
);
66
checkSpinDaughter
(2,
EvtSpinType::NEUTRINO
);
67
68
69
Melikhovffmodel =
new
EvtMelikhovFF
(
getArg
(0));
70
calcamp =
new
EvtSemiLeptonicVectorAmp
;
71
72
}
73
EvtGenKine.hh
EvtMelikhovFF.hh
EvtMelikhov.hh
EvtPDL.hh
EvtParticle.hh
EvtPatches.hh
EvtReport.hh
EvtSemiLeptonicVectorAmp.hh
EvtDecayAmp::_amp2
EvtAmp _amp2
Definition:
EvtDecayAmp.hh:66
EvtDecayBase
Definition:
EvtDecayBase.hh:33
EvtDecayBase::checkSpinDaughter
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
Definition:
EvtDecayBase.cc:533
EvtDecayBase::checkSpinParent
void checkSpinParent(EvtSpinType::spintype sp)
Definition:
EvtDecayBase.cc:520
EvtDecayBase::getArg
double getArg(int j)
Definition:
EvtDecayBase.cc:564
EvtDecayBase::getNDaug
int getNDaug()
Definition:
EvtDecayBase.hh:64
EvtDecayBase::checkNDaug
void checkNDaug(int d1, int d2=-1)
Definition:
EvtDecayBase.cc:504
EvtDecayBase::getDaugs
EvtId * getDaugs()
Definition:
EvtDecayBase.hh:65
EvtDecayBase::checkNArg
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)
Definition:
EvtDecayBase.cc:482
EvtMelikhovFF
Definition:
EvtMelikhovFF.hh:28
EvtMelikhov::~EvtMelikhov
virtual ~EvtMelikhov()
Definition:
EvtMelikhov.cc:33
EvtMelikhov::init
void init()
Definition:
EvtMelikhov.cc:54
EvtMelikhov::EvtMelikhov
EvtMelikhov()
Definition:
EvtMelikhov.hh:38
EvtMelikhov::clone
EvtDecayBase * clone()
Definition:
EvtMelikhov.cc:41
EvtMelikhov::decay
void decay(EvtParticle *p)
Definition:
EvtMelikhov.cc:47
EvtMelikhov::getName
void getName(std::string &name)
Definition:
EvtMelikhov.cc:35
EvtParticle
Definition:
EvtParticle.hh:42
EvtParticle::initializePhaseSpace
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
Definition:
EvtParticle.cc:1071
EvtSemiLeptonicAmp::CalcAmp
virtual void CalcAmp(EvtParticle *parent, EvtAmp &, EvtSemiLeptonicFF *FormFactors)
Definition:
EvtSemiLeptonicAmp.hh:36
EvtSemiLeptonicVectorAmp
Definition:
EvtSemiLeptonicVectorAmp.hh:30
EvtSpinType::NEUTRINO
@ NEUTRINO
Definition:
EvtSpinType.hh:31
EvtSpinType::SCALAR
@ SCALAR
Definition:
EvtSpinType.hh:31
EvtSpinType::DIRAC
@ DIRAC
Definition:
EvtSpinType.hh:31
EvtSpinType::VECTOR
@ VECTOR
Definition:
EvtSpinType.hh:31
source
Generator
BesEvtGen
BesEvtGen-00-03-90
src
EvtGen
EvtGenModels
EvtMelikhov.cc
Generated by
1.9.6