BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtResonance.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtResonance.hh
12
//
13
// Description:resonance-defining class
14
//
15
// Modification history:
16
//
17
// NK September 4, 1997 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTRESONANCE_HH
22
#define EVTRESONANCE_HH
23
24
#include "
EvtGenBase/EvtVector4R.hh
"
25
26
class
EvtComplex
;
27
28
29
//class declaration
30
31
class
EvtResonance
{
32
public
:
33
34
//operator
35
EvtResonance
&
operator =
(
const
EvtResonance
&);
36
37
//constructor with all information about the resonance
38
EvtResonance
(
const
EvtVector4R
&
p4_p
,
const
EvtVector4R
&
p4_d1
,
39
const
EvtVector4R
&
p4_d2
,
40
double
ampl = 0.0,
double
theta
= 0.0,
double
gamma
= 0.0,
41
double
bwm
= 0.0,
int
spin
= 0);
42
43
//destructor
44
virtual
~EvtResonance
();
45
46
//accessors
47
//return 4-momenta of the particles involved
48
inline
const
EvtVector4R
&
p4_p
() {
return
_p4_p; }
49
inline
const
EvtVector4R
&
p4_d1
() {
return
_p4_d1; }
50
inline
const
EvtVector4R
&
p4_d2
() {
return
_p4_d2; }
51
52
53
//return amplitude
54
inline
double
amplitude
() {
return
_ampl; }
55
56
//return theta
57
inline
double
theta
() {
return
_theta; }
58
59
//return gamma
60
inline
double
gamma
() {
return
_gamma; }
61
62
//return bwm
63
inline
double
bwm
() {
return
_bwm; }
64
65
//return spin
66
inline
int
spin
() {
return
_spin; }
67
68
//functions
69
70
//calculate amplitude for this resonance
71
EvtComplex
resAmpl
();
72
73
//calculate relativistic Breit-Wigner amplitude for P-decays of scalars
74
EvtComplex
relBrWig
(
int
i);
75
76
private
:
77
78
EvtVector4R
_p4_p, _p4_d1, _p4_d2;
79
double
_ampl, _theta, _gamma, _bwm;
80
int
_spin;
81
};
82
83
#endif
84
EvtVector4R.hh
EvtComplex
Definition:
EvtComplex.hh:28
EvtResonance
Definition:
EvtResonance.hh:31
EvtResonance::spin
int spin()
Definition:
EvtResonance.hh:66
EvtResonance::p4_d2
const EvtVector4R & p4_d2()
Definition:
EvtResonance.hh:50
EvtResonance::p4_d1
const EvtVector4R & p4_d1()
Definition:
EvtResonance.hh:49
EvtResonance::operator=
EvtResonance & operator=(const EvtResonance &)
Definition:
EvtResonance.cc:35
EvtResonance::bwm
double bwm()
Definition:
EvtResonance.hh:63
EvtResonance::amplitude
double amplitude()
Definition:
EvtResonance.hh:54
EvtResonance::relBrWig
EvtComplex relBrWig(int i)
Definition:
EvtResonance.cc:114
EvtResonance::gamma
double gamma()
Definition:
EvtResonance.hh:60
EvtResonance::resAmpl
EvtComplex resAmpl()
Definition:
EvtResonance.cc:59
EvtResonance::~EvtResonance
virtual ~EvtResonance()
Definition:
EvtResonance.cc:31
EvtResonance::p4_p
const EvtVector4R & p4_p()
Definition:
EvtResonance.hh:48
EvtResonance::theta
double theta()
Definition:
EvtResonance.hh:57
EvtVector4R
Definition:
EvtVector4R.hh:29
source
Generator
BesEvtGen
BesEvtGen-00-03-98
src
EvtGen
EvtGenBase
EvtResonance.hh
Generated by
1.9.6