4 #include "EvtGenBase/EvtMNode.hh"
12 virtual ~EvtMLineShape() {};
14 void setres( EvtMRes * n ) { _node = n; }
15 virtual EvtComplex shape( const vector<EvtVector4R>& product ) const=0;
17 virtual EvtMLineShape * duplicate() const=0;
24 class EvtMRes : public EvtMNode {
30 int getnchild() const { return _children.size(); }
32 virtual EvtComplex line( const vector<EvtVector4R>& product ) const
33 { return _lineshape->shape( product ); }
37 // store the child nodes
38 vector<EvtMNode *> _children;
40 // store the parametrization amplitudes in some kind
43 // store the lineshape of the resonance
44 EvtMLineShape * _lineshape;