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

#include <EvtJTO3P.hh>

+ Inheritance diagram for EvtJTO3P:

Public Member Functions

 EvtJTO3P ()
 
virtual ~EvtJTO3P ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void decay (EvtParticle *p)
 
void init (int, double *)
 
- 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 27 of file EvtJTO3P.hh.

Constructor & Destructor Documentation

◆ EvtJTO3P()

EvtJTO3P::EvtJTO3P ( )
inline

Definition at line 31 of file EvtJTO3P.hh.

31{}

Referenced by clone().

◆ ~EvtJTO3P()

EvtJTO3P::~EvtJTO3P ( )
virtual

Definition at line 46 of file EvtJTO3P.cc.

46{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtJTO3P::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 54 of file EvtJTO3P.cc.

54 {
55
56 return new EvtJTO3P;
57
58}

◆ decay()

void EvtJTO3P::decay ( EvtParticle * p)
virtual

Implements EvtDecayBase.

Definition at line 77 of file EvtJTO3P.cc.

77 {
78
80
81 EvtVector4R mompi1 = p->getDaug(0)->getP4();
82 EvtVector4R mompi2 = p->getDaug(1)->getP4();
83 EvtVector4R mompi3 = p->getDaug(2)->getP4();
84 EvtVector4R Zaxis = mompi2.cross(mompi3);
85
86 EvtEulerAngles EA(mompi1,Zaxis);
87 double alpha=EA.getAlpha();
88 double beta =EA.getBeta();
89 double gamma=EA.getGamma();
90
91 EvtVector4R h1,h2; //rotate pi1 and pi2 momentum to helicity system
92 h1 = rotateEuler(mompi1,-gamma,-beta,-alpha);
93 h2 = rotateEuler(mompi2,-gamma,-beta,-alpha);
94 // cout<<h1<<h2<<endl;
95 double F0 = h1.get(1)*h2.get(2)-h1.get(2)*h2.get(1);
96 // cout<<"F0 = "<<F0<<endl;
97
98 vertex(0,Djmn(1, 1,0,alpha,beta,gamma)*F0);
99 vertex(1,Djmn(1,-1,0,alpha,beta,gamma)*F0);
100 vertex(2,Djmn(1, 0,0,alpha,beta,gamma)*F0);
101
102}
EvtDiracSpinor rotateEuler(const EvtDiracSpinor &sp, double alpha, double beta, double gamma)
EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
Definition EvtHelSys.cc:151
const double alpha
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
EvtVector4R cross(const EvtVector4R &v2)

◆ getName()

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

Implements EvtDecayBase.

Definition at line 48 of file EvtJTO3P.cc.

48 {
49
50 model_name="JTO3P";
51
52}

◆ init() [1/2]

void EvtJTO3P::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 61 of file EvtJTO3P.cc.

61 {
62
63// check that there are 1 arguments:angular distribution parameter
64// checkNArg(0);
65 checkNDaug(3);
70}
void checkSpinDaughter(int d1, EvtSpinType::spintype sp)
void checkSpinParent(EvtSpinType::spintype sp)
void checkNDaug(int d1, int d2=-1)

◆ init() [2/2]

void EvtJTO3P::init ( int ,
double *  )

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