BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/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>
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
57void EvtPBB1::init(){
58 checkNDaug(2);
62}
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 checkSpinDaughter(int d1, EvtSpinType::spintype sp)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)