27 res_list.
Print(stream);
51 SLOG(
"BaryonResList",
pERROR) <<
"Null Resonance List";
60 SLOG(
"BaryonResList",
pERROR) <<
"Null Resonance List";
64 SLOG(
"BaryonResList",
pERROR) <<
"Resonance idx: " << ires
65 <<
" outside limits: [0, " << this->
NResonances() <<
"]";
74 SLOG(
"BaryonResList",
pERROR) <<
"Null Resonance List";
78 SLOG(
"BaryonResList",
pERROR) <<
"Resonance idx: " << ires
79 <<
" outside limits: [0, " << this->
NResonances() <<
"]";
93 SLOG(
"BaryonResList",
pWARN) <<
"NULL resonance list!";
110 SLOG(
"BaryonResList",
pINFO) << resonances.size();
113 fResVec =
new vector<Resonance_t> (resonances.size());
115 unsigned int ires = 0;
116 vector<string>::const_iterator riter;
117 for(riter = resonances.begin(); riter != resonances.end(); ++riter) {
121 SLOG(
"BaryonResList",
pERROR) <<
"*** Unknown resonance: " << *riter;
122 }
else (*
fResVec)[ires++] = res;
140 for(
unsigned int ires = 0; ires < nres; ires++) {
147 stream <<
"\n [-] Resonance List\n";
149 vector<Resonance_t>::const_iterator riter;
#define SLOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a short string (using the FUNCTION and...
void Print(ostream &stream) const
auto begin() noexcept -> typename vector< Resonance_t >::iterator
auto cend() const noexcept -> typename vector< Resonance_t >::const_iterator
bool Find(Resonance_t res) const
int ResonancePdgCode(unsigned int ires) const
void Copy(const BaryonResList &rl)
void DecodeFromNameList(string list, string delimiter=",")
Resonance_t ResonanceId(unsigned int ires) const
string ResonanceName(unsigned int ires) const
vector< Resonance_t > * fResVec
auto end() noexcept -> typename vector< Resonance_t >::iterator
auto cbegin() const noexcept -> typename vector< Resonance_t >::const_iterator
unsigned int NResonances(void) const
Resonance_t FromString(const char *res)
string -> resonance id
const char * AsString(Resonance_t res)
resonance id -> string
string FilterString(string filt, string input)
vector< string > Split(string input, string delim)
THE MAIN GENIE PROJECT NAMESPACE
enum genie::EResonance Resonance_t
ostream & operator<<(ostream &stream, const AlgConfigPool &config_pool)