35 : _id( -1, -1 ), _idchgconj( -1, -1 ), _chg3( 0 ), _stdhep( 0 ), _lundkc( 0 ) {
44 if ( 0 != x._lineShape ) { _lineShape = x._lineShape->clone(); }
45 else { _lineShape = 0; }
48 _spintype = x._spintype;
50 _idchgconj = x._idchgconj;
57 if ( _lineShape )
delete _lineShape;
65 _lineShape = x._lineShape->
clone();
70 _spintype = x._spintype;
82 double m = _lineShape->getMass();
83 double w = _lineShape->getWidth();
84 double mR = _lineShape->getMaxRange();
90 if (
type ==
"MANYDELTAFUNC" )
101 if ( !_lineShape ) ::abort();
102 _lineShape->reSetMass(
mass );
105 if ( !_lineShape ) ::abort();
106 _lineShape->reSetWidth( width );
110 if ( !_lineShape ) ::abort();
111 _lineShape->setPWForDecay( spin, d1, d2 );
115 if ( !_lineShape ) ::abort();
116 _lineShape->setPWForBirthL( spin, par, othD );
120 if ( !_lineShape ) ::abort();
121 _lineShape->reSetMassMin(
mass );
124 if ( !_lineShape ) ::abort();
125 _lineShape->reSetMassMax(
mass );
128 if ( !_lineShape ) ::abort();
129 _lineShape->reSetBlatt( blatt );
132 if ( !_lineShape ) ::abort();
133 _lineShape->includeBirthFactor( yesno );
136 if ( !_lineShape ) ::abort();
137 _lineShape->includeDecayFactor( yesno );
141 if ( !_lineShape ) ::abort();
142 _lineShape->addFactorPn( factor );
virtual EvtAbsLineShape * clone()
void initLineShape(double mass, double width, double maxRange)
void reSetBlatt(double blatt)
void setName(std::string pname)
void reSetMassMin(double mass)
void setPWForDecay(int spin, EvtId d1, EvtId d2)
void setPWForBirthL(int spin, EvtId par, EvtId othD)
void addFactorPn(double factor)
void includeDecayFactor(bool yesno)
void includeBirthFactor(bool yesno)
EvtPartProp & operator=(const EvtPartProp &x)
void reSetMass(double mass)
void reSetWidth(double width)
void newLineShape(std::string type)
void reSetMassMax(double mass)