Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
Generator
src
Physics
Resonance
XSection
RSHelicityAmpl.cxx
Go to the documentation of this file.
1
//____________________________________________________________________________
2
/*
3
Copyright (c) 2003-2020, The GENIE Collaboration
4
For the full text of the license visit http://copyright.genie-mc.org
5
6
Costas Andreopoulos <constantinos.andreopoulos \at cern.ch>
7
University of Liverpool & STFC Rutherford Appleton Laboratory
8
*/
9
//____________________________________________________________________________
10
11
#include "
Physics/Resonance/XSection/RSHelicityAmpl.h
"
12
13
using namespace
genie
;
14
using
std::endl
;
15
16
//____________________________________________________________________________
17
namespace
genie
{
18
ostream &
operator<<
(ostream &
stream
,
const
RSHelicityAmpl
& hamp)
19
{
20
hamp.
Print
(stream);
21
return
stream
;
22
}
23
}
24
//____________________________________________________________________________
25
RSHelicityAmpl::RSHelicityAmpl
()
26
{
27
this->
Init
();
28
}
29
//____________________________________________________________________________
30
RSHelicityAmpl::RSHelicityAmpl
(
const
RSHelicityAmpl
& hamp)
31
{
32
fMinus1
= hamp.
AmpMinus1
();
33
fPlus1
= hamp.
AmpPlus1
();
34
fMinus3
= hamp.
AmpMinus3
();
35
fPlus3
= hamp.
AmpPlus3
();
36
f0Minus
= hamp.
Amp0Minus
();
37
f0Plus
= hamp.
Amp0Plus
();
38
}
39
//____________________________________________________________________________
40
void
RSHelicityAmpl::Print
(ostream &
stream
)
const
41
{
42
stream <<
endl
;
43
stream <<
" f(-1) = "
<<
fMinus1
<<
endl
;
44
stream <<
" f(+1) = "
<<
fPlus1
<<
endl
;
45
stream <<
" f(-3) = "
<<
fMinus3
<<
endl
;
46
stream <<
" f(+3) = "
<<
fPlus3
<<
endl
;
47
stream <<
" f(0-) = "
<<
f0Minus
<<
endl
;
48
stream <<
" f(0+) = "
<<
f0Plus
<<
endl
;
49
}
50
//____________________________________________________________________________
51
void
RSHelicityAmpl::Init
(
void
)
52
{
53
fMinus1
= 0.0;
54
fPlus1
= 0.0;
55
fMinus3
= 0.0;
56
fPlus3
= 0.0;
57
f0Minus
= 0.0;
58
f0Plus
= 0.0;
59
}
60
//____________________________________________________________________________
genie::RSHelicityAmpl::fMinus3
double fMinus3
Definition:
RSHelicityAmpl.h:80
genie::RSHelicityAmpl::AmpMinus3
double AmpMinus3(void) const
Definition:
RSHelicityAmpl.h:57
RSHelicityAmpl.h
genie
THE MAIN GENIE PROJECT NAMESPACE
Definition:
AlgCmp.h:25
genie::RSHelicityAmpl::AmpPlus3
double AmpPlus3(void) const
Definition:
RSHelicityAmpl.h:58
genie::RSHelicityAmpl::f0Minus
double f0Minus
Definition:
RSHelicityAmpl.h:82
genie::RSHelicityAmpl::fPlus1
double fPlus1
Definition:
RSHelicityAmpl.h:79
genie::RSHelicityAmpl::Amp0Plus
double Amp0Plus(void) const
Definition:
RSHelicityAmpl.h:60
genie::RSHelicityAmpl
A class holding the Rein-Sehgal's helicity amplitudes.
Definition:
RSHelicityAmpl.h:40
genie::RSHelicityAmpl::Init
void Init(void)
Definition:
RSHelicityAmpl.cxx:51
genie::RSHelicityAmpl::f0Plus
double f0Plus
Definition:
RSHelicityAmpl.h:83
genie::RSHelicityAmpl::Print
void Print(ostream &stream) const
Definition:
RSHelicityAmpl.cxx:40
genie::RSHelicityAmpl::fMinus1
double fMinus1
Definition:
RSHelicityAmpl.h:78
genie::RSHelicityAmpl::AmpMinus1
double AmpMinus1(void) const
return helicity amplitude
Definition:
RSHelicityAmpl.h:55
genie::RSHelicityAmpl::Amp0Minus
double Amp0Minus(void) const
Definition:
RSHelicityAmpl.h:59
generate_datataset.stream
stream
Definition:
generate_datataset.py:30
genie::RSHelicityAmpl::fPlus3
double fPlus3
Definition:
RSHelicityAmpl.h:81
genie::operator<<
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
Definition:
AlgConfigPool.cxx:41
genie::RSHelicityAmpl::AmpPlus1
double AmpPlus1(void) const
Definition:
RSHelicityAmpl.h:56
genie::RSHelicityAmpl::RSHelicityAmpl
RSHelicityAmpl()
Definition:
RSHelicityAmpl.cxx:25
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Generated by
1.8.11