BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtHelPPJ Class Reference

#include <EvtHelPPJ.hh>

+ Inheritance diagram for EvtHelPPJ:

Public Member Functions

 EvtHelPPJ ()
 
virtual ~EvtHelPPJ ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void decay (EvtParticle *p)
 
void findMaxPro (EvtParticle *p)
 
- Public Member Functions inherited from EvtDecayAmp
void makeDecay (EvtParticle *p)
 
void setWeight (double weight)
 
void vertex (const EvtComplex &amp)
 
void vertex (int i1, const EvtComplex &amp)
 
void vertex (int i1, int i2, const EvtComplex &amp)
 
void vertex (int i1, int i2, int i3, const EvtComplex &amp)
 
void vertex (int *i1, const EvtComplex &amp)
 
virtual ~EvtDecayAmp ()
 
- Public Member Functions inherited from EvtDecayBase
virtual void initProbMax ()
 
virtual std::string commandName ()
 
virtual void command (std::string cmd)
 
double getProbMax (double prob)
 
double resetProbMax (double prob)
 
 EvtDecayBase ()
 
virtual ~EvtDecayBase ()
 
virtual bool matchingDecay (const EvtDecayBase &other) const
 
EvtId getParentId ()
 
double getBranchingFraction ()
 
void disableCheckQ ()
 
void checkQ ()
 
int getNDaug ()
 
EvtIdgetDaugs ()
 
EvtId getDaug (int i)
 
int getNArg ()
 
int getPHOTOS ()
 
void setPHOTOS ()
 
void setVerbose ()
 
void setSummary ()
 
double * getArgs ()
 
std::string * getArgsStr ()
 
double getArg (int j)
 
std::string getArgStr (int j)
 
std::string getModelName ()
 
int getDSum ()
 
int summary ()
 
int verbose ()
 
void saveDecayInfo (EvtId ipar, int ndaug, EvtId *daug, int narg, std::vector< std::string > &args, std::string name, double brfr)
 
void printSummary ()
 
void setProbMax (double prbmx)
 
void noProbMax ()
 
void checkNArg (int a1, int a2=-1, int a3=-1, int a4=-1)
 
void checkNDaug (int d1, int d2=-1)
 
void checkSpinParent (EvtSpinType::spintype sp)
 
void checkSpinDaughter (int d1, EvtSpinType::spintype sp)
 
virtual int nRealDaughters ()
 

Additional Inherited Members

- Static Public Member Functions inherited from EvtDecayBase
static void findMasses (EvtParticle *p, int ndaugs, EvtId daugs[10], double masses[10])
 
static void findMass (EvtParticle *p)
 
static double findMaxMass (EvtParticle *p)
 
- Protected Member Functions inherited from EvtDecayBase
bool daugsDecayedByParentModel ()
 
- Protected Attributes inherited from EvtDecayAmp
EvtAmp _amp2
 
- Protected Attributes inherited from EvtDecayBase
bool _daugsDecayedByParentModel
 

Detailed Description

Definition at line 28 of file EvtHelPPJ.hh.

Constructor & Destructor Documentation

◆ EvtHelPPJ()

EvtHelPPJ::EvtHelPPJ ( )
inline

Definition at line 32 of file EvtHelPPJ.hh.

32{}

Referenced by clone().

◆ ~EvtHelPPJ()

EvtHelPPJ::~EvtHelPPJ ( )
virtual

Definition at line 38 of file EvtHelPPJ.cc.

38{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtHelPPJ::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 48 of file EvtHelPPJ.cc.

48 {
49
50 return new EvtHelPPJ;
51
52}

◆ decay()

void EvtHelPPJ::decay ( EvtParticle * p)
virtual

Implements EvtDecayBase.

Definition at line 69 of file EvtHelPPJ.cc.

69 {
70
72
73 EvtParticle *l1, *l2,*l3;
74 l1 = p->getDaug(0);
75 l2 = p->getDaug(1);
76 l3 = p->getDaug(2);
77 EvtVector4R VP4 =l1->getP4(); //Vector Daughter
78 EvtVector4R S1P4=l2->getP4(); //Scalar Daughter
79 EvtVector4R S2P4=l3->getP4(); //Scalar Daughter
80 EvtVector4R PRP4=p->getP4(); //Parent Momentum
81 PRP4.set(1,0);
82 PRP4.set(2,0);
83 PRP4.set(3,0);
84
85
86 double mpipi2=(S1P4+S2P4).mass2();
87 double e1pi =S1P4.get(0);
88 double e2pi =S2P4.get(0);
89 double g0 =0.3;
90 double g1 =-0.11;
91 double mpi =0.1396;
92 double mpsi =3.097;
93 double epsi =VP4.get(0);
94 double amp1 =(mpipi2-2*mpi*mpi)*g0/2+g1*e1pi*e2pi;
95 double amp0 =amp1*epsi/mpsi;
96
97
98 EvtHelSys angles(PRP4,VP4); //using helicity sys.angles
99 double tht=angles.getHelAng(1);
100 double phi=angles.getHelAng(2);
101 double gamma=0;
102
103 vertex(0,0,Djmn(1, 1, 1,phi,tht,gamma)*amp1);
104 vertex(0,1,Djmn(1, 1,-1,phi,tht,gamma)*amp1);
105 vertex(0,2,Djmn(1, 1, 0,phi,tht,gamma)*amp0);
106 vertex(1,0,Djmn(1,-1, 1,phi,tht,gamma)*amp1);
107 vertex(1,1,Djmn(1,-1,-1,phi,tht,gamma)*amp1);
108 vertex(1,2,Djmn(1,-1, 0,phi,tht,gamma)*amp0);
109 vertex(2,0,Djmn(1, 0, 1,phi,tht,gamma)*amp1);
110 vertex(2,1,Djmn(1, 0,-1,phi,tht,gamma)*amp1);
111 vertex(2,2,Djmn(1, 0, 0,phi,tht,gamma)*amp0);
112
113 return;
114
115}
TF1 * g1
EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
Definition EvtHelSys.cc:151
const double mpi
Definition Gam4pikp.cxx:47
void vertex(const EvtComplex &amp)
EvtId * getDaugs()
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
double get(int i) const
void set(int i, double d)

◆ findMaxPro()

void EvtHelPPJ::findMaxPro ( EvtParticle * p)

◆ getName()

void EvtHelPPJ::getName ( std::string & name)
virtual

Implements EvtDecayBase.

Definition at line 40 of file EvtHelPPJ.cc.

40 {
41
42 model_name="HelPPJ";
43
44}

◆ init()

void EvtHelPPJ::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 54 of file EvtHelPPJ.cc.

54 {
55
56 // check that there are 0 arguments
57 checkNArg(0);
58 checkNDaug(3);
59
61
65
66}
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)
void checkNArg(int a1, int a2=-1, int a3=-1, int a4=-1)

The documentation for this class was generated from the following files: