Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtResonance2.hh
Show All 33 Lines | public: | ||||
EvtResonance2( const EvtVector4R& p4_p, const EvtVector4R& p4_d1, | EvtResonance2( const EvtVector4R& p4_p, const EvtVector4R& p4_d1, | ||||
const EvtVector4R& p4_d2, double ampl = 1.0, | const EvtVector4R& p4_d2, double ampl = 1.0, | ||||
double theta = 0.0, double gamma = 0.0, double bwm = 0.0, | double theta = 0.0, double gamma = 0.0, double bwm = 0.0, | ||||
int spin = 0, bool invmass_angdenom = false, | int spin = 0, bool invmass_angdenom = false, | ||||
double barrier1 = 1.5, double barrier2 = 5.0 ); | double barrier1 = 1.5, double barrier2 = 5.0 ); | ||||
//accessors | //accessors | ||||
//return 4-momenta of the particles involved | //return 4-momenta of the particles involved | ||||
inline const EvtVector4R& p4_p() const { return _p4_p; } | inline const EvtVector4R& p4_p() const { return m_p4_p; } | ||||
inline const EvtVector4R& p4_d1() const { return _p4_d1; } | inline const EvtVector4R& p4_d1() const { return m_p4_d1; } | ||||
inline const EvtVector4R& p4_d2() const { return _p4_d2; } | inline const EvtVector4R& p4_d2() const { return m_p4_d2; } | ||||
//return amplitude | //return amplitude | ||||
inline double amplitude() const { return _ampl; } | inline double amplitude() const { return m_ampl; } | ||||
//return theta | //return theta | ||||
inline double theta() const { return _theta; } | inline double theta() const { return m_theta; } | ||||
//return gamma | //return gamma | ||||
inline double gamma() const { return _gamma; } | inline double gamma() const { return m_gamma; } | ||||
//return bwm | //return bwm | ||||
inline double bwm() const { return _bwm; } | inline double bwm() const { return m_bwm; } | ||||
//return spin | //return spin | ||||
inline int spin() const { return _spin; } | inline int spin() const { return m_spin; } | ||||
//calculate amplitude for this resonance | //calculate amplitude for this resonance | ||||
EvtComplex resAmpl() const; | EvtComplex resAmpl() const; | ||||
private: | private: | ||||
EvtVector4R _p4_p, _p4_d1, _p4_d2; | EvtVector4R m_p4_p, m_p4_d1, m_p4_d2; | ||||
double _ampl, _theta, _gamma, _bwm, _barrier1, _barrier2; | double m_ampl, m_theta, m_gamma, m_bwm, m_barrier1, m_barrier2; | ||||
int _spin; | int m_spin; | ||||
bool _invmass_angdenom; | bool m_invmass_angdenom; | ||||
}; | }; | ||||
#endif | #endif |