|
GENIEGenerator
|
Encapsulates a list of baryon resonances. More...
#include <BaryonResList.h>
Public Member Functions | |
| BaryonResList () | |
| BaryonResList (const BaryonResList &rl) | |
| virtual | ~BaryonResList () |
| void | DecodeFromNameList (string list, string delimiter=",") |
| unsigned int | NResonances (void) const |
| string | ResonanceName (unsigned int ires) const |
| Resonance_t | ResonanceId (unsigned int ires) const |
| int | ResonancePdgCode (unsigned int ires) const |
| bool | Find (Resonance_t res) const |
| void | Clear (void) |
| void | Copy (const BaryonResList &rl) |
| void | Print (ostream &stream) const |
| auto | begin () noexcept -> typename vector< Resonance_t >::iterator |
| auto | end () noexcept -> typename vector< Resonance_t >::iterator |
| auto | begin () const noexcept -> typename vector< Resonance_t >::const_iterator |
| auto | end () const noexcept -> typename vector< Resonance_t >::const_iterator |
| auto | cbegin () const noexcept -> typename vector< Resonance_t >::const_iterator |
| auto | cend () const noexcept -> typename vector< Resonance_t >::const_iterator |
Private Attributes | |
| vector< Resonance_t > * | fResVec |
Friends | |
| ostream & | operator<< (ostream &stream, const BaryonResList &rl) |
Encapsulates a list of baryon resonances.
Definition at line 37 of file BaryonResList.h.
| BaryonResList::BaryonResList | ( | ) |
Definition at line 32 of file BaryonResList.cxx.
References fResVec.
Referenced by BaryonResList(), Copy(), and operator<<.
| BaryonResList::BaryonResList | ( | const BaryonResList & | rl | ) |
Definition at line 37 of file BaryonResList.cxx.
References BaryonResList(), Copy(), and fResVec.
|
virtual |
Definition at line 43 of file BaryonResList.cxx.
References fResVec.
|
noexcept |
Definition at line 165 of file BaryonResList.cxx.
References fResVec.
|
noexcept |
Definition at line 155 of file BaryonResList.cxx.
References fResVec.
|
noexcept |
Definition at line 175 of file BaryonResList.cxx.
References fResVec.
|
noexcept |
Definition at line 180 of file BaryonResList.cxx.
References fResVec.
| void BaryonResList::Clear | ( | void | ) |
Definition at line 126 of file BaryonResList.cxx.
References fResVec.
| void BaryonResList::Copy | ( | const BaryonResList & | rl | ) |
Definition at line 131 of file BaryonResList.cxx.
References BaryonResList(), fResVec, NResonances(), and ResonanceId().
Referenced by BaryonResList().
| void BaryonResList::DecodeFromNameList | ( | string | list, |
| string | delimiter = "," ) |
Definition at line 101 of file BaryonResList.cxx.
References genie::utils::str::FilterString(), fResVec, genie::utils::res::FromString(), genie::kNoResonance, pERROR, pINFO, SLOG, and genie::utils::str::Split().
|
noexcept |
Definition at line 170 of file BaryonResList.cxx.
References fResVec.
|
noexcept |
Definition at line 160 of file BaryonResList.cxx.
References fResVec.
| bool BaryonResList::Find | ( | Resonance_t | res | ) | const |
Definition at line 90 of file BaryonResList.cxx.
| unsigned int BaryonResList::NResonances | ( | void | ) | const |
Definition at line 48 of file BaryonResList.cxx.
References fResVec, pERROR, and SLOG.
Referenced by Copy(), ResonanceId(), and ResonanceName().
| void BaryonResList::Print | ( | ostream & | stream | ) | const |
Definition at line 145 of file BaryonResList.cxx.
References genie::utils::res::AsString(), and fResVec.
Referenced by operator<<.
| Resonance_t BaryonResList::ResonanceId | ( | unsigned int | ires | ) | const |
Definition at line 71 of file BaryonResList.cxx.
References fResVec, genie::kNoResonance, NResonances(), pERROR, and SLOG.
Referenced by Copy().
| string BaryonResList::ResonanceName | ( | unsigned int | ires | ) | const |
Definition at line 57 of file BaryonResList.cxx.
References genie::utils::res::AsString(), fResVec, NResonances(), pERROR, and SLOG.
| int BaryonResList::ResonancePdgCode | ( | unsigned int | ires | ) | const |
Definition at line 85 of file BaryonResList.cxx.
|
friend |
Definition at line 25 of file BaryonResList.cxx.
References BaryonResList(), and Print().
|
private |
Definition at line 67 of file BaryonResList.h.
Referenced by BaryonResList(), BaryonResList(), begin(), begin(), cbegin(), cend(), Clear(), Copy(), DecodeFromNameList(), end(), end(), Find(), NResonances(), Print(), ResonanceId(), ResonanceName(), and ~BaryonResList().