Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtResonance.hh
Show All 30 Lines | public: | ||||
//constructor with all information about the resonance | //constructor with all information about the resonance | ||||
EvtResonance( const EvtVector4R& p4_p, const EvtVector4R& p4_d1, | EvtResonance( const EvtVector4R& p4_p, const EvtVector4R& p4_d1, | ||||
const EvtVector4R& p4_d2, double ampl = 0.0, double theta = 0.0, | const EvtVector4R& p4_d2, double ampl = 0.0, double theta = 0.0, | ||||
double gamma = 0.0, double bwm = 0.0, int spin = 0 ); | double gamma = 0.0, double bwm = 0.0, int spin = 0 ); | ||||
//accessors | //accessors | ||||
//return 4-momenta of the particles involved | //return 4-momenta of the particles involved | ||||
inline const EvtVector4R& p4_p() { return _p4_p; } | inline const EvtVector4R& p4_p() { return m_p4_p; } | ||||
inline const EvtVector4R& p4_d1() { return _p4_d1; } | inline const EvtVector4R& p4_d1() { return m_p4_d1; } | ||||
inline const EvtVector4R& p4_d2() { return _p4_d2; } | inline const EvtVector4R& p4_d2() { return m_p4_d2; } | ||||
//return amplitude | //return amplitude | ||||
inline double amplitude() { return _ampl; } | inline double amplitude() { return m_ampl; } | ||||
//return theta | //return theta | ||||
inline double theta() { return _theta; } | inline double theta() { return m_theta; } | ||||
//return gamma | //return gamma | ||||
inline double gamma() { return _gamma; } | inline double gamma() { return m_gamma; } | ||||
//return bwm | //return bwm | ||||
inline double bwm() { return _bwm; } | inline double bwm() { return m_bwm; } | ||||
//return spin | //return spin | ||||
inline int spin() { return _spin; } | inline int spin() { return m_spin; } | ||||
//calculate amplitude for this resonance | //calculate amplitude for this resonance | ||||
EvtComplex resAmpl(); | EvtComplex resAmpl(); | ||||
//calculate relativistic Breit-Wigner amplitude for P-decays of scalars | //calculate relativistic Breit-Wigner amplitude for P-decays of scalars | ||||
EvtComplex relBrWig( int i ); | EvtComplex relBrWig( int i ); | ||||
private: | private: | ||||
EvtVector4R _p4_p, _p4_d1, _p4_d2; | EvtVector4R m_p4_p, m_p4_d1, m_p4_d2; | ||||
double _ampl, _theta, _gamma, _bwm; | double m_ampl, m_theta, m_gamma, m_bwm; | ||||
int _spin; | int m_spin; | ||||
}; | }; | ||||
#endif | #endif |