FKR.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 <TMath.h>
12 
17 
18 using std::endl;
19 
20 using namespace genie;
21 using namespace genie::constants;
22 
23 //____________________________________________________________________________
24 namespace genie
25 {
26  ostream & operator << (ostream & stream, const FKR & parameters)
27  {
28  parameters.Print(stream);
29  return stream;
30  }
31 }
32 //____________________________________________________________________________
34 {
35  this->Reset();
36 }
37 //____________________________________________________________________________
39 {
40 
41 }
42 //____________________________________________________________________________
43 void FKR::Print(ostream & stream) const
44 {
45  stream << endl;
46  stream << " lamda = " << Lamda << endl;
47  stream << " Tv = " << Tv << endl;
48  stream << " Rv = " << Rv << endl;
49  stream << " S = " << S << endl;
50  stream << " Ta = " << Ta << endl;
51  stream << " Ra = " << Ra << endl;
52  stream << " B = " << B << endl;
53  stream << " C = " << C << endl;
54  stream << " R = " << R << endl;
55  stream << " T = " << T << endl;
56  stream << " T+ = " << Tplus << endl;
57  stream << " T- = " << Tminus << endl;
58  stream << " R+ = " << Rplus << endl;
59  stream << " R- = " << Rminus << endl;
60 }
61 //____________________________________________________________________________
62 void FKR::Reset(void)
63 {
64  Lamda = 0.0;
65  Tv = 0.0;
66  Rv = 0.0;
67  S = 0.0;
68  Ta = 0.0;
69  Ra = 0.0;
70  B = 0.0;
71  C = 0.0;
72  R = 0.0;
73  T = 0.0;
74  Tplus = 0.0;
75  Tminus = 0.0;
76  Rplus = 0.0;
77  Rminus = 0.0;
78 }
79 //____________________________________________________________________________
Basic constants.
void Print(ostream &stream) const
Definition: FKR.cxx:43
THE MAIN GENIE PROJECT NAMESPACE
Definition: AlgCmp.h:25
FKR()
Definition: FKR.cxx:33
Simple struct-like class holding the Feynmann-Kislinger-Ravndall (FKR) baryon excitation model parame...
Definition: FKR.h:31
~FKR()
Definition: FKR.cxx:38
void Reset(void)
Definition: FKR.cxx:62
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)
QTextStream & endl(QTextStream &s)