#include <neugen3_dummy.h>
Public Member Functions | |
| interaction () | |
| interaction (const char *name) | |
| interaction (const interaction *inter) | |
| interaction (flavor_t f, nucleus_t n, ccnc_t c, init_state_t in) | |
| ~interaction () | |
| const char * | name (void) const |
| void | setFlavor (flavor_t f) |
| void | setNucleus (nucleus_t n) |
| void | setCCNC (ccnc_t c) |
| void | setInitState (init_state_t i) |
| flavor_t | getFlavor (void) const |
| nucleus_t | getNucleus (void) const |
| ccnc_t | getCCNC (void) const |
| init_state_t | getInitState (void) const |
| int | getProcess (void) const |
| int | getProcess (final_state *final) const |
| void | print (ostream &stream) const |
Private Attributes | |
| string | _name |
| flavor_t | _flavor |
| nucleus_t | _nucleus |
| ccnc_t | _ccnc |
| init_state_t | _init_state |
Friends | |
| ostream & | operator<< (ostream &stream, const interaction &inter) |
??
Costas Andreopoulos (Rutherford Lab.) <C.V.Andreopoulos@rl.ac.uk> Hugh Gallagher (Tufts University) <gallag@minos.phy.tufts.edu> _______________________________________________________________________________
Definition at line 12 of file neugen3_dummy.h.
|
|
Definition at line 28 of file interaction.cxx. 00028 : 00029 _name("default") 00030 { 00031 00032 } //____________________________________________________________________________
|
|
|
Definition at line 34 of file interaction.cxx. 00034 : 00035 _name(name) 00036 { 00037 00038 } //____________________________________________________________________________
|
|
|
Definition at line 40 of file interaction.cxx. References _ccnc, _flavor, _init_state, _name, and _nucleus. 00041 {
00042 _name = inter->_name;
00043 _flavor = inter->_flavor;
00044 _nucleus = inter->_nucleus;
00045 _ccnc = inter->_ccnc;
00046 _init_state = inter->_init_state;
00047 }
|
|
||||||||||||||||||||
|
Definition at line 49 of file interaction.cxx. 00049 : 00050 _flavor(f),_nucleus(n),_ccnc(c),_init_state(in) 00051 { 00052 00053 } //____________________________________________________________________________
|
|
|
Definition at line 55 of file interaction.cxx. 00056 {
00057
00058 }
|
|
|
Definition at line 56 of file interaction.h. References ccnc_t. 00056 { return _ccnc; }
|
|
|
Definition at line 54 of file interaction.h. References flavor_t. 00054 { return _flavor; }
|
|
|
Definition at line 57 of file interaction.h. References init_state_t. 00057 { return _init_state; }
|
|
|
Definition at line 55 of file interaction.h. References nucleus_t. Referenced by neugen_wrapper::diff_xsec(), neugen_wrapper::exclusive_diff_xsec(), neugen_wrapper::exclusive_xsec(), neugen_wrapper::offshell_diff_xsec(), and neugen_wrapper::xsec(). 00055 { return _nucleus; }
|
|
|
Definition at line 75 of file interaction.cxx. References makestate_(). 00076 {
00077 int proton = final->getProton();
00078 int neutron = final->getNeutron();
00079 int piplus = final->getPiplus();
00080 int piminus = final->getPiminus();
00081 int pizero = final->getPizero();
00082
00083 int icode = 0;
00084 int im = _init_state;
00085 int it = _flavor;
00086 int cn = _ccnc;
00087
00088 makestate_(&piplus, &piminus, &pizero, &proton, &neutron,
00089 &it, &im, &cn, &icode);
00090
00091 cout << "In interaction, process (w/final)= " << icode << endl;
00092
00093 return icode;
00094 }
|
|
|
Definition at line 60 of file interaction.cxx. References makestate_(). Referenced by neugen_wrapper::diff_xsec(), neugen_wrapper::exclusive_diff_xsec(), neugen_wrapper::exclusive_xsec(), neugen_wrapper::offshell_diff_xsec(), and neugen_wrapper::xsec(). 00061 {
00062 int icode = 0;
00063 int pa = 0;
00064 int im = _init_state;
00065 int it = _flavor;
00066 int cn = _ccnc;
00067
00068 makestate_(&pa, &pa, &pa, &pa, &pa, &it, &im, &cn, &icode);
00069
00070 //writestate_(&icode);
00071
00072 return icode;
00073 }
|
|
|
Definition at line 47 of file interaction.h. References _name. 00047 { return _name.c_str(); }
|
|
|
Definition at line 96 of file interaction.cxx. References _ccnc, _flavor, _init_state, _name, _nucleus, init_state::as_string(), ccnc::as_string(), nucleus::as_string(), and flavor::as_string(). 00097 {
00098 stream << "Interaction Name:........." << _name << endl;
00099 stream << "Flavor:..................." << flavor::as_string(_flavor) << endl;
00100 stream << "Nucleus:.................." << nucleus::as_string(_nucleus) << endl;
00101 stream << "CCNC:....................." << ccnc::as_string(_ccnc) << endl;
00102 stream << "Init_State:..............." << init_state::as_string(_init_state) << endl;
00103 }
|
|
|
Definition at line 51 of file interaction.h. References _ccnc. 00051 { _ccnc = c; }
|
|
|
Definition at line 49 of file interaction.h. References _flavor. 00049 { _flavor = f; }
|
|
|
Definition at line 52 of file interaction.h. References _init_state. 00052 { _init_state = i; }
|
|
|
Definition at line 50 of file interaction.h. References _nucleus. 00050 { _nucleus = n; }
|
|
||||||||||||
|
Definition at line 22 of file interaction.cxx. 00023 {
00024 conf.print(stream);
00025 return stream;
00026 }
|
|
|
Definition at line 68 of file interaction.h. Referenced by interaction(), print(), and setCCNC(). |
|
|
Definition at line 66 of file interaction.h. Referenced by interaction(), print(), and setFlavor(). |
|
|
Definition at line 69 of file interaction.h. Referenced by interaction(), print(), and setInitState(). |
|
|
Definition at line 65 of file interaction.h. Referenced by interaction(), name(), and print(). |
|
|
Definition at line 67 of file interaction.h. Referenced by interaction(), print(), and setNucleus(). |
1.3.9.1