GENIEGenerator
Loading...
Searching...
No Matches
FKR.cxx
Go to the documentation of this file.
1//____________________________________________________________________________
2/*
3 Copyright (c) 2003-2025, The GENIE Collaboration
4 For the full text of the license visit http://copyright.genie-mc.org
5
6 Costas Andreopoulos <c.andreopoulos \at cern.ch>
7 University of Liverpool
8*/
9//____________________________________________________________________________
10
11#include <TMath.h>
12
17
18using std::endl;
19
20using namespace genie;
21using namespace genie::constants;
22
23//____________________________________________________________________________
24namespace 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//____________________________________________________________________________
43void 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//____________________________________________________________________________
62void 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//____________________________________________________________________________
double C
Definition FKR.h:44
double T
Definition FKR.h:46
double Tv
Definition FKR.h:38
double Rv
Definition FKR.h:39
double Ta
Definition FKR.h:41
void Reset(void)
Definition FKR.cxx:62
double Tplus
Definition FKR.h:47
double S
Definition FKR.h:40
double Ra
Definition FKR.h:42
double Tminus
Definition FKR.h:48
double Rminus
Definition FKR.h:50
double Rplus
Definition FKR.h:49
double R
Definition FKR.h:45
double Lamda
Definition FKR.h:37
void Print(ostream &stream) const
Definition FKR.cxx:43
double B
Definition FKR.h:43
Basic constants.
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)