Geant4-11
|
#include <G4GIDI.hh>
Public Member Functions | |
int | addDataDirectory (std::string &dataDirectory) |
char * | dataFilename (std::string &lib_name, int iZ, int iA, int iM=0) |
char * | dataFilename (std::string &lib_name, std::string &targetName) |
int | freeTarget (G4GIDI_target *target) |
int | freeTarget (int iZ, int iA, int iM=0) |
int | freeTarget (std::string &targetSymbol) |
G4GIDI (int ip, std::list< std::string > &dataDirectory) | |
G4GIDI (int ip, std::string &dataDirectory) | |
G4GIDI_target * | getAlreadyReadTarget (int iZ, int iA, int iM=0) |
G4GIDI_target * | getAlreadyReadTarget (std::string &targetName) |
std::vector< std::string > * | getDataDirectories (void) |
std::string | getDataDirectoryAtIndex (int index) |
std::vector< std::string > * | getListOfReadTargetsNames (void) |
std::vector< std::string > * | getNamesOfAvailableLibraries (int iZ, int iA, int iM=0) |
std::vector< std::string > * | getNamesOfAvailableLibraries (std::string &targetName) |
std::vector< std::string > * | getNamesOfAvailableTargets (void) |
bool | isThisDataAvailable (std::string &lib_name, int iZ, int iA, int iM=0) |
bool | isThisDataAvailable (std::string &lib_name, std::string &targetName) |
int | numberOfDataDirectories (void) |
G4GIDI_target * | readTarget (std::string &lib_name, int iZ, int iA, int iM=0, bool bind=true) |
G4GIDI_target * | readTarget (std::string &lib_name, std::string &targetName, bool bind=true) |
int | removeDataDirectory (std::string &dataDirectory) |
~G4GIDI () | |
Private Member Functions | |
int | init (int ip) |
Private Attributes | |
std::list< G4GIDI_map * > | dataDirectories |
std::string | projectile |
int | projectileID |
std::vector< G4GIDI_target * > | targets |
G4GIDI::G4GIDI | ( | int | ip, |
std::string & | dataDirectory | ||
) |
Definition at line 40 of file G4GIDI.cc.
References addDataDirectory(), and init().
G4GIDI::G4GIDI | ( | int | ip, |
std::list< std::string > & | dataDirectory | ||
) |
G4GIDI::~G4GIDI | ( | void | ) |
Definition at line 58 of file G4GIDI.cc.
References dataDirectories, and targets.
int G4GIDI::addDataDirectory | ( | std::string & | dataDirectory | ) |
Definition at line 110 of file G4GIDI.cc.
References dataDirectories, and anonymous_namespace{G4QuasiElRatios.cc}::map.
Referenced by G4GIDI().
char * G4GIDI::dataFilename | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 196 of file G4GIDI.cc.
References dataFilename(), G4GIDI_Misc_Z_A_m_ToName(), and smr_freeMemory().
Referenced by dataFilename(), isThisDataAvailable(), and readTarget().
char * G4GIDI::dataFilename | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 209 of file G4GIDI.cc.
References dataDirectories, MCGIDI_map_findTarget(), and projectile.
int G4GIDI::freeTarget | ( | G4GIDI_target * | target | ) |
int G4GIDI::freeTarget | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 363 of file G4GIDI.cc.
References freeTarget(), G4GIDI_Misc_Z_A_m_ToName(), and smr_freeMemory().
Referenced by freeTarget().
int G4GIDI::freeTarget | ( | std::string & | targetSymbol | ) |
Definition at line 377 of file G4GIDI.cc.
References freeTarget(), and targets.
G4GIDI_target * G4GIDI::getAlreadyReadTarget | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 321 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), getAlreadyReadTarget(), and smr_freeMemory().
Referenced by getAlreadyReadTarget().
G4GIDI_target * G4GIDI::getAlreadyReadTarget | ( | std::string & | targetName | ) |
vector< string > * G4GIDI::getDataDirectories | ( | void | ) |
Definition at line 157 of file G4GIDI.cc.
References dataDirectories, and numberOfDataDirectories().
string G4GIDI::getDataDirectoryAtIndex | ( | int | index | ) |
Definition at line 140 of file G4GIDI.cc.
References dataDirectories.
vector< string > * G4GIDI::getListOfReadTargetsNames | ( | void | ) |
Definition at line 389 of file G4GIDI.cc.
References targets.
vector< string > * G4GIDI::getNamesOfAvailableLibraries | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 237 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), getNamesOfAvailableLibraries(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget(), getNamesOfAvailableLibraries(), and G4LENDManager::IsLENDTargetAvailable().
vector< string > * G4GIDI::getNamesOfAvailableLibraries | ( | std::string & | targetName | ) |
Definition at line 251 of file G4GIDI.cc.
References dataDirectories, MCGIDI_mapEntry_s::evaluation, anonymous_namespace{G4QuasiElRatios.cc}::map, MCGIDI_map_findAllOfTarget(), MCGIDI_map_free(), MCGIDI_map_getFirstEntry(), MCGIDI_map_getNextEntry(), and projectile.
vector< string > * G4GIDI::getNamesOfAvailableTargets | ( | void | ) |
Definition at line 271 of file G4GIDI.cc.
References dataDirectories, getNamesOfAvailableTargets_walker(), and MCGIDI_map_walkTree().
|
private |
Definition at line 77 of file G4GIDI.cc.
References projectile, and projectileID.
Referenced by demo.App::__init__(), testem0.App::__init__(), Lesson1.App::__init__(), ExN03.App::__init__(), and G4GIDI().
bool G4GIDI::isThisDataAvailable | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 169 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), isThisDataAvailable(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget(), and isThisDataAvailable().
bool G4GIDI::isThisDataAvailable | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 183 of file G4GIDI.cc.
References dataFilename(), and smr_freeMemory().
int G4GIDI::numberOfDataDirectories | ( | void | ) |
Definition at line 103 of file G4GIDI.cc.
References dataDirectories.
Referenced by getDataDirectories().
G4GIDI_target * G4GIDI::readTarget | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 , |
||
bool | bind = true |
||
) |
Definition at line 289 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), readTarget(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget(), and readTarget().
G4GIDI_target * G4GIDI::readTarget | ( | std::string & | lib_name, |
std::string & | targetName, | ||
bool | bind = true |
||
) |
Definition at line 303 of file G4GIDI.cc.
References dataFilename(), smr_freeMemory(), and targets.
int G4GIDI::removeDataDirectory | ( | std::string & | dataDirectory | ) |
Definition at line 126 of file G4GIDI.cc.
References dataDirectories.
|
private |
Definition at line 48 of file G4GIDI.hh.
Referenced by addDataDirectory(), dataFilename(), getDataDirectories(), getDataDirectoryAtIndex(), getNamesOfAvailableLibraries(), getNamesOfAvailableTargets(), numberOfDataDirectories(), removeDataDirectory(), and ~G4GIDI().
|
private |
Definition at line 47 of file G4GIDI.hh.
Referenced by dataFilename(), getNamesOfAvailableLibraries(), and init().
|
private |
Definition at line 49 of file G4GIDI.hh.
Referenced by freeTarget(), getAlreadyReadTarget(), getListOfReadTargetsNames(), readTarget(), and ~G4GIDI().