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
6
class
EvtMRes
;
7
8
class
EvtMLineShape
{
9
10
public
:
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
18
protected
:
19
EvtMRes
*
_node
;
20
};
21
22
class
EvtMRes
:
public
EvtMNode
{
23
24
public
:
25
EvtMRes
() {}
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
34
protected
:
35
// store the child nodes
36
vector<EvtMNode*>
_children
;
37
38
// store the parametrization amplitudes in some kind
39
EvtSpinAmp
_amp
;
40
41
// store the lineshape of the resonance
42
EvtMLineShape
*
_lineshape
;
43
};
44
45
#endif
n
const Int_t n
Definition
DataBase/tau_mode.c:57
EvtMNode.hh
EvtComplex
Definition
EvtComplex.hh:28
EvtMLineShape
Definition
EvtMRes.hh:8
EvtMLineShape::shape
virtual EvtComplex shape(const vector< EvtVector4R > &product) const =0
EvtMLineShape::setres
void setres(EvtMRes *n)
Definition
EvtMRes.hh:13
EvtMLineShape::duplicate
virtual EvtMLineShape * duplicate() const =0
EvtMLineShape::_node
EvtMRes * _node
Definition
EvtMRes.hh:19
EvtMLineShape::~EvtMLineShape
virtual ~EvtMLineShape()
Definition
EvtMRes.hh:11
EvtMNode::EvtMNode
EvtMNode()
Definition
EvtMNode.hh:20
EvtMRes
Definition
EvtMRes.hh:22
EvtMRes::_amp
EvtSpinAmp _amp
Definition
EvtMRes.hh:39
EvtMRes::_children
vector< EvtMNode * > _children
Definition
EvtMRes.hh:36
EvtMRes::~EvtMRes
virtual ~EvtMRes()
Definition
EvtMRes.hh:26
EvtMRes::EvtMRes
EvtMRes()
Definition
EvtMRes.hh:25
EvtMRes::getnchild
int getnchild() const
Definition
EvtMRes.hh:28
EvtMRes::line
virtual EvtComplex line(const vector< EvtVector4R > &product) const
Definition
EvtMRes.hh:30
EvtMRes::_lineshape
EvtMLineShape * _lineshape
Definition
EvtMRes.hh:42
EvtSpinAmp
Definition
EvtSpinAmp.hh:17
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtMRes.hh
Generated by
1.16.1