#include <EvtFlatLineShape.hh>
|
| EvtFlatLineShape () |
|
| EvtFlatLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp) |
|
| ~EvtFlatLineShape () |
|
EvtFlatLineShape & | operator= (const EvtFlatLineShape &x) |
|
| EvtFlatLineShape (const EvtFlatLineShape &x) |
|
EvtAbsLineShape * | clone () |
|
double | getMassProb (double mass, double massPar, int nDaug, double *massDau) |
|
double | getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses) |
|
| EvtAbsLineShape () |
|
| EvtAbsLineShape (double mass, double width, double maxRange, EvtSpinType::spintype sp) |
|
virtual | ~EvtAbsLineShape () |
|
EvtAbsLineShape & | operator= (const EvtAbsLineShape &x) |
|
| EvtAbsLineShape (const EvtAbsLineShape &x) |
|
double | getMass () |
|
double | getMassMin () |
|
double | getMassMax () |
|
double | getMaxRange () |
|
double | getWidth () |
|
EvtSpinType::spintype | getSpinType () |
|
virtual double | rollMass () |
|
virtual EvtAbsLineShape * | clone () |
|
void | reSetMass (double mass) |
|
void | reSetWidth (double width) |
|
void | reSetMassMin (double mass) |
|
void | reSetMassMax (double mass) |
|
virtual void | reSetBlatt (double blatt) |
|
void | includeBirthFactor (bool yesno) |
|
void | addFactorPn (double factor=0.) |
|
void | includeDecayFactor (bool yesno) |
|
void | setPWForDecay (int spin, EvtId d1, EvtId d2) |
|
void | setPWForBirthL (int spin, EvtId par, EvtId othD) |
|
virtual double | getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses) |
|
virtual double | getMassProb (double mass, double massPar, int nDaug, double *massDau) |
|
void | fixForSP8 () |
|
Definition at line 27 of file EvtFlatLineShape.hh.
◆ EvtFlatLineShape() [1/3]
EvtFlatLineShape::EvtFlatLineShape |
( |
| ) |
|
◆ EvtFlatLineShape() [2/3]
EvtFlatLineShape::EvtFlatLineShape |
( |
double |
mass, |
|
|
double |
width, |
|
|
double |
maxRange, |
|
|
EvtSpinType::spintype |
sp |
|
) |
| |
Definition at line 40 of file EvtFlatLineShape.cc.
40 {
41
46
47 double maxdelta = width;
48
51
53
54}
EvtSpinType::spintype _spin
◆ ~EvtFlatLineShape()
EvtFlatLineShape::~EvtFlatLineShape |
( |
| ) |
|
◆ EvtFlatLineShape() [3/3]
◆ clone()
◆ getMassProb()
double EvtFlatLineShape::getMassProb |
( |
double |
mass, |
|
|
double |
massPar, |
|
|
int |
nDaug, |
|
|
double * |
massDau |
|
) |
| |
|
virtual |
Reimplemented from EvtAbsLineShape.
Definition at line 83 of file EvtFlatLineShape.cc.
83 {
84
85
86 double dTotMass=0.;
87
88 int i;
89 for (i=0; i<nDaug; i++) {
90 dTotMass+=massDau[i];
91 }
92 if ( (
mass<dTotMass) )
return 0.;
93
94 if ( massPar>0.0000000001 ) {
95 if (
mass > massPar)
return 0.;
96 }
97
98 return 1.;
99}
◆ getRandMass()
double EvtFlatLineShape::getRandMass |
( |
EvtId * |
parId, |
|
|
int |
nDaug, |
|
|
EvtId * |
dauId, |
|
|
EvtId * |
othDaugId, |
|
|
double |
maxMass, |
|
|
double * |
dauMasses |
|
) |
| |
|
virtual |
◆ operator=()
The documentation for this class was generated from the following files: