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

#include <EvtVSPPwave.hh>

+ Inheritance diagram for EvtVSPPwave:

Public Member Functions

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

◆ EvtVSPPwave() [1/2]

EvtVSPPwave::EvtVSPPwave ( )
inline

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

32{}

Referenced by clone().

◆ ~EvtVSPPwave() [1/2]

EvtVSPPwave::~EvtVSPPwave ( )
virtual

◆ EvtVSPPwave() [2/2]

EvtVSPPwave::EvtVSPPwave ( )
inline

◆ ~EvtVSPPwave() [2/2]

virtual EvtVSPPwave::~EvtVSPPwave ( )
virtual

Member Function Documentation

◆ clone() [1/2]

EvtDecayBase * EvtVSPPwave::clone ( )
virtual

◆ clone() [2/2]

EvtDecayBase * EvtVSPPwave::clone ( )
virtual

Implements EvtDecayBase.

◆ decay() [1/2]

void EvtVSPPwave::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

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

65 {
66
68
69 EvtParticle *gamma;
70 gamma = p->getDaug(1);
71
72 double m_p=p->mass();
73 EvtVector4R momgamma = gamma->getP4();
74
75//work in the parent ,p, rest frame.
76 EvtVector4R p4_p;
77 p4_p.set(m_p, 0.0, 0.0, 0.0 );
78
79// Put phase space results into the daughters.
80
81 EvtTensor4C tds;
82
83 double norm=1/(m_p*momgamma.d3mag());
84
85 tds = dual(directProd(norm*p4_p,momgamma));
86
87 vertex(0,0,(tds.cont1( p->eps(0))).cont(
88 gamma->epsParentPhoton(0).conj() ) );
89 vertex(0,1,(tds.cont1( p->eps(0))).cont(
90 gamma->epsParentPhoton(1).conj() ) );
91
92 vertex(1,0,(tds.cont1( p->eps(1))).cont(
93 gamma->epsParentPhoton(0).conj() ) );
94 vertex(1,1,(tds.cont1( p->eps(1))).cont(
95 gamma->epsParentPhoton(1).conj() ) );
96
97 vertex(2,0,(tds.cont1( p->eps(2))).cont(
98 gamma->epsParentPhoton(0).conj() ) );
99 vertex(2,1,(tds.cont1( p->eps(2))).cont(
100 gamma->epsParentPhoton(1).conj() ) );
101
102 return ;
103}
NTuple::Item< double > m_p
Definition: MdcHistItem.h:75
Evt3Rank3C directProd(const EvtVector3C &c1, const EvtVector3C &c2, const EvtVector3C &c3)
EvtTensor4C dual(const EvtTensor4C &t2)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)
EvtVector4C cont1(const EvtVector4C &v4) const

◆ decay() [2/2]

void EvtVSPPwave::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

◆ getName() [1/2]

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

Implements EvtDecayBase.

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

34 {
35
36 model_name="VSP_PWAVE";
37
38}

◆ getName() [2/2]

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

Implements EvtDecayBase.

◆ init() [1/2]

◆ init() [2/2]

void EvtVSPPwave::init ( )
virtual

Reimplemented from EvtDecayBase.

◆ initProbMax() [1/2]

void EvtVSPPwave::initProbMax ( )
virtual

◆ initProbMax() [2/2]

void EvtVSPPwave::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.


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