BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtOmegaDalitz Class Reference

#include <EvtOmegaDalitz.hh>

+ Inheritance diagram for EvtOmegaDalitz:

Public Member Functions

 EvtOmegaDalitz ()
 
virtual ~EvtOmegaDalitz ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void decay (EvtParticle *p)
 
void initProbMax ()
 
 EvtOmegaDalitz ()
 
virtual ~EvtOmegaDalitz ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void decay (EvtParticle *p)
 
void initProbMax ()
 
- 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

◆ EvtOmegaDalitz() [1/2]

EvtOmegaDalitz::EvtOmegaDalitz ( )
inline

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

33{}

Referenced by clone().

◆ ~EvtOmegaDalitz() [1/2]

EvtOmegaDalitz::~EvtOmegaDalitz ( )
virtual

◆ EvtOmegaDalitz() [2/2]

EvtOmegaDalitz::EvtOmegaDalitz ( )
inline

◆ ~EvtOmegaDalitz() [2/2]

virtual EvtOmegaDalitz::~EvtOmegaDalitz ( )
virtual

Member Function Documentation

◆ clone() [1/2]

EvtDecayBase * EvtOmegaDalitz::clone ( )
virtual

◆ clone() [2/2]

EvtDecayBase * EvtOmegaDalitz::clone ( )
virtual

Implements EvtDecayBase.

◆ decay() [1/2]

void EvtOmegaDalitz::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

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

68 {
69
71
72 EvtVector4C ep[3];
73
74 ep[0] = p->eps(0);
75 ep[1] = p->eps(1);
76 ep[2] = p->eps(2);
77
78 EvtVector4R mompi1 = p->getDaug(0)->getP4();
79 EvtVector4R mompi2 = p->getDaug(1)->getP4();
80
81 EvtVector3R p1(mompi1.get(1),mompi1.get(2),mompi1.get(3));
82 EvtVector3R p2(mompi2.get(1),mompi2.get(2),mompi2.get(3));
83 EvtVector3R q=cross(p2,p1);
84
85 EvtVector3C e1(ep[0].get(1),ep[0].get(2),ep[0].get(3));
86 EvtVector3C e2(ep[1].get(1),ep[1].get(2),ep[1].get(3));
87 EvtVector3C e3(ep[2].get(1),ep[2].get(2),ep[2].get(3));
88
89 //This is an approximate formula of the maximum value that
90 //|q| can have.
91 double norm=1.14/(p->mass()*p->mass()/9.0-mompi1.mass2());
92
93 vertex(0,norm*e1*q);
94 vertex(1,norm*e2*q);
95 vertex(2,norm*e3*q);
96
97 return ;
98
99}
Double_t e1
Double_t e2
****INTEGER imax DOUBLE PRECISION m_pi *DOUBLE PRECISION m_amfin DOUBLE PRECISION m_Chfin DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_sinw2 DOUBLE PRECISION m_GFermi DOUBLE PRECISION m_MfinMin DOUBLE PRECISION m_ta2 INTEGER m_out INTEGER m_KeyFSR INTEGER m_KeyQCD *COMMON c_Semalib $ !copy of input $ !CMS energy $ !beam mass $ !final mass $ !beam charge $ !final charge $ !smallest final mass $ !Z mass $ !Z width $ !EW mixing angle $ !Gmu Fermi $ alphaQED at q
Definition: KKsem.h:33
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)

◆ decay() [2/2]

void EvtOmegaDalitz::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

◆ getName() [1/2]

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

Implements EvtDecayBase.

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

35 {
36
37 model_name="OMEGA_DALITZ";
38
39}

◆ getName() [2/2]

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

Implements EvtDecayBase.

◆ init() [1/2]

◆ init() [2/2]

void EvtOmegaDalitz::init ( )
virtual

Reimplemented from EvtDecayBase.

◆ initProbMax() [1/2]

void EvtOmegaDalitz::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

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

62 {
63
64 setProbMax( 1.0);
65
66}

◆ initProbMax() [2/2]

void EvtOmegaDalitz::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.


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