|
| | TCKey (int fragment_pdg, int two_j, int l, int two_s, int target_charge) |
| |
| bool | operator< (const TCKey &other) const |
| |
Definition at line 47 of file CachedOpticalModel.hh.
◆ TCKey() [1/2]
| marley::CachedOpticalModel::TCKey::TCKey |
( |
| ) |
|
|
inline |
◆ TCKey() [2/2]
| marley::CachedOpticalModel::TCKey::TCKey |
( |
int | fragment_pdg, |
|
|
int | two_j, |
|
|
int | l, |
|
|
int | two_s, |
|
|
int | target_charge ) |
|
inline |
Definition at line 50 of file CachedOpticalModel.hh.
51 : frag_pdg_( fragment_pdg ), two_j_( two_j ),
52 l_( l ), two_s_( two_s ), target_charge_( target_charge ) {}
◆ operator<()
| bool marley::CachedOpticalModel::TCKey::operator< |
( |
const TCKey & | other | ) |
const |
|
inline |
Definition at line 56 of file CachedOpticalModel.hh.
56 {
57 if ( frag_pdg_ != other.frag_pdg_ ) {
58 return frag_pdg_ < other.frag_pdg_;
59 }
60 else if ( two_j_ != other.two_j_ ) {
61 return two_j_ < other.two_j_;
62 }
63 else if ( l_ != other.l_ ) {
64 return l_ < other.l_;
65 }
66 else if ( two_s_ != other.two_s_ ) {
67 return two_s_ < other.two_s_;
68 }
69 else if ( target_charge_ != other.target_charge_ ) {
70 return target_charge_ < other.target_charge_;
71 }
72 return false;
73 }
◆ frag_pdg_
| int marley::CachedOpticalModel::TCKey::frag_pdg_ = 0 |
◆ l_
| int marley::CachedOpticalModel::TCKey::l_ = 0 |
◆ target_charge_
| int marley::CachedOpticalModel::TCKey::target_charge_ = 0 |
◆ two_j_
| int marley::CachedOpticalModel::TCKey::two_j_ = 0 |
◆ two_s_
| int marley::CachedOpticalModel::TCKey::two_s_ = 0 |
The documentation for this struct was generated from the following file: