GENIEGenerator
Loading...
Searching...
No Matches
RSHelicityAmpl.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
12
13using namespace genie;
14using std::endl;
15
16//____________________________________________________________________________
17namespace genie {
18 ostream & operator<< (ostream & stream, const RSHelicityAmpl & hamp)
19 {
20 hamp.Print(stream);
21 return stream;
22 }
23}
24//____________________________________________________________________________
29//____________________________________________________________________________
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//____________________________________________________________________________
40void 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//____________________________________________________________________________
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//____________________________________________________________________________
void Print(ostream &stream) const
double Amp0Minus(void) const
double AmpPlus3(void) const
double Amp0Plus(void) const
double AmpPlus1(void) const
double AmpMinus3(void) const
double AmpMinus1(void) const
return helicity amplitude
THE MAIN GENIE PROJECT NAMESPACE
Definition AlgCmp.h:25
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)