BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtTauGamMu Class Reference

#include <EvtTauGamMu.hh>

+ Inheritance diagram for EvtTauGamMu:

Public Member Functions

 EvtTauGamMu ()
 
virtual ~EvtTauGamMu ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void decay (EvtParticle *p)
 
void findMaxPro (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 29 of file EvtTauGamMu.hh.

Constructor & Destructor Documentation

◆ EvtTauGamMu()

EvtTauGamMu::EvtTauGamMu ( )
inline

Definition at line 33 of file EvtTauGamMu.hh.

33{}

Referenced by clone().

◆ ~EvtTauGamMu()

EvtTauGamMu::~EvtTauGamMu ( )
virtual

Definition at line 40 of file EvtTauGamMu.cc.

40{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtTauGamMu::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 50 of file EvtTauGamMu.cc.

50 {
51
52 return new EvtTauGamMu;
53
54}

◆ decay()

void EvtTauGamMu::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

Definition at line 81 of file EvtTauGamMu.cc.

81 {
82
83
85
86 EvtParticle *l1, *l2;
87 l1 = p->getDaug(0);
88 l2 = p->getDaug(1);
89 EvtVector4R DRP4=l1->getP4(); //photon
90 EvtVector4R MEP4=l2->getP4(); //Mu
91 EvtVector4R PRP4=p->getP4(); //Parent Momentum
92 EvtHelSys angles(PRP4,DRP4); //using helicity sys.angles
93 double tht=angles.getHelAng(1);
94 double ph =angles.getHelAng(2);
95 double gmm=0;
96
97 double H00=getArg(0); //H(1,1/2) for photon , mu
98 double A00=getArg(1); //phase angle for H00
99 double H11=getArg(2); //H(-1,-1/2)
100 double A11=getArg(3); //phase angle H11
101
102 EvtComplex A000 = Djmn(0.5, 0.5, 0.5,ph,tht,gmm)*H00*exp(A00); //for 1/2 -> 1 1/2
103 EvtComplex A100 = Djmn(0.5,-0.5, 0.5,ph,tht,gmm)*H00*exp(A00); //for -1/2 -> 1 1/2
104 EvtComplex A021 = Djmn(0.5, 0.5,-0.5,ph,tht,gmm)*H11*exp(A11); // 1/2->-1,-1/2
105 EvtComplex A121 = Djmn(0.5,-0.5,-0.5,ph,tht,gmm)*H11*exp(A11); // -1/2->-1,-1/2
106
107
108 vertex(0,0,0,A000);
109 vertex(0,1,1,A021);
110 vertex(1,0,0,A100);
111 vertex(1,1,1,A121);
112
113 return;
114
115}
EvtComplex exp(const EvtComplex &c)
Definition: EvtComplex.hh:252
EvtComplex Djmn(int j, int m, int n, double phi, double theta, double gamma)
Definition: EvtHelSys.cc:151
void vertex(const EvtComplex &amp)
Definition: EvtDecayAmp.hh:37
double getArg(int j)
EvtId * getDaugs()
Definition: EvtDecayBase.hh:65
const EvtVector4R & getP4() const
Definition: EvtParticle.cc:121
EvtParticle * getDaug(int i)
Definition: EvtParticle.cc:85
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)

◆ findMaxPro()

void EvtTauGamMu::findMaxPro ( EvtParticle p)

◆ getName()

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

Implements EvtDecayBase.

Definition at line 42 of file EvtTauGamMu.cc.

42 {
43
44 model_name="TauGamMu";
45
46}

◆ init()

void EvtTauGamMu::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 56 of file EvtTauGamMu.cc.

56 {
57
58 // check that there are 0 arguments
59 checkNArg(4);
60 checkNDaug(2);
61
62
64
67
68
69 for(int i=0;i<=1;i++){
70 for(int j=0;j<=2;j++){
71 for(int k=0;k<=1;k++){
72 vertex(i,j,k,0);
73 }
74 }
75 }
76
77 //---
78}
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)

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