BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtD0ToKSKK Class Reference

#include <EvtD0ToKSKK.hh>

+ Inheritance diagram for EvtD0ToKSKK:

Public Member Functions

 EvtD0ToKSKK ()
 
virtual ~EvtD0ToKSKK ()
 
void getName (std::string &name)
 
EvtDecayBaseclone ()
 
void init ()
 
void initProbMax ()
 
void decay (EvtParticle *p)
 
- Public Member Functions inherited from EvtDecayProb
void makeDecay (EvtParticle *p)
 
void setProb (double prob)
 
double getProb ()
 
void setWeight (double weight)
 
virtual ~EvtDecayProb ()
 
- Public Member Functions inherited from EvtDecayBase
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 EvtDecayBase
bool _daugsDecayedByParentModel
 

Detailed Description

Definition at line 8 of file EvtD0ToKSKK.hh.

Constructor & Destructor Documentation

◆ EvtD0ToKSKK()

EvtD0ToKSKK::EvtD0ToKSKK ( )
inline

Definition at line 11 of file EvtD0ToKSKK.hh.

11{}

Referenced by clone().

◆ ~EvtD0ToKSKK()

EvtD0ToKSKK::~EvtD0ToKSKK ( )
virtual

Definition at line 33 of file EvtD0ToKSKK.cc.

33{}

Member Function Documentation

◆ clone()

EvtDecayBase * EvtD0ToKSKK::clone ( )
virtual

Implements EvtDecayBase.

Definition at line 39 of file EvtD0ToKSKK.cc.

39 {
40 return new EvtD0ToKSKK;
41}

◆ decay()

void EvtD0ToKSKK::decay ( EvtParticle * p)
virtual

Implements EvtDecayBase.

Definition at line 111 of file EvtD0ToKSKK.cc.

111 {
112/*
113 double maxprob = 0.0;
114 for(int ir=0;ir<=60000000;ir++){
115 p->initializePhaseSpace(getNDaug(),getDaugs());
116 EvtVector4R D1 = p->getDaug(0)->getP4();
117 EvtVector4R D2 = p->getDaug(1)->getP4();
118 EvtVector4R D3 = p->getDaug(2)->getP4();
119 double value1 = EvaluateAmp(D1, D2, D3);
120 if(value1>maxprob) {
121 maxprob=value1;
122 cout << "ir = " << ir << " maxprob = " << value1 << endl;
123 }
124 }
125 cout << "MAXprob = " << maxprob << endl;
126*/
128 EvtVector4R D1 = p->getDaug(0)->getP4(); // KS0
129 EvtVector4R D2 = p->getDaug(1)->getP4(); // K-
130 EvtVector4R D3 = p->getDaug(2)->getP4(); // K+
131 double value = EvaluateAmp(D1, D2, D3);
132 setProb(value);
133 return;
134}
EvtId * getDaugs()
void setProb(double prob)
const EvtVector4R & getP4() const
EvtParticle * getDaug(int i)
double initializePhaseSpace(int numdaughter, EvtId *daughters, double poleSize=-1., int whichTwo1=0, int whichTwo2=1)

◆ getName()

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

Implements EvtDecayBase.

Definition at line 35 of file EvtD0ToKSKK.cc.

35 {
36 model_name="D0ToKSKK";
37}

◆ init()

void EvtD0ToKSKK::init ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 43 of file EvtD0ToKSKK.cc.

43 {
44 checkNArg(0);
45 checkNDaug(3);
50
51 //cout << "Initializing D0ToKSKK" << endl;
52
53 MD = 1.86484; // 0 mass D0
54 m1 = 0.4976; // 1 mass KS
55 m2 = 0.49368; // 2 mass K-
56 m3 = 0.49368; // 3 mass K+
57
58 mag_a00 = 1.0;
59 phase_a00 = 0.0;
60 spin_a00 = 0;
61 mass_a00 = 0.994; // 23 -> 0:m23sq 8:cosTheta23_12
62 gA_a00 = 3.80179;
63 gB_a00 = 2.66;
64 gC_a00 = 3.80179;
65 massB1_a00 = 0.547862;
66 massB2_a00 = 0.134977;
67 massC1_a00 = 0.497614;
68 massC2_a00 = 0.497614;
69
70 mag_a0p = 0.591716;
71 phase_a0p = 2.95792;
72 spin_a0p = 0;
73 mass_a0p = 0.994; // 13 -> 1:m13sq 5:cosTheta13_12
74 gA_a0p = 3.80179;
75 gB_a0p = 2.66;
76 massB1_a0p = 0.547862;
77 massB2_a0p = 0.13957;
78
79 mag_phi = 0.713488;
80 phase_phi = 1.66557;
81 spin_phi = 1;
82 mass_phi = 1.01946; // 23 -> 0 8
83 width_phi = 0.004266;
84
85 mag_a2p = 0.126298;
86 phase_a2p = -2.9734;
87 spin_a2p = 2;
88 mass_a2p = 1.3181; // 13 -> 1 5
89 width_a2p = 0.1098;
90
91 mag_a2m = 0.0965778;
92 phase_a2m = -0.138591;
93 spin_a2m = 2;
94 mass_a2m = 1.3181; // 12 -> 2:m12sq 4:cosTheta12_23
95 width_a2m = 0.1098;
96
97 mag_a0_1450m = 0.210031;
98 phase_a0_1450m = -0.23412;
99 spin_a0_1450m = 0;
100 mass_a0_1450m = 1.474; // 12 -> 2 4
101 width_a0_1450m = 0.265;
102
103 mesonRadius = 1.5;
104 motherRadius = 1.0;
105}
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 EvtD0ToKSKK::initProbMax ( )
virtual

Reimplemented from EvtDecayBase.

Definition at line 107 of file EvtD0ToKSKK.cc.

107 {
108 setProbMax(143.0);
109}
void setProbMax(double prbmx)

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