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