CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtKKLambdaC.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: EvtSLPole.cc
12
//
13
// Description: Routine to implement semileptonic decays according
14
// to light cone sum rules
15
//
16
// Modification history:
17
//
18
// DJL April 23, 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/EvtKKLambdaC.hh
"
29
#include "
EvtGenModels/EvtKKLambdaCFF.hh
"
30
#include "
EvtGenBase/EvtSemiLeptonicBaryonAmp.hh
"
31
#include <string>
32
33
EvtKKLambdaC::~EvtKKLambdaC
() {}
34
35
void
EvtKKLambdaC::getName
(std::string& model_name){
36
37
model_name=
"KK_LAMBDAC_SL"
;
38
39
}
40
41
42
EvtDecayBase
*
EvtKKLambdaC::clone
(){
43
44
return
new
EvtKKLambdaC
;
45
46
}
47
48
void
EvtKKLambdaC::decay
(
EvtParticle
*p ){
49
50
p->
initializePhaseSpace
(
getNDaug
(),
getDaugs
());
51
52
_calcamp->
CalcAmp
(p,
_amp2
,_ffmodel);
53
return
;
54
}
55
56
void
EvtKKLambdaC::initProbMax
(){
57
58
EvtId
parnum,mesnum,lnum,nunum;
59
60
parnum =
getParentId
();
61
mesnum =
getDaug
(0);
62
lnum =
getDaug
(1);
63
nunum =
getDaug
(2);
64
65
//double mymaxprob = _calcamp->CalcMaxProb(parnum,mesnum,
66
// lnum,nunum,_ffmodel);
67
double
mymaxprob=100.;
68
setProbMax
(mymaxprob);
69
70
}
71
72
73
void
EvtKKLambdaC::init
(){
74
75
checkNDaug
(3);
76
77
//We expect the parent to be a dirac
78
//and the daughters to be dirac lepton neutrino
79
80
checkSpinParent
(
EvtSpinType::DIRAC
);
81
checkSpinDaughter
(0,
EvtSpinType::DIRAC
);
82
checkSpinDaughter
(1,
EvtSpinType::DIRAC
);
83
checkSpinDaughter
(2,
EvtSpinType::NEUTRINO
);
84
85
_ffmodel =
new
EvtKKLambdaCFF
(
getNArg
(),
getArgs
());
86
87
_calcamp =
new
EvtSemiLeptonicBaryonAmp
;
88
89
}
90
EvtGenKine.hh
EvtKKLambdaCFF.hh
EvtKKLambdaC.hh
EvtPDL.hh
EvtParticle.hh
EvtPatches.hh
EvtReport.hh
EvtSemiLeptonicBaryonAmp.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::setProbMax
void setProbMax(double prbmx)
Definition
EvtDecayBase.cc:297
EvtDecayBase::getParentId
EvtId getParentId()
Definition
EvtDecayBase.hh:60
EvtDecayBase::getArgs
double * getArgs()
Definition
EvtDecayBase.cc:547
EvtDecayBase::getNDaug
int getNDaug()
Definition
EvtDecayBase.hh:64
EvtDecayBase::getNArg
int getNArg()
Definition
EvtDecayBase.hh:67
EvtDecayBase::checkNDaug
void checkNDaug(int d1, int d2=-1)
Definition
EvtDecayBase.cc:504
EvtDecayBase::getDaugs
EvtId * getDaugs()
Definition
EvtDecayBase.hh:65
EvtDecayBase::getDaug
EvtId getDaug(int i)
Definition
EvtDecayBase.hh:66
EvtId
Definition
EvtId.hh:27
EvtKKLambdaCFF
Definition
EvtKKLambdaCFF.hh:27
EvtKKLambdaC::EvtKKLambdaC
EvtKKLambdaC()
Definition
EvtKKLambdaC.hh:34
EvtKKLambdaC::clone
EvtDecayBase * clone()
Definition
EvtKKLambdaC.cc:42
EvtKKLambdaC::init
void init()
Definition
EvtKKLambdaC.cc:73
EvtKKLambdaC::decay
void decay(EvtParticle *p)
Definition
EvtKKLambdaC.cc:48
EvtKKLambdaC::initProbMax
void initProbMax()
Definition
EvtKKLambdaC.cc:56
EvtKKLambdaC::getName
void getName(std::string &name)
Definition
EvtKKLambdaC.cc:35
EvtKKLambdaC::~EvtKKLambdaC
virtual ~EvtKKLambdaC()
Definition
EvtKKLambdaC.cc:33
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:1069
EvtSemiLeptonicAmp::CalcAmp
virtual void CalcAmp(EvtParticle *parent, EvtAmp &, EvtSemiLeptonicFF *FormFactors)
Definition
EvtSemiLeptonicAmp.hh:36
EvtSemiLeptonicBaryonAmp
Definition
EvtSemiLeptonicBaryonAmp.hh:30
EvtSpinType::NEUTRINO
@ NEUTRINO
Definition
EvtSpinType.hh:31
EvtSpinType::DIRAC
@ DIRAC
Definition
EvtSpinType.hh:31
6.6.5.i
Generator
BesEvtGen
BesEvtGen-00-01-96-slc6tag
src
EvtGen
EvtGenModels
EvtKKLambdaC.cc
Generated by
1.12.0