BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtEtaDalitz Class Reference

#include <EvtEtaDalitz.hh>

+ Inheritance diagram for EvtEtaDalitz:

Public Member Functions

 EvtEtaDalitz ()
 
virtual ~EvtEtaDalitz ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void initProbMax ()
 
void decay (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 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 28 of file EvtEtaDalitz.hh.

Constructor & Destructor Documentation

◆ EvtEtaDalitz()

EvtEtaDalitz::EvtEtaDalitz ( )
inline

Definition at line 32 of file EvtEtaDalitz.hh.

32{}

Referenced by clone().

◆ ~EvtEtaDalitz()

EvtEtaDalitz::~EvtEtaDalitz ( )
virtual

Definition at line 30 of file EvtEtaDalitz.cc.

30{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtEtaDalitz::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 39 of file EvtEtaDalitz.cc.

39 {
40
41 return new EvtEtaDalitz;
42
43}

◆ decay()

void EvtEtaDalitz::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

Definition at line 65 of file EvtEtaDalitz.cc.

65 {
66
68
69 EvtVector4R mompi0 = p->getDaug(2)->getP4();
70 double masspip = p->getDaug(0)->mass();
71 double masspim = p->getDaug(1)->mass();
72 double masspi0 = p->getDaug(2)->mass();
73 double m_eta = p->mass();
74
75 double y;
76
77 //The decay amplitude coems from Layter et al PRD 7 pA2M5.
78 //this reference doesn't make sence!!!
79
80 y=(mompi0.get(0)-masspi0)*(3.0/(m_eta-masspip-masspim-masspi0))-1.0;
81
82 EvtComplex amp(sqrt(1.0-1.07*y),0.0);
83
84 vertex(amp);
85
86 return ;
87
88}
*********DOUBLE PRECISION m_pi INTEGER m_lenwt !max no of aux weights INTEGER m_phmax !maximum photon multiplicity ISR FSR *DOUBLE COMPLEX m_Pauli4 DOUBLE COMPLEX m_AmpBorn DOUBLE COMPLEX m_AmpBoxy DOUBLE COMPLEX m_AmpBorn1 DOUBLE COMPLEX m_AmpBorn2 DOUBLE COMPLEX m_AmpExpo2p DOUBLE COMPLEX m_Rmat DOUBLE COMPLEX m_BoxGZut !DOUBLE COMPLEX m_F1finPair2 !DOUBLE PRECISION m_Vcut DOUBLE PRECISION m_Alfinv DOUBLE PRECISION m_Lorin1 DOUBLE PRECISION m_Lorin2 DOUBLE PRECISION m_eta
Definition: GPS.h:30
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
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 y[1000]

◆ getName()

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

Implements EvtDecayBase.

Definition at line 32 of file EvtEtaDalitz.cc.

32 {
33
34 model_name="ETA_DALITZ";
35
36}

◆ init()

void EvtEtaDalitz::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 45 of file EvtEtaDalitz.cc.

45 {
46
47 // check that there are 0 arguments
48 checkNArg(0);
49 checkNDaug(3);
50
52
56}
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 EvtEtaDalitz::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 59 of file EvtEtaDalitz.cc.

59 {
60
61 setProbMax(2.1);
62
63}
void setProbMax(double prbmx)

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