BOSS 8.0.0
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 "EvtPBB1.hh"
33#include <stdlib.h>
34#include <string>
35using std::endl;
36
38
39void EvtPBB1::getName( std::string& model_name ) { model_name = "PBB1"; }
40
42
44 double ProbMax = 2.;
45 setProbMax( ProbMax );
46}
47
54
56
58
59 double phs = getArg( 0 );
60
61 vertex( 0, 0, exp( EvtComplex( 0, phs ) ) );
62 vertex( 0, 1, 0.0 );
63 vertex( 1, 0, 0.0 );
64 vertex( 1, 1, -exp( EvtComplex( 0, phs ) ) );
65
66 return;
67}
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:48
virtual ~EvtPBB1()
Definition EvtPBB1.cc:37
EvtPBB1()
Definition EvtPBB1.hh:31
EvtDecayBase * clone()
Definition EvtPBB1.cc:41
void decay(EvtParticle *p)
Definition EvtPBB1.cc:55
void initProbMax()
Definition EvtPBB1.cc:43
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)