BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMRes.hh
Go to the documentation of this file.
1#ifndef __EVTMRES_HH__
2#define __EVTMRES_HH__
3
4#include "EvtGenBase/EvtMNode.hh"
5
6class EvtMRes;
7
8class EvtMLineShape {
9
10 public:
11
12 virtual ~EvtMLineShape() {};
13
14 void setres( EvtMRes * n ) { _node = n; }
15 virtual EvtComplex shape( const vector<EvtVector4R>& product ) const=0;
16
17 virtual EvtMLineShape * duplicate() const=0;
18
19 protected:
20
21 EvtMRes * _node;
22};
23
24class EvtMRes : public EvtMNode {
25
26 public:
27
29 virtual ~EvtMRes(){}
30
31 int getnchild() const { return _children.size(); }
32
33 virtual EvtComplex line( const vector<EvtVector4R>& product ) const
34 { return _lineshape->shape( product ); }
35
36 protected:
37
38 // store the child nodes
39 vector<EvtMNode *> _children;
40
41 // store the parametrization amplitudes in some kind
43
44 // store the lineshape of the resonance
46
47};
48
49#endif
const Int_t n
virtual EvtComplex shape(const vector< EvtVector4R > &product) const =0
virtual EvtMLineShape * duplicate() const =0
virtual EvtComplex line(const vector< EvtVector4R > &product) const