BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtResonance2.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/EvtResonance2.hh
12
//
13
// Description:resonance-defining class
14
//
15
// Modification history:
16
//
17
// lange Nov 21, 2000 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTRESONANCE2_HH
22
#define EVTRESONANCE2_HH
23
24
#include "
EvtGenBase/EvtVector4R.hh
"
25
26
class
EvtComplex
;
27
28
29
//class declaration
30
31
class
EvtResonance2
{
32
public
:
33
34
//operator
35
EvtResonance2
&
operator =
(
const
EvtResonance2
&);
36
37
//constructor with all information about the resonance
38
EvtResonance2
(
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,
bool
invmass_angdenom =
false
,
42
bool
usemD =
true
);
////////////////////////////////////////////////////////////////////
43
44
//destructor
45
virtual
~EvtResonance2
();
46
47
//accessors
48
//return 4-momenta of the particles involved
49
inline
const
EvtVector4R
&
p4_p
() {
return
_p4_p; }
50
inline
const
EvtVector4R
&
p4_d1
() {
return
_p4_d1; }
51
inline
const
EvtVector4R
&
p4_d2
() {
return
_p4_d2; }
52
53
54
//return amplitude
55
inline
double
amplitude
() {
return
_ampl; }
56
57
//return theta
58
inline
double
theta
() {
return
_theta; }
59
60
//return gamma
61
inline
double
gamma
() {
return
_gamma; }
62
63
//return bwm
64
inline
double
bwm
() {
return
_bwm; }
65
66
//return spin
67
inline
int
spin
() {
return
_spin; }
68
69
//functions
70
71
//calculate amplitude for this resonance
72
EvtComplex
resAmpl
();
73
74
private
:
75
76
EvtVector4R
_p4_p, _p4_d1, _p4_d2;
77
double
_ampl, _theta, _gamma, _bwm;
78
int
_spin;
79
bool
_invmass_angdenom;
80
bool
_use_mD;
/////////////////////////////////////////////////////
81
82
};
83
84
#endif
85
EvtVector4R.hh
EvtComplex
Definition
EvtComplex.hh:28
EvtResonance2
Definition
EvtResonance2.hh:31
EvtResonance2::p4_d2
const EvtVector4R & p4_d2()
Definition
EvtResonance2.hh:51
EvtResonance2::EvtResonance2
EvtResonance2(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, bool invmass_angdenom=false, bool usemD=true)
Definition
EvtResonance2.cc:52
EvtResonance2::p4_p
const EvtVector4R & p4_p()
Definition
EvtResonance2.hh:49
EvtResonance2::amplitude
double amplitude()
Definition
EvtResonance2.hh:55
EvtResonance2::operator=
EvtResonance2 & operator=(const EvtResonance2 &)
Definition
EvtResonance2.cc:34
EvtResonance2::bwm
double bwm()
Definition
EvtResonance2.hh:64
EvtResonance2::p4_d1
const EvtVector4R & p4_d1()
Definition
EvtResonance2.hh:50
EvtResonance2::resAmpl
EvtComplex resAmpl()
Definition
EvtResonance2.cc:61
EvtResonance2::theta
double theta()
Definition
EvtResonance2.hh:58
EvtResonance2::~EvtResonance2
virtual ~EvtResonance2()
Definition
EvtResonance2.cc:30
EvtResonance2::spin
int spin()
Definition
EvtResonance2.hh:67
EvtResonance2::gamma
double gamma()
Definition
EvtResonance2.hh:61
EvtVector4R
Definition
EvtVector4R.hh:29
7.1.2
Generator
BesEvtGen
BesEvtGen-00-04-30
src
EvtGen
EvtGenBase
EvtResonance2.hh
Generated by
1.12.0