1 #ifndef __EVTMNODE_HH__
2 #define __EVTMNODE_HH__
4 #include "EvtGenBase/EvtVector4R.hh"
5 #include "EvtGenBase/EvtComplex.hh"
6 #include "EvtGenBase/EvtPDL.hh"
8 #include "EvtGenBase/EvtSymTable.hh"
9 #include "EvtGenBase/EvtSpinAmp.hh"
27 virtual EvtSpinAmp amplitude(
const vector<EvtVector4R>
31 EvtVector4R get4vector(
const vector<EvtVector4R> &product )
const;
34 int getspin()
const {
return _twospin; }
35 EvtSpinType::spintype getspintype()
const {
return EvtPDL::getSpinType( _id ); }
38 EvtId getid()
const {
return _id; }
41 const vector<int> & getresonance()
const {
return _resonance; }
43 void setparent(
EvtMNode * parent ) { _parent = parent; }
44 EvtMNode * getparent()
const {
return _parent; }
47 virtual int getnchild()
const = 0;
50 virtual EvtComplex line(
const vector<EvtVector4R>& product )
const=0;
53 virtual EvtMNode * duplicate()
const=0;
65 vector<int> _resonance;