CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtPBB1.cc
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of models developed at BES collaboration
5
// based on the EvtGen framework. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/BesCopyright
9
// Copyright (A) 2006 Ping Rong-Gang, Pang Cai-Ying@IHEP
10
//
11
//
12
// Module: EvtPBB1.cc
13
//
14
// Description: Routine to decay Pseudoscalar-> B_8 bar B_8 using helicity amplitude.
15
//
16
// Modification history:
17
//
18
// Ping R.-G. Apr., 2006 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/EvtVector4C.hh
"
28
#include "
EvtGenBase/EvtVector4R.hh
"
29
#include "
EvtGenBase/EvtTensor4C.hh
"
30
#include "
EvtGenBase/EvtReport.hh
"
31
#include "
EvtGenBase/EvtdFunction.hh
"
32
#include "
EvtGenBase/EvtHelSys.hh
"
33
#include "
EvtPBB1.hh
"
34
#include <string>
35
using
std::endl;
36
37
EvtPBB1::~EvtPBB1
() {}
38
39
void
EvtPBB1::getName
(std::string& model_name){
40
41
model_name=
"PBB1"
;
42
43
}
44
45
46
EvtDecayBase
*
EvtPBB1::clone
(){
47
48
return
new
EvtPBB1
;
49
50
}
51
52
void
EvtPBB1::initProbMax
() {
53
double
ProbMax=2.;
54
setProbMax
(ProbMax);
55
}
56
57
void
EvtPBB1::init
(){
58
checkNDaug
(2);
59
checkSpinParent
(
EvtSpinType::SCALAR
);
60
checkSpinDaughter
(0,
EvtSpinType::DIRAC
);
61
checkSpinDaughter
(1,
EvtSpinType::DIRAC
);
62
}
63
64
void
EvtPBB1::decay
(
EvtParticle
*p){
65
66
p->
initializePhaseSpace
(
getNDaug
(),
getDaugs
());
67
68
double
phs=
getArg
(0);
69
70
71
vertex
(0,0,
exp
(
EvtComplex
(0,phs)));
72
vertex
(0,1, 0.0);
73
vertex
(1,0, 0.0);
74
vertex
(1,1,-
exp
(
EvtComplex
(0,phs)));
75
76
return ;
77
78
}
79
80
81
82
exp
EvtComplex exp(const EvtComplex &c)
Definition
EvtComplex.hh:252
EvtGenKine.hh
EvtHelSys.hh
EvtPBB1.hh
EvtPDL.hh
EvtParticle.hh
EvtPatches.hh
EvtReport.hh
EvtTensor4C.hh
EvtVector4C.hh
EvtVector4R.hh
EvtdFunction.hh
EvtComplex
Definition
EvtComplex.hh:28
EvtDecayAmp::vertex
void vertex(const EvtComplex &)
Definition
EvtDecayAmp.hh:37
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::setProbMax
void setProbMax(double prbmx)
Definition
EvtDecayBase.cc:297
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
EvtPBB1::getName
void getName(std::string &name)
Definition
EvtPBB1.cc:39
EvtPBB1::init
void init()
Definition
EvtPBB1.cc:57
EvtPBB1::~EvtPBB1
virtual ~EvtPBB1()
Definition
EvtPBB1.cc:37
EvtPBB1::EvtPBB1
EvtPBB1()
Definition
EvtPBB1.hh:33
EvtPBB1::clone
EvtDecayBase * clone()
Definition
EvtPBB1.cc:46
EvtPBB1::decay
void decay(EvtParticle *p)
Definition
EvtPBB1.cc:64
EvtPBB1::initProbMax
void initProbMax()
Definition
EvtPBB1.cc:52
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
EvtSpinType::SCALAR
@ SCALAR
Definition
EvtSpinType.hh:31
EvtSpinType::DIRAC
@ DIRAC
Definition
EvtSpinType.hh:31
6.6.5.h
Generator
BesEvtGen
BesEvtGen-00-01-96-slc6tag
src
EvtGen
EvtGenModels
EvtPBB1.cc
Generated by
1.12.0