BOSS 7.0.1
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//
23#include <stdlib.h>
26#include "EvtGenBase/EvtPDL.hh"
31#include <string>
32
34
35void EvtKKLambdaC::getName(std::string& model_name){
36
37 model_name="KK_LAMBDAC_SL";
38
39}
40
41
43
44 return new EvtKKLambdaC;
45
46}
47
49
51
52 _calcamp->CalcAmp(p,_amp2,_ffmodel);
53 return;
54}
55
57
58EvtId parnum,mesnum,lnum,nunum;
59
60parnum = getParentId();
61mesnum = getDaug(0);
62lnum = getDaug(1);
63nunum = getDaug(2);
64
65//double mymaxprob = _calcamp->CalcMaxProb(parnum,mesnum,
66// lnum,nunum,_ffmodel);
67 double mymaxprob=100.;
68setProbMax(mymaxprob);
69
70}
71
72
74
75 checkNDaug(3);
76
77 //We expect the parent to be a dirac
78 //and the daughters to be dirac lepton neutrino
79
84
85 _ffmodel = new EvtKKLambdaCFF(getNArg(),getArgs());
86
87 _calcamp = new EvtSemiLeptonicBaryonAmp;
88
89}
90
EvtAmp _amp2
Definition: EvtDecayAmp.hh:66
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void setProbMax(double prbmx)
EvtId getParentId()
Definition: EvtDecayBase.hh:60
double * getArgs()
void checkNDaug(int d1, int d2=-1)
EvtId * getDaugs()
Definition: EvtDecayBase.hh:65
EvtId getDaug(int i)
Definition: EvtDecayBase.hh:66
Definition: EvtId.hh:27
EvtDecayBase * clone()
Definition: EvtKKLambdaC.cc:42
void decay(EvtParticle *p)
Definition: EvtKKLambdaC.cc:48
void initProbMax()
Definition: EvtKKLambdaC.cc:56
void getName(std::string &name)
Definition: EvtKKLambdaC.cc:35
virtual ~EvtKKLambdaC()
Definition: EvtKKLambdaC.cc:33
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
virtual void CalcAmp(EvtParticle *parent, EvtAmp &amp, EvtSemiLeptonicFF *FormFactors)