BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtGoityRoberts Class Reference

#include <EvtGoityRoberts.hh>

+ Inheritance diagram for EvtGoityRoberts:

Public Member Functions

 EvtGoityRoberts ()
 
virtual ~EvtGoityRoberts ()
 
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 EvtGoityRoberts.hh.

Constructor & Destructor Documentation

◆ EvtGoityRoberts()

EvtGoityRoberts::EvtGoityRoberts ( )
inline

Definition at line 33 of file EvtGoityRoberts.hh.

33{}

Referenced by clone().

◆ ~EvtGoityRoberts()

EvtGoityRoberts::~EvtGoityRoberts ( )
virtual

Definition at line 33 of file EvtGoityRoberts.cc.

33{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtGoityRoberts::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 42 of file EvtGoityRoberts.cc.

42 {
43
44 return new EvtGoityRoberts;
45
46}

◆ decay()

void EvtGoityRoberts::decay ( EvtParticle p)
virtual

Implements EvtDecayBase.

Definition at line 67 of file EvtGoityRoberts.cc.

67 {
68
69 //added by Lange Jan4,2000
70 static EvtId DST0=EvtPDL::getId("D*0");
71 static EvtId DSTB=EvtPDL::getId("anti-D*0");
72 static EvtId DSTP=EvtPDL::getId("D*+");
73 static EvtId DSTM=EvtPDL::getId("D*-");
74 static EvtId D0=EvtPDL::getId("D0");
75 static EvtId D0B=EvtPDL::getId("anti-D0");
76 static EvtId DP=EvtPDL::getId("D+");
77 static EvtId DM=EvtPDL::getId("D-");
78
79
80
81 EvtId meson=getDaug(0);
82
83 if (meson==DST0||meson==DSTP||meson==DSTM||meson==DSTB) {
84 DecayBDstarpilnuGR(p,getDaug(0),getDaug(1),getDaug(2),getDaug(3));
85 }
86 else{
87 if (meson==D0||meson==DP||meson==DM||meson==D0B) {
88 DecayBDpilnuGR(p,getDaug(0),getDaug(1),getDaug(2),getDaug(3));
89 }
90 else{
91 report(ERROR,"EvtGen") << "Wrong daugther in EvtGoityRoberts!\n";
92 }
93 }
94 return ;
95}
ostream & report(Severity severity, const char *facility)
Definition: EvtReport.cc:36
@ ERROR
Definition: EvtReport.hh:49
EvtId getDaug(int i)
Definition: EvtDecayBase.hh:66
Definition: EvtId.hh:27
static EvtId getId(const std::string &name)
Definition: EvtPDL.cc:287

◆ getName()

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

Implements EvtDecayBase.

Definition at line 35 of file EvtGoityRoberts.cc.

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

◆ init()

void EvtGoityRoberts::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 48 of file EvtGoityRoberts.cc.

48 {
49
50 // check that there are 0 arguments
51 checkNArg(0);
52 checkNDaug(4);
53
58
59}
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 EvtGoityRoberts::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 62 of file EvtGoityRoberts.cc.

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

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