/* * ResonanseP.h * * Created on: Jan 11, 2012 * Author: Anastasia Karavdina */ #ifndef RESONANCEP_H_ #define RESONANCEP_H_ /* * Resonance particle description */ #include "Particle.h" #include class ResonanceP: public Particle { public: ResonanceP(int code, double mass, double spin, int P, int C); ResonanceP(){}; ResonanceP(const ResonanceP& pat); virtual ~ResonanceP(); void SetWidth(double w);//set width of resonance double Width();// get width of resonance void SetDecay(int p1,int p2);//set _code1 and _code2 int Code1(){return _code1;} int Code2(){return _code2;} void Print(); private: double _width; ///res->_code1+_code2 int _code1; int _code2; }; #endif /* RESONANCEP_H_ */