Baryon Resonance utilities. More...
Functions | |
const char * | AsString (Resonance_t res) |
resonance id -> string More... | |
Resonance_t | FromString (const char *res) |
string -> resonance id More... | |
int | PdgCode (Resonance_t res, int Q) |
(resonance id, charge) -> PDG code More... | |
Resonance_t | FromPdgCode (int pdgc) |
PDG code -> resonance id. More... | |
bool | IsBaryonResonance (int pdgc) |
is input a baryon resonance? More... | |
bool | IsDelta (Resonance_t res) |
is it a Delta resonance? More... | |
bool | IsN (Resonance_t res) |
is it an N resonance? More... | |
double | Mass (Resonance_t res) |
resonance mass (GeV) More... | |
double | Width (Resonance_t res) |
resonance width (GeV) More... | |
double | BWNorm (Resonance_t res, double N0ResMaxNWidths=6, double N2ResMaxNWidths=2, double GnResMaxNWidths=4) |
breit-wigner normalization factor More... | |
int | OrbitalAngularMom (Resonance_t res) |
orbital angular momentum More... | |
int | ResonanceIndex (Resonance_t res) |
resonance idx, quark model / SU(6) More... | |
int | Isospin (Resonance_t res) |
int | AngularMom (Resonance_t res) |
int | Cjsgn_plus (Resonance_t res) |
int | Dsgn (Resonance_t res) |
Baryon Resonance utilities.
November 25, 2004
November 12, 2019 Added extra functions for MK model.
Updated resonance masses and widths according to PDG-2018.
Added previously missing resonances P33(1600) and F17(1970).
Now mass and widths are taken from PDG table via TDatabasePDG and cached.
Copyright (c) 2003-2020, The GENIE Collaboration For the full text of the license visit http://copyright.genie-mc.org
int genie::utils::res::AngularMom | ( | Resonance_t | res | ) |
Definition at line 622 of file BaryonResUtils.cxx.
const char * genie::utils::res::AsString | ( | Resonance_t | res | ) |
resonance id -> string
Definition at line 35 of file BaryonResUtils.cxx.
double genie::utils::res::BWNorm | ( | Resonance_t | res, |
double | N0ResMaxNWidths = 6 , |
||
double | N2ResMaxNWidths = 2 , |
||
double | GnResMaxNWidths = 4 |
||
) |
breit-wigner normalization factor
Definition at line 490 of file BaryonResUtils.cxx.
int genie::utils::res::Cjsgn_plus | ( | Resonance_t | res | ) |
Definition at line 652 of file BaryonResUtils.cxx.
int genie::utils::res::Dsgn | ( | Resonance_t | res | ) |
Definition at line 685 of file BaryonResUtils.cxx.
Resonance_t genie::utils::res::FromPdgCode | ( | int | pdgc | ) |
PDG code -> resonance id.
Definition at line 84 of file BaryonResUtils.cxx.
Resonance_t genie::utils::res::FromString | ( | const char * | res | ) |
string -> resonance id
Definition at line 61 of file BaryonResUtils.cxx.
bool genie::utils::res::IsBaryonResonance | ( | int | pdgc | ) |
bool genie::utils::res::IsDelta | ( | Resonance_t | res | ) |
is it a Delta resonance?
Definition at line 398 of file BaryonResUtils.cxx.
bool genie::utils::res::IsN | ( | Resonance_t | res | ) |
is it an N resonance?
Definition at line 431 of file BaryonResUtils.cxx.
int genie::utils::res::Isospin | ( | Resonance_t | res | ) |
Definition at line 591 of file BaryonResUtils.cxx.
double genie::utils::res::Mass | ( | Resonance_t | res | ) |
resonance mass (GeV)
Definition at line 436 of file BaryonResUtils.cxx.
int genie::utils::res::OrbitalAngularMom | ( | Resonance_t | res | ) |
orbital angular momentum
Definition at line 531 of file BaryonResUtils.cxx.
int genie::utils::res::PdgCode | ( | Resonance_t | res, |
int | Q | ||
) |
(resonance id, charge) -> PDG code
Definition at line 181 of file BaryonResUtils.cxx.
int genie::utils::res::ResonanceIndex | ( | Resonance_t | res | ) |
resonance idx, quark model / SU(6)
Definition at line 561 of file BaryonResUtils.cxx.
double genie::utils::res::Width | ( | Resonance_t | res | ) |
resonance width (GeV)
Definition at line 463 of file BaryonResUtils.cxx.