BOSS 6.6.4.p01
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 ()
 
- 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 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)
 
- 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 29 of file EvtOmegaDalitz.hh.

Constructor & Destructor Documentation

◆ EvtOmegaDalitz()

EvtOmegaDalitz::EvtOmegaDalitz ( )
inline

Definition at line 33 of file EvtOmegaDalitz.hh.

33{}

Referenced by clone().

◆ ~EvtOmegaDalitz()

EvtOmegaDalitz::~EvtOmegaDalitz ( )
virtual

Definition at line 33 of file EvtOmegaDalitz.cc.

33{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtOmegaDalitz::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 42 of file EvtOmegaDalitz.cc.

42 {
43
44 return new EvtOmegaDalitz;
45
46}

◆ decay()

void EvtOmegaDalitz::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

Definition at line 68 of file 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
EvtVector3R cross(const EvtVector3R &p1, const EvtVector3R &p2)
Definition: EvtVector3R.cc:84
****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
void vertex(const EvtComplex &amp)
Definition: EvtDecayAmp.hh:37
EvtId * getDaugs()
Definition: EvtDecayBase.hh:65
const EvtVector4R & getP4() const
Definition: EvtParticle.cc:121
EvtParticle * getDaug(int i)
Definition: EvtParticle.cc:85
double mass() const
Definition: EvtParticle.cc:127
virtual EvtVector4C eps(int i) const
Definition: EvtParticle.cc:574
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
double get(int i) const
Definition: EvtVector4R.hh:179
double mass2() const
Definition: EvtVector4R.hh:116

◆ getName()

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

Implements EvtDecayBase.

Definition at line 35 of file EvtOmegaDalitz.cc.

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

◆ init()

void EvtOmegaDalitz::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 48 of file EvtOmegaDalitz.cc.

48 {
49
50 // check that there are 0 arguments
51 checkNArg(0);
52 checkNDaug(3);
53
55
59
60}
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)

◆ initProbMax()

void EvtOmegaDalitz::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 62 of file EvtOmegaDalitz.cc.

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

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