#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 31 of file EvtPartProp.hh.
◆ EvtPartProp() [1/2]
EvtPartProp::EvtPartProp |
( |
| ) |
|
Definition at line 34 of file EvtPartProp.cc.
34 :
35 _id(-1,-1)
36 ,_idchgconj(-1,-1)
37 ,_chg3(0)
38 ,_stdhep(0)
39 ,_lundkc(0)
40{
41 _lineShape=0;
42 _ctau=0.0;
43 _name="*******";
45}
◆ EvtPartProp() [2/2]
Definition at line 47 of file EvtPartProp.cc.
47 {
48
50 _lineShape=
x._lineShape->clone();
51 }
52 else{
53 _lineShape=0;
54 }
57 _spintype=
x._spintype;
59 _idchgconj=
x._idchgconj;
63
64}
◆ ~EvtPartProp()
EvtPartProp::~EvtPartProp |
( |
| ) |
|
Definition at line 66 of file EvtPartProp.cc.
66 {
67 if ( _lineShape ) delete _lineShape;
68 _lineShape=0;
69}
◆ addFactorPn()
void EvtPartProp::addFactorPn |
( |
double | factor = 0 | ) |
|
Definition at line 164 of file EvtPartProp.cc.
164 {
165 if (!_lineShape) ::abort();
167
168}
void addFactorPn(double factor=0.)
◆ 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 |
◆ getMassMax()
double EvtPartProp::getMassMax |
( |
| ) |
|
|
inline |
◆ getMassMin()
double EvtPartProp::getMassMin |
( |
| ) |
|
|
inline |
◆ getMassProb()
double EvtPartProp::getMassProb |
( |
double | mass, |
|
|
double | massPar, |
|
|
int | nDaug, |
|
|
double * | massDau ) |
|
inline |
Definition at line 47 of file EvtPartProp.hh.
virtual double getMassProb(double mass, double massPar, int nDaug, double *massDau)
◆ getMaxRange()
double EvtPartProp::getMaxRange |
( |
| ) |
|
|
inline |
◆ 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 46 of file EvtPartProp.hh.
46{
return _lineShape->
getRandMass(parId,nDaug,dauId,othDauId,maxMass,dauMasses);}
virtual double getRandMass(EvtId *parId, int nDaug, EvtId *dauId, EvtId *othDaugId, double maxMass, double *dauMasses)
◆ getSpinType()
◆ getStdHep()
int EvtPartProp::getStdHep |
( |
| ) |
|
|
inline |
◆ getWidth()
double EvtPartProp::getWidth |
( |
| ) |
|
|
inline |
◆ includeBirthFactor()
void EvtPartProp::includeBirthFactor |
( |
bool | yesno | ) |
|
Definition at line 155 of file EvtPartProp.cc.
155 {
156 if (!_lineShape) ::abort();
158}
void includeBirthFactor(bool yesno)
◆ includeDecayFactor()
void EvtPartProp::includeDecayFactor |
( |
bool | yesno | ) |
|
Definition at line 159 of file EvtPartProp.cc.
159 {
160 if (!_lineShape) ::abort();
162}
void includeDecayFactor(bool yesno)
◆ initLineShape()
void EvtPartProp::initLineShape |
( |
double | mass, |
|
|
double | width, |
|
|
double | maxRange ) |
◆ newLineShape()
void EvtPartProp::newLineShape |
( |
std::string | type | ) |
|
Definition at line 96 of file EvtPartProp.cc.
96 {
97
102 delete _lineShape;
103 if ( type == "RELBW" ) {
105 }
106 if ( type == "NONRELBW" ) {
108 }
109 if ( type == "FLAT" ) {
111 }
112 if ( type == "MANYDELTAFUNC" ) {
114 }
115}
EvtSpinType::spintype getSpinType()
◆ operator=()
Definition at line 79 of file EvtPartProp.cc.
79 {
80
81 _lineShape=
x._lineShape->clone();
82
86 _spintype=
x._spintype;
87 return *this;
88}
◆ reSetBlatt()
void EvtPartProp::reSetBlatt |
( |
double | blatt | ) |
|
Definition at line 151 of file EvtPartProp.cc.
151 {
152 if (!_lineShape) ::abort();
154}
virtual void reSetBlatt(double blatt)
◆ reSetMass()
void EvtPartProp::reSetMass |
( |
double | mass | ) |
|
Definition at line 123 of file EvtPartProp.cc.
123 {
124 if (!_lineShape) ::abort();
126}
void reSetMass(double mass)
◆ reSetMassMax()
void EvtPartProp::reSetMassMax |
( |
double | mass | ) |
|
Definition at line 147 of file EvtPartProp.cc.
147 {
148 if (!_lineShape) ::abort();
150}
void reSetMassMax(double mass)
◆ reSetMassMin()
void EvtPartProp::reSetMassMin |
( |
double | mass | ) |
|
Definition at line 143 of file EvtPartProp.cc.
143 {
144 if (!_lineShape) ::abort();
146}
void reSetMassMin(double mass)
◆ reSetWidth()
void EvtPartProp::reSetWidth |
( |
double | width | ) |
|
Definition at line 127 of file EvtPartProp.cc.
127 {
128 if (!_lineShape) ::abort();
130}
void reSetWidth(double width)
◆ rollMass()
double EvtPartProp::rollMass |
( |
| ) |
|
|
inline |
◆ 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 137 of file EvtPartProp.cc.
137 {
138 if (!_lineShape) ::abort();
140}
void setPWForBirthL(int spin, EvtId par, EvtId othD)
◆ setPWForDecay()
void EvtPartProp::setPWForDecay |
( |
int | spin, |
|
|
EvtId | d1, |
|
|
EvtId | d2 ) |
Definition at line 132 of file EvtPartProp.cc.
132 {
133 if (!_lineShape) ::abort();
135}
void setPWForDecay(int spin, EvtId d1, EvtId d2)
◆ setSpinType()
◆ setStdHep()
void EvtPartProp::setStdHep |
( |
int | stdhep | ) |
|
|
inline |
The documentation for this class was generated from the following files: