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 | ( | ) |
BaryonResList::BaryonResList | ( | const BaryonResList & | rl | ) |
|
virtual |
|
noexcept |
|
noexcept |
|
noexcept |
|
noexcept |
void BaryonResList::Clear | ( | void | ) |
Definition at line 126 of file BaryonResList.cxx.
References fResVec.
Referenced by genie::RSPPResonanceSelector::LoadConfig(), genie::ReinSehgalRESXSec::LoadConfig(), genie::ReinSehgalSPPXSec::LoadConfig(), genie::ReinSehgalRESXSecFast::LoadConfig(), genie::ReinSehgalSPPPXSec::LoadConfig(), genie::MKSPPPXSec2020::LoadConfig(), and genie::RESInteractionListGenerator::LoadConfigData().
void BaryonResList::Copy | ( | const BaryonResList & | rl | ) |
Definition at line 131 of file BaryonResList.cxx.
References 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().
Referenced by genie::RSPPResonanceSelector::LoadConfig(), genie::ReinSehgalRESXSec::LoadConfig(), genie::ReinSehgalSPPXSec::LoadConfig(), genie::ReinSehgalRESXSecFast::LoadConfig(), genie::ReinSehgalSPPPXSec::LoadConfig(), genie::MKSPPPXSec2020::LoadConfig(), and genie::RESInteractionListGenerator::LoadConfigData().
|
noexcept |
|
noexcept |
bool BaryonResList::Find | ( | Resonance_t | res | ) | const |
Definition at line 90 of file BaryonResList.cxx.
References fResVec, pWARN, and SLOG.
Referenced by genie::ReinSehgalSPPPXSec::XSec().
unsigned int BaryonResList::NResonances | ( | void | ) | const |
Definition at line 48 of file BaryonResList.cxx.
References fResVec, pERROR, and SLOG.
Referenced by genie::ReinSehgalRESXSecWithCache::CacheResExcitationXSec(), genie::ReinSehgalRESXSecWithCacheFast::CacheResExcitationXSec(), Copy(), genie::RESInteractionListGenerator::CreateInteractionList(), genie::ReinSehgalSPPXSec::Integrate(), ResonanceId(), ResonanceName(), genie::RSPPResonanceSelector::SelectResonance(), and genie::ReinSehgalSPPPXSec::XSecNRES().
void BaryonResList::Print | ( | ostream & | stream | ) | const |
Definition at line 145 of file BaryonResList.cxx.
References genie::utils::res::AsString(), and fResVec.
Referenced by genie::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 genie::ReinSehgalRESXSecWithCache::CacheResExcitationXSec(), genie::ReinSehgalRESXSecWithCacheFast::CacheResExcitationXSec(), Copy(), genie::RESInteractionListGenerator::CreateInteractionList(), genie::ReinSehgalSPPXSec::Integrate(), genie::RSPPResonanceSelector::SelectResonance(), and genie::ReinSehgalSPPPXSec::XSecNRES().
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.
|
private |
Definition at line 67 of file BaryonResList.h.
Referenced by BaryonResList(), begin(), cbegin(), cend(), Clear(), Copy(), DecodeFromNameList(), end(), Find(), NResonances(), Print(), ResonanceId(), ResonanceName(), and ~BaryonResList().