BOSS
8.0.0
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 "
EvtVector4R.hh
"
25
26
class
EvtComplex
;
27
28
// class declaration
29
30
class
EvtResonance
{
31
public
:
32
// operator
33
EvtResonance
&
operator=
(
const
EvtResonance
& );
34
35
// constructor with all information about the resonance
36
EvtResonance
(
const
EvtVector4R
&
p4_p
,
const
EvtVector4R
&
p4_d1
,
const
EvtVector4R
&
p4_d2
,
37
double
ampl = 0.0,
double
theta
= 0.0,
double
gamma
= 0.0,
double
bwm
= 0.0,
38
int
spin
= 0 );
39
40
// destructor
41
virtual
~EvtResonance
();
42
43
// accessors
44
// return 4-momenta of the particles involved
45
inline
const
EvtVector4R
&
p4_p
() {
return
_p4_p; }
46
inline
const
EvtVector4R
&
p4_d1
() {
return
_p4_d1; }
47
inline
const
EvtVector4R
&
p4_d2
() {
return
_p4_d2; }
48
49
// return amplitude
50
inline
double
amplitude
() {
return
_ampl; }
51
52
// return theta
53
inline
double
theta
() {
return
_theta; }
54
55
// return gamma
56
inline
double
gamma
() {
return
_gamma; }
57
58
// return bwm
59
inline
double
bwm
() {
return
_bwm; }
60
61
// return spin
62
inline
int
spin
() {
return
_spin; }
63
64
// functions
65
66
// calculate amplitude for this resonance
67
EvtComplex
resAmpl
();
68
69
// calculate relativistic Breit-Wigner amplitude for P-decays of scalars
70
EvtComplex
relBrWig
(
int
i );
71
72
private
:
73
EvtVector4R
_p4_p, _p4_d1, _p4_d2;
74
double
_ampl, _theta, _gamma, _bwm;
75
int
_spin;
76
};
77
78
#endif
EvtVector4R.hh
EvtComplex
Definition
EvtComplex.hh:28
EvtResonance::spin
int spin()
Definition
EvtResonance.hh:62
EvtResonance::p4_d2
const EvtVector4R & p4_d2()
Definition
EvtResonance.hh:47
EvtResonance::p4_d1
const EvtVector4R & p4_d1()
Definition
EvtResonance.hh:46
EvtResonance::operator=
EvtResonance & operator=(const EvtResonance &)
Definition
EvtResonance.cc:35
EvtResonance::bwm
double bwm()
Definition
EvtResonance.hh:59
EvtResonance::amplitude
double amplitude()
Definition
EvtResonance.hh:50
EvtResonance::relBrWig
EvtComplex relBrWig(int i)
Definition
EvtResonance.cc:123
EvtResonance::gamma
double gamma()
Definition
EvtResonance.hh:56
EvtResonance::resAmpl
EvtComplex resAmpl()
Definition
EvtResonance.cc:64
EvtResonance::~EvtResonance
virtual ~EvtResonance()
Definition
EvtResonance.cc:31
EvtResonance::EvtResonance
EvtResonance(const EvtVector4R &p4_p, const EvtVector4R &p4_d1, const EvtVector4R &p4_d2, double ampl=0.0, double theta=0.0, double gamma=0.0, double bwm=0.0, int spin=0)
Definition
EvtResonance.cc:50
EvtResonance::p4_p
const EvtVector4R & p4_p()
Definition
EvtResonance.hh:45
EvtResonance::theta
double theta()
Definition
EvtResonance.hh:53
EvtVector4R
Definition
EvtVector4R.hh:29
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtResonance.hh
Generated by
1.16.1