BOSS 7.0.9
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 *)
 
 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 ()
 
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 getName (std::string &name)=0
 
virtual void decay (EvtParticle *p)=0
 
virtual void makeDecay (EvtParticle *p)=0
 
virtual EvtDecayBaseclone ()=0
 
virtual void init ()
 
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 ()
 
virtual void getName (std::string &name)=0
 
virtual void decay (EvtParticle *p)=0
 
virtual void makeDecay (EvtParticle *p)=0
 
virtual EvtDecayBaseclone ()=0
 
virtual void init ()
 
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)
 
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 ()
 
bool daugsDecayedByParentModel ()
 
- Protected Attributes inherited from EvtDecayAmp
EvtAmp _amp2
 
- Protected Attributes inherited from EvtDecayBase
bool _daugsDecayedByParentModel
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtJTO3P() [1/2]

EvtJTO3P::EvtJTO3P ( )
inline

Definition at line 31 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtJTO3P.hh.

31{}

Referenced by clone().

◆ ~EvtJTO3P() [1/2]

EvtJTO3P::~EvtJTO3P ( )
virtual

◆ EvtJTO3P() [2/2]

EvtJTO3P::EvtJTO3P ( )
inline

◆ ~EvtJTO3P() [2/2]

virtual EvtJTO3P::~EvtJTO3P ( )
virtual

Member Function Documentation

◆ clone() [1/2]

EvtDecayBase * EvtJTO3P::clone ( )
virtual

◆ clone() [2/2]

EvtDecayBase * EvtJTO3P::clone ( )
virtual

Implements EvtDecayBase.

◆ decay() [1/2]

void EvtJTO3P::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

Definition at line 77 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/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}
const double alpha
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)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)

◆ decay() [2/2]

void EvtJTO3P::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

◆ getName() [1/2]

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

Implements EvtDecayBase.

Definition at line 48 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtJTO3P.cc.

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

◆ getName() [2/2]

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

Implements EvtDecayBase.

◆ init() [1/4]

void EvtJTO3P::init ( )
virtual

◆ init() [2/4]

void EvtJTO3P::init ( )
virtual

Reimplemented from EvtDecayBase.

◆ init() [3/4]

void EvtJTO3P::init ( int  ,
double *   
)

◆ init() [4/4]

void EvtJTO3P::init ( int  ,
double *   
)

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