Geant4
10.02.p02
|
#include <G4GIDI.hh>
Public Member Functions | |
G4GIDI (int ip, std::string &dataDirectory) | |
G4GIDI (int ip, std::list< std::string > &dataDirectory) | |
~G4GIDI () | |
int | numberOfDataDirectories (void) |
int | addDataDirectory (std::string &dataDirectory) |
int | removeDataDirectory (std::string &dataDirectory) |
std::string | getDataDirectoryAtIndex (int index) |
std::vector< std::string > * | getDataDirectories (void) |
bool | isThisDataAvailable (std::string &lib_name, int iZ, int iA, int iM=0) |
bool | isThisDataAvailable (std::string &lib_name, std::string &targetName) |
char * | dataFilename (std::string &lib_name, int iZ, int iA, int iM=0) |
char * | dataFilename (std::string &lib_name, std::string &targetName) |
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) |
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) |
G4GIDI_target * | getAlreadyReadTarget (int iZ, int iA, int iM=0) |
G4GIDI_target * | getAlreadyReadTarget (std::string &targetName) |
int | freeTarget (int iZ, int iA, int iM=0) |
int | freeTarget (std::string &targetSymbol) |
int | freeTarget (G4GIDI_target *target) |
std::vector< std::string > * | getListOfReadTargetsNames (void) |
Private Member Functions | |
int | init (int ip) |
Private Attributes | |
int | projectileID |
std::string | projectile |
std::list< G4GIDI_map * > | dataDirectories |
std::vector< G4GIDI_target * > | targets |
G4GIDI::G4GIDI | ( | int | ip, |
std::list< std::string > & | dataDirectory | ||
) |
int G4GIDI::addDataDirectory | ( | std::string & | dataDirectory | ) |
char * G4GIDI::dataFilename | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 196 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and smr_freeMemory().
char * G4GIDI::dataFilename | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 209 of file G4GIDI.cc.
References MCGIDI_map_findTarget().
int G4GIDI::freeTarget | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 363 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and smr_freeMemory().
int G4GIDI::freeTarget | ( | G4GIDI_target * | target | ) |
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(), and smr_freeMemory().
G4GIDI_target * G4GIDI::getAlreadyReadTarget | ( | std::string & | targetName | ) |
vector< string > * G4GIDI::getListOfReadTargetsNames | ( | void | ) |
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(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget(), and G4LENDManager::IsLENDTargetAvailable().
vector< string > * G4GIDI::getNamesOfAvailableLibraries | ( | std::string & | targetName | ) |
Definition at line 251 of file G4GIDI.cc.
References MCGIDI_map_findAllOfTarget(), MCGIDI_map_free(), MCGIDI_map_getFirstEntry(), and MCGIDI_map_getNextEntry().
vector< string > * G4GIDI::getNamesOfAvailableTargets | ( | void | ) |
Definition at line 271 of file G4GIDI.cc.
References getNamesOfAvailableTargets_walker(), and MCGIDI_map_walkTree().
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(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget().
bool G4GIDI::isThisDataAvailable | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 183 of file G4GIDI.cc.
References smr_freeMemory().
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(), and smr_freeMemory().
Referenced by G4LENDManager::GetLENDTarget().
G4GIDI_target * G4GIDI::readTarget | ( | std::string & | lib_name, |
std::string & | targetName, | ||
bool | bind = true |
||
) |
Definition at line 303 of file G4GIDI.cc.
References smr_freeMemory().
int G4GIDI::removeDataDirectory | ( | std::string & | dataDirectory | ) |
|
private |
|
private |