Geant4
10.02.p02
|
#include <GIDI_settings.hh>
Public Member Functions | |
GIDI_settings_group (std::string const &label="empty", int size=0) | |
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 (GIDI_settings_group const &group) | |
~GIDI_settings_group () | |
double | operator[] (int const index) const |
int | size (void) const |
int | getNumberOfGroups (void) const |
double const * | pointer (void) const |
void | setFromCDoubleArray (int length, double *values) |
std::string | getLabel () const |
int | getGroupIndexFromEnergy (double energy, bool encloseOutOfRange) const |
bool | isLabel (std::string &label) const |
void | print (bool outline=false, int valuesPerLine=10) const |
Private Member Functions | |
void | initialize (std::string const &label, int size, int length, double const *values) |
Private Attributes | |
std::string | mLabel |
std::vector< double > | mBoundaries |
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 57 of file GIDI_settings_group.cc.
int GIDI_settings_group::getGroupIndexFromEnergy | ( | double | energy, |
bool | encloseOutOfRange | ||
) | const |
Definition at line 63 of file GIDI_settings_group.cc.
References mBoundaries.
Referenced by GIDI_settings_particle::getGroupIndexFromEnergy().
|
inline |
Definition at line 54 of file GIDI_settings.hh.
|
inline |
Definition at line 50 of file GIDI_settings.hh.
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().
|
inline |
Definition at line 56 of file GIDI_settings.hh.
|
inline |
Definition at line 48 of file GIDI_settings.hh.
|
inline |
Definition at line 51 of file GIDI_settings.hh.
Referenced by GIDI_settings_particle::setGroup().
void GIDI_settings_group::print | ( | bool | outline = false , |
int | valuesPerLine = 10 |
||
) | const |
Definition at line 91 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 49 of file GIDI_settings.hh.
Referenced by GIDI_settings_group(), print(), and GIDI_settings_particle::setGroup().
|
private |
Definition at line 39 of file GIDI_settings.hh.
Referenced by getGroupIndexFromEnergy(), GIDI_settings_group(), initialize(), and print().
|
private |
Definition at line 38 of file GIDI_settings.hh.
Referenced by GIDI_settings_group(), initialize(), and print().