Geant4
10.01.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::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 211 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
char * G4GIDI::dataFilename | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 224 of file G4GIDI.cc.
References tpia_map_findTarget().
int G4GIDI::freeTarget | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 367 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
int G4GIDI::freeTarget | ( | G4GIDI_target * | target | ) |
G4GIDI_target * G4GIDI::getAlreadyReadTarget | ( | int | iZ, |
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 325 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
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 240 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
Referenced by G4LENDManager::GetLENDTarget(), and G4LENDManager::IsLENDTargetAvailable().
vector< string > * G4GIDI::getNamesOfAvailableLibraries | ( | std::string & | targetName | ) |
Definition at line 254 of file G4GIDI.cc.
References tpia_map_findAllOfTarget(), tpia_map_free(), tpia_map_getFirstEntry(), and tpia_map_getNextEntry().
vector< string > * G4GIDI::getNamesOfAvailableTargets | ( | void | ) |
Definition at line 275 of file G4GIDI.cc.
References getNamesOfAvailableTargets_walker(), and tpia_map_walkTree().
bool G4GIDI::isThisDataAvailable | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 |
||
) |
Definition at line 184 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
Referenced by G4LENDManager::GetLENDTarget().
bool G4GIDI::isThisDataAvailable | ( | std::string & | lib_name, |
std::string & | targetName | ||
) |
Definition at line 198 of file G4GIDI.cc.
References xData_free().
G4GIDI_target * G4GIDI::readTarget | ( | std::string & | lib_name, |
int | iZ, | ||
int | iA, | ||
int | iM = 0 , |
||
bool | bind = true |
||
) |
Definition at line 293 of file G4GIDI.cc.
References G4GIDI_Misc_Z_A_m_ToName(), and xData_free().
Referenced by G4LENDManager::GetLENDTarget().
G4GIDI_target * G4GIDI::readTarget | ( | std::string & | lib_name, |
std::string & | targetName, | ||
bool | bind = true |
||
) |
Definition at line 307 of file G4GIDI.cc.
References xData_free().
int G4GIDI::removeDataDirectory | ( | std::string & | dataDirectory | ) |
|
private |
|
private |