Geant4-11
|
#include <GIDI_settings.hh>
Public Member Functions | |
int | getGroupIndexFromEnergy (double energy, bool encloseOutOfRange) const |
std::string | getLabel () const |
int | getNumberOfGroups (void) const |
GIDI_settings_group (GIDI_settings_group const &group) | |
GIDI_settings_group (std::string const &label, int length, double const *values) | |
GIDI_settings_group (std::string const &label, std::vector< double > const &boundaries) | |
GIDI_settings_group (std::string const &label="empty", int size=0) | |
bool | isLabel (std::string &label) const |
GIDI_settings_group & | operator= (const GIDI_settings_group &group) |
double | operator[] (int const index) const |
double const * | pointer (void) const |
void | print (bool outline=false, int valuesPerLine=10) const |
void | setFromCDoubleArray (int length, double *values) |
int | size (void) const |
~GIDI_settings_group () | |
Private Member Functions | |
void | initialize (std::string const &label, int size, int length, double const *values) |
Private Attributes | |
std::vector< double > | mBoundaries |
std::string | mLabel |
Definition at line 35 of file GIDI_settings.hh.
GIDI_settings_group::GIDI_settings_group | ( | std::string const & | label = "empty" , |
int | size = 0 |
||
) |
Definition at line 14 of file GIDI_settings_group.cc.
References initialize().
GIDI_settings_group::GIDI_settings_group | ( | std::string const & | label, |
int | length, | ||
double const * | values | ||
) |
Definition at line 21 of file GIDI_settings_group.cc.
References initialize().
GIDI_settings_group::GIDI_settings_group | ( | std::string const & | label, |
std::vector< double > const & | boundaries | ||
) |
Definition at line 28 of file GIDI_settings_group.cc.
References initialize().
GIDI_settings_group::GIDI_settings_group | ( | GIDI_settings_group const & | group | ) |
Definition at line 37 of file GIDI_settings_group.cc.
References initialize(), mBoundaries, mLabel, and size().
GIDI_settings_group::~GIDI_settings_group | ( | ) |
Definition at line 66 of file GIDI_settings_group.cc.
int GIDI_settings_group::getGroupIndexFromEnergy | ( | double | energy, |
bool | encloseOutOfRange | ||
) | const |
Definition at line 72 of file GIDI_settings_group.cc.
References G4INCL::KinematicsUtils::energy(), and mBoundaries.
Referenced by GIDI_settings_particle::getGroupIndexFromEnergy(), and MCGIDI_reaction_recast().
|
inline |
|
inline |
Definition at line 51 of file GIDI_settings.hh.
References mBoundaries.
Referenced by GIDI_settings_particle::getNumberOfGroups().
|
private |
Definition at line 44 of file GIDI_settings_group.cc.
References mBoundaries, and mLabel.
Referenced by GIDI_settings_group(), and operator=().
|
inline |
GIDI_settings_group & GIDI_settings_group::operator= | ( | const GIDI_settings_group & | group | ) |
Definition at line 57 of file GIDI_settings_group.cc.
References initialize(), mBoundaries, mLabel, and size().
|
inline |
|
inline |
Definition at line 52 of file GIDI_settings.hh.
References mBoundaries.
Referenced by GIDI_settings_particle::setGroup().
void GIDI_settings_group::print | ( | bool | outline = false , |
int | valuesPerLine = 10 |
||
) | const |
Definition at line 100 of file GIDI_settings_group.cc.
References buffer, mBoundaries, mLabel, and size().
void GIDI_settings_group::setFromCDoubleArray | ( | int | length, |
double * | values | ||
) |
|
inline |
Definition at line 50 of file GIDI_settings.hh.
References mBoundaries.
Referenced by GIDI_settings_group(), operator=(), print(), and GIDI_settings_particle::setGroup().
|
private |
Definition at line 39 of file GIDI_settings.hh.
Referenced by getGroupIndexFromEnergy(), getNumberOfGroups(), GIDI_settings_group(), initialize(), operator=(), operator[](), pointer(), print(), and size().
|
private |
Definition at line 38 of file GIDI_settings.hh.
Referenced by getLabel(), GIDI_settings_group(), initialize(), isLabel(), operator=(), and print().