BOSS
8.0.0
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 "
EvtKKLambdaC.hh
"
23
#include "
../EvtGenBase/EvtGenKine.hh
"
24
#include "
../EvtGenBase/EvtPDL.hh
"
25
#include "
../EvtGenBase/EvtParticle.hh
"
26
#include "
../EvtGenBase/EvtPatches.hh
"
27
#include "
../EvtGenBase/EvtReport.hh
"
28
#include "
../EvtGenBase/EvtSemiLeptonicBaryonAmp.hh
"
29
#include "
EvtKKLambdaCFF.hh
"
30
#include <stdlib.h>
31
#include <string>
32
33
EvtKKLambdaC::~EvtKKLambdaC
() {}
34
35
void
EvtKKLambdaC::getName
( std::string& model_name ) { model_name =
"KK_LAMBDAC_SL"
; }
36
37
EvtDecayBase
*
EvtKKLambdaC::clone
() {
return
new
EvtKKLambdaC
; }
38
39
void
EvtKKLambdaC::decay
(
EvtParticle
* p ) {
40
41
p->
initializePhaseSpace
(
getNDaug
(),
getDaugs
() );
42
43
_calcamp->CalcAmp( p,
_amp2
, _ffmodel );
44
return
;
45
}
46
47
void
EvtKKLambdaC::initProbMax
() {
48
49
EvtId
parnum, mesnum, lnum, nunum;
50
51
parnum =
getParentId
();
52
mesnum =
getDaug
( 0 );
53
lnum =
getDaug
( 1 );
54
nunum =
getDaug
( 2 );
55
56
// double mymaxprob = _calcamp->CalcMaxProb(parnum,mesnum,
57
// lnum,nunum,_ffmodel);
58
double
mymaxprob = 100.;
59
setProbMax
( mymaxprob );
60
}
61
62
void
EvtKKLambdaC::init
() {
63
64
checkNDaug
( 3 );
65
66
// We expect the parent to be a dirac
67
// and the daughters to be dirac lepton neutrino
68
69
checkSpinParent
(
EvtSpinType::DIRAC
);
70
checkSpinDaughter
( 0,
EvtSpinType::DIRAC
);
71
checkSpinDaughter
( 1,
EvtSpinType::DIRAC
);
72
checkSpinDaughter
( 2,
EvtSpinType::NEUTRINO
);
73
74
_ffmodel =
new
EvtKKLambdaCFF
(
getNArg
(),
getArgs
() );
75
76
_calcamp =
new
EvtSemiLeptonicBaryonAmp
;
77
}
EvtGenKine.hh
EvtKKLambdaCFF.hh
EvtKKLambdaC.hh
EvtPDL.hh
EvtParticle.hh
EvtPatches.hh
EvtReport.hh
EvtSemiLeptonicBaryonAmp.hh
EvtDecayAmp::_amp2
EvtAmp _amp2
Definition
EvtDecayAmp.hh:63
EvtDecayBase::checkSpinDaughter
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
Definition
EvtDecayBase.cc:492
EvtDecayBase::checkSpinParent
void checkSpinParent(EvtSpinType::spintype sp)
Definition
EvtDecayBase.cc:479
EvtDecayBase::EvtDecayBase
EvtDecayBase()
Definition
EvtDecayBase.cc:205
EvtDecayBase::setProbMax
void setProbMax(double prbmx)
Definition
EvtDecayBase.cc:261
EvtDecayBase::getParentId
EvtId getParentId()
Definition
EvtDecayBase.hh:63
EvtDecayBase::getArgs
double * getArgs()
Definition
EvtDecayBase.cc:505
EvtDecayBase::getNDaug
int getNDaug()
Definition
EvtDecayBase.hh:67
EvtDecayBase::getNArg
int getNArg()
Definition
EvtDecayBase.hh:70
EvtDecayBase::checkNDaug
void checkNDaug(int d1, int d2=-1)
Definition
EvtDecayBase.cc:465
EvtDecayBase::getDaugs
EvtId * getDaugs()
Definition
EvtDecayBase.hh:68
EvtDecayBase::getDaug
EvtId getDaug(int i)
Definition
EvtDecayBase.hh:69
EvtId
Definition
EvtId.hh:27
EvtKKLambdaCFF
Definition
EvtKKLambdaCFF.hh:27
EvtKKLambdaC::EvtKKLambdaC
EvtKKLambdaC()
Definition
EvtKKLambdaC.hh:33
EvtKKLambdaC::clone
EvtDecayBase * clone()
Definition
EvtKKLambdaC.cc:37
EvtKKLambdaC::init
void init()
Definition
EvtKKLambdaC.cc:62
EvtKKLambdaC::decay
void decay(EvtParticle *p)
Definition
EvtKKLambdaC.cc:39
EvtKKLambdaC::initProbMax
void initProbMax()
Definition
EvtKKLambdaC.cc:47
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:1042
EvtSemiLeptonicBaryonAmp
Definition
EvtSemiLeptonicBaryonAmp.hh:30
EvtSpinType::NEUTRINO
@ NEUTRINO
Definition
EvtSpinType.hh:36
EvtSpinType::DIRAC
@ DIRAC
Definition
EvtSpinType.hh:34
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenModels
EvtKKLambdaC.cc
Generated by
1.16.1