#include <EvtPartProp.hh>
|
| | EvtPartProp () |
| | EvtPartProp (const EvtPartProp &x) |
| | ~EvtPartProp () |
| double | getMass () |
| double | getMassMin () |
| double | getMassMax () |
| double | getMaxRange () |
| double | getWidth () |
| double | getRandMass (EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDauId, double maxMass, double *dauMasses) |
| double | getMassProb (double mass, double massPar, int nDaug, double *massDau) |
| double | getctau () |
| void | setctau (double tau) |
| int | getChg3 () |
| void | setChg3 (int c3) |
| EvtSpinType::spintype | getSpinType () |
| void | setSpinType (EvtSpinType::spintype stype) |
| const std::string & | getName () |
| void | setName (std::string pname) |
| EvtId | getId () |
| void | setId (EvtId id) |
| EvtId | getIdChgConj () |
| void | setIdChgConj (EvtId idchgconj) |
| int | getStdHep () |
| void | setStdHep (int stdhep) |
| int | getLundKC () |
| void | setLundKC (int lundkc) |
| EvtAbsLineShape * | getLineShape () |
| void | initLineShape (double mass, double width, double maxRange) |
| void | setLineShape (EvtAbsLineShape *l) |
| double | rollMass () |
| EvtPartProp & | operator= (const EvtPartProp &x) |
| void | reSetMass (double mass) |
| void | reSetWidth (double width) |
| void | reSetMassMin (double mass) |
| void | reSetMassMax (double mass) |
| void | reSetBlatt (double blatt) |
| void | includeBirthFactor (bool yesno) |
| void | includeDecayFactor (bool yesno) |
| void | addFactorPn (double factor) |
| void | newLineShape (std::string type) |
| void | setPWForDecay (int spin, EvtId d1, EvtId d2) |
| void | setPWForBirthL (int spin, EvtId par, EvtId othD) |
| void | fixLSForSP8 () |
Definition at line 30 of file EvtPartProp.hh.
◆ EvtPartProp() [1/2]
| EvtPartProp::EvtPartProp |
( |
| ) |
|
Definition at line 34 of file EvtPartProp.cc.
35 : _id( -1, -1 ), _idchgconj( -1, -1 ), _chg3( 0 ), _stdhep( 0 ), _lundkc( 0 ) {
36 _lineShape = 0;
37 _ctau = 0.0;
38 _name = "*******";
40}
Referenced by EvtPartProp(), and operator=().
◆ EvtPartProp() [2/2]
Definition at line 42 of file EvtPartProp.cc.
42 {
43
44 if ( 0 !=
x._lineShape ) { _lineShape =
x._lineShape->clone(); }
45 else { _lineShape = 0; }
48 _spintype =
x._spintype;
50 _idchgconj =
x._idchgconj;
54}
◆ ~EvtPartProp()
| EvtPartProp::~EvtPartProp |
( |
| ) |
|
Definition at line 56 of file EvtPartProp.cc.
56 {
57 if ( _lineShape ) delete _lineShape;
58 _lineShape = 0;
59}
◆ addFactorPn()
| void EvtPartProp::addFactorPn |
( |
double | factor = 0 | ) |
|
Definition at line 140 of file EvtPartProp.cc.
140 {
141 if ( !_lineShape ) ::abort();
142 _lineShape->addFactorPn( factor );
143}
◆ fixLSForSP8()
| void EvtPartProp::fixLSForSP8 |
( |
| ) |
|
|
inline |
◆ getChg3()
| int EvtPartProp::getChg3 |
( |
| ) |
|
|
inline |
◆ getctau()
| double EvtPartProp::getctau |
( |
| ) |
|
|
inline |
◆ getId()
| EvtId EvtPartProp::getId |
( |
| ) |
|
|
inline |
◆ getIdChgConj()
| EvtId EvtPartProp::getIdChgConj |
( |
| ) |
|
|
inline |
◆ getLineShape()
◆ getLundKC()
| int EvtPartProp::getLundKC |
( |
| ) |
|
|
inline |
◆ getMass()
| double EvtPartProp::getMass |
( |
| ) |
|
|
inline |
Definition at line 38 of file EvtPartProp.hh.
38{ return _lineShape->getMass(); }
◆ getMassMax()
| double EvtPartProp::getMassMax |
( |
| ) |
|
|
inline |
Definition at line 40 of file EvtPartProp.hh.
40{ return _lineShape->getMassMax(); }
◆ getMassMin()
| double EvtPartProp::getMassMin |
( |
| ) |
|
|
inline |
Definition at line 39 of file EvtPartProp.hh.
39{ return _lineShape->getMassMin(); }
◆ getMassProb()
| double EvtPartProp::getMassProb |
( |
double | mass, |
|
|
double | massPar, |
|
|
int | nDaug, |
|
|
double * | massDau ) |
|
inline |
Definition at line 48 of file EvtPartProp.hh.
48 {
49 return _lineShape->getMassProb(
mass, massPar, nDaug, massDau );
50 }
◆ getMaxRange()
| double EvtPartProp::getMaxRange |
( |
| ) |
|
|
inline |
Definition at line 41 of file EvtPartProp.hh.
41{ return _lineShape->getMaxRange(); }
◆ getName()
| const std::string & EvtPartProp::getName |
( |
| ) |
|
|
inline |
◆ getRandMass()
| double EvtPartProp::getRandMass |
( |
EvtId * | parId, |
|
|
int | nDaug, |
|
|
EvtId * | dauId, |
|
|
EvtId * | othDauId, |
|
|
double | maxMass, |
|
|
double * | dauMasses ) |
|
inline |
Definition at line 44 of file EvtPartProp.hh.
45 {
46 return _lineShape->getRandMass( parId, nDaug, dauId, othDauId, maxMass, dauMasses );
47 }
◆ getSpinType()
◆ getStdHep()
| int EvtPartProp::getStdHep |
( |
| ) |
|
|
inline |
◆ getWidth()
| double EvtPartProp::getWidth |
( |
| ) |
|
|
inline |
Definition at line 42 of file EvtPartProp.hh.
42{ return _lineShape->getWidth(); }
◆ includeBirthFactor()
| void EvtPartProp::includeBirthFactor |
( |
bool | yesno | ) |
|
Definition at line 131 of file EvtPartProp.cc.
131 {
132 if ( !_lineShape ) ::abort();
133 _lineShape->includeBirthFactor( yesno );
134}
◆ includeDecayFactor()
| void EvtPartProp::includeDecayFactor |
( |
bool | yesno | ) |
|
Definition at line 135 of file EvtPartProp.cc.
135 {
136 if ( !_lineShape ) ::abort();
137 _lineShape->includeDecayFactor( yesno );
138}
◆ initLineShape()
| void EvtPartProp::initLineShape |
( |
double | mass, |
|
|
double | width, |
|
|
double | maxRange ) |
◆ newLineShape()
| void EvtPartProp::newLineShape |
( |
std::string | type | ) |
|
Definition at line 80 of file EvtPartProp.cc.
80 {
81
82 double m = _lineShape->getMass();
83 double w = _lineShape->getWidth();
84 double mR = _lineShape->getMaxRange();
86 delete _lineShape;
87 if ( type ==
"RELBW" ) { _lineShape =
new EvtRelBreitWignerBarrierFact( m,
w, mR, st ); }
88 if ( type ==
"NONRELBW" ) { _lineShape =
new EvtAbsLineShape( m,
w, mR, st ); }
89 if ( type ==
"FLAT" ) { _lineShape =
new EvtFlatLineShape( m,
w, mR, st ); }
90 if ( type == "MANYDELTAFUNC" )
91 { _lineShape =
new EvtManyDeltaFuncLineShape( m,
w, mR, st ); }
92}
◆ operator=()
Definition at line 63 of file EvtPartProp.cc.
63 {
64
65 _lineShape =
x._lineShape->clone();
66
70 _spintype =
x._spintype;
71 return *this;
72}
◆ reSetBlatt()
| void EvtPartProp::reSetBlatt |
( |
double | blatt | ) |
|
Definition at line 127 of file EvtPartProp.cc.
127 {
128 if ( !_lineShape ) ::abort();
129 _lineShape->reSetBlatt( blatt );
130}
◆ reSetMass()
| void EvtPartProp::reSetMass |
( |
double | mass | ) |
|
Definition at line 100 of file EvtPartProp.cc.
100 {
101 if ( !_lineShape ) ::abort();
102 _lineShape->reSetMass(
mass );
103}
◆ reSetMassMax()
| void EvtPartProp::reSetMassMax |
( |
double | mass | ) |
|
Definition at line 123 of file EvtPartProp.cc.
123 {
124 if ( !_lineShape ) ::abort();
125 _lineShape->reSetMassMax(
mass );
126}
◆ reSetMassMin()
| void EvtPartProp::reSetMassMin |
( |
double | mass | ) |
|
Definition at line 119 of file EvtPartProp.cc.
119 {
120 if ( !_lineShape ) ::abort();
121 _lineShape->reSetMassMin(
mass );
122}
◆ reSetWidth()
| void EvtPartProp::reSetWidth |
( |
double | width | ) |
|
Definition at line 104 of file EvtPartProp.cc.
104 {
105 if ( !_lineShape ) ::abort();
106 _lineShape->reSetWidth( width );
107}
◆ rollMass()
| double EvtPartProp::rollMass |
( |
| ) |
|
|
inline |
Definition at line 83 of file EvtPartProp.hh.
83{ return _lineShape->rollMass(); }
◆ setChg3()
| void EvtPartProp::setChg3 |
( |
int | c3 | ) |
|
|
inline |
◆ setctau()
| void EvtPartProp::setctau |
( |
double | tau | ) |
|
|
inline |
◆ setId()
| void EvtPartProp::setId |
( |
EvtId | id | ) |
|
|
inline |
◆ setIdChgConj()
| void EvtPartProp::setIdChgConj |
( |
EvtId | idchgconj | ) |
|
|
inline |
◆ setLineShape()
◆ setLundKC()
| void EvtPartProp::setLundKC |
( |
int | lundkc | ) |
|
|
inline |
◆ setName()
| void EvtPartProp::setName |
( |
std::string | pname | ) |
|
◆ setPWForBirthL()
| void EvtPartProp::setPWForBirthL |
( |
int | spin, |
|
|
EvtId | par, |
|
|
EvtId | othD ) |
Definition at line 114 of file EvtPartProp.cc.
114 {
115 if ( !_lineShape ) ::abort();
116 _lineShape->setPWForBirthL( spin, par, othD );
117}
◆ setPWForDecay()
| void EvtPartProp::setPWForDecay |
( |
int | spin, |
|
|
EvtId | d1, |
|
|
EvtId | d2 ) |
Definition at line 109 of file EvtPartProp.cc.
109 {
110 if ( !_lineShape ) ::abort();
111 _lineShape->setPWForDecay( spin, d1, d2 );
112}
◆ setSpinType()
◆ setStdHep()
| void EvtPartProp::setStdHep |
( |
int | stdhep | ) |
|
|
inline |
The documentation for this class was generated from the following files: