00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef EVTRESONANCE2_HH
00022 #define EVTRESONANCE2_HH
00023
00024 #include "EvtGenBase/EvtVector4R.hh"
00025
00026 class EvtComplex;
00027
00028
00029
00030
00031 class EvtResonance2 {
00032 public:
00033
00034
00035 EvtResonance2& operator = (const EvtResonance2 &);
00036
00037
00038 EvtResonance2(const EvtVector4R& p4_p, const EvtVector4R& p4_d1,
00039 const EvtVector4R& p4_d2,
00040 double ampl = 0.0, double theta = 0.0, double gamma = 0.0,
00041 double bwm = 0.0, int spin = 0, bool invmass_angdenom = false);
00042
00043
00044 virtual ~EvtResonance2();
00045
00046
00047
00048 inline const EvtVector4R& p4_p() { return _p4_p; }
00049 inline const EvtVector4R& p4_d1() { return _p4_d1; }
00050 inline const EvtVector4R& p4_d2() { return _p4_d2; }
00051
00052
00053
00054 inline double amplitude() { return _ampl; }
00055
00056
00057 inline double theta() { return _theta; }
00058
00059
00060 inline double gamma() { return _gamma; }
00061
00062
00063 inline double bwm() { return _bwm; }
00064
00065
00066 inline int spin() { return _spin; }
00067
00068
00069
00070
00071 EvtComplex resAmpl();
00072
00073 private:
00074
00075 EvtVector4R _p4_p, _p4_d1, _p4_d2;
00076 double _ampl, _theta, _gamma, _bwm;
00077 int _spin;
00078 bool _invmass_angdenom;
00079
00080 };
00081
00082 #endif
00083