BOSS 7.1.2
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//
23#include <stdlib.h>
26#include "EvtGenBase/EvtPDL.hh"
33#include "EvtPBB1.hh"
34#include <string>
35using std::endl;
36
38
39void EvtPBB1::getName(std::string& model_name){
40
41 model_name="PBB1";
42
43}
44
45
47
48 return new EvtPBB1;
49
50}
51
53 double ProbMax=2.;
54 setProbMax(ProbMax);
55}
56
63
65
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
EvtComplex exp(const EvtComplex &c)
void vertex(const EvtComplex &amp)
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
double getArg(int j)
void setProbMax(double prbmx)
void checkNDaug(int d1, int d2=-1)
EvtId * getDaugs()
void getName(std::string &name)
Definition EvtPBB1.cc:39
void init()
Definition EvtPBB1.cc:57
virtual ~EvtPBB1()
Definition EvtPBB1.cc:37
EvtPBB1()
Definition EvtPBB1.hh:33
EvtDecayBase * clone()
Definition EvtPBB1.cc:46
void decay(EvtParticle *p)
Definition EvtPBB1.cc:64
void initProbMax()
Definition EvtPBB1.cc:52
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)