Changeset View
Changeset View
Standalone View
Standalone View
EvtGenBase/EvtTwoBodyVertex.hh
Show All 34 Lines | public: | ||||
EvtTwoBodyVertex( double mA, double mB, double mAB, int L ); | EvtTwoBodyVertex( double mA, double mB, double mAB, int L ); | ||||
EvtTwoBodyVertex( const EvtTwoBodyVertex& other ); | EvtTwoBodyVertex( const EvtTwoBodyVertex& other ); | ||||
EvtTwoBodyVertex& operator=( const EvtTwoBodyVertex& other ); | EvtTwoBodyVertex& operator=( const EvtTwoBodyVertex& other ); | ||||
double widthFactor( EvtTwoBodyKine x ) const; | double widthFactor( EvtTwoBodyKine x ) const; | ||||
double formFactor( EvtTwoBodyKine x ) const; | double formFactor( EvtTwoBodyKine x ) const; | ||||
double phaseSpaceFactor( EvtTwoBodyKine x, EvtTwoBodyKine::Index ) const; | double phaseSpaceFactor( EvtTwoBodyKine x, EvtTwoBodyKine::Index ) const; | ||||
inline int L() const { return _LL; } | inline int L() const { return m_LL; } | ||||
inline double mA() const { return _kine.mA(); } | inline double mA() const { return m_kine.mA(); } | ||||
inline double mB() const { return _kine.mB(); } | inline double mB() const { return m_kine.mB(); } | ||||
inline double mAB() const { return _kine.mAB(); } | inline double mAB() const { return m_kine.mAB(); } | ||||
inline double pD() const { return _p0; } | inline double pD() const { return m_p0; } | ||||
void print( std::ostream& os ) const; | void print( std::ostream& os ) const; | ||||
void set_f( double R ); | void set_f( double R ); | ||||
private: | private: | ||||
EvtTwoBodyKine _kine; | EvtTwoBodyKine m_kine; | ||||
int _LL; | int m_LL; | ||||
double _p0; | double m_p0; | ||||
std::unique_ptr<EvtBlattWeisskopf> _f; // optional Blatt-Weisskopf form factor | std::unique_ptr<EvtBlattWeisskopf> m_f; // optional Blatt-Weisskopf form factor | ||||
}; | }; | ||||
std::ostream& operator<<( std::ostream& os, const EvtTwoBodyVertex& v ); | std::ostream& operator<<( std::ostream& os, const EvtTwoBodyVertex& v ); | ||||
#endif | #endif |