ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/processes/hadronic/models/lend/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 |
Definition at line 43 of file G4GIDI.hh.
View newest version in sPHENIX GitHub at line 43 of file G4GIDI.hh
G4GIDI::G4GIDI | ( | int | ip, |
std::string & | dataDirectory | ||
) |
G4GIDI::G4GIDI | ( | int | ip, |
std::list< std::string > & | dataDirectory | ||
) |
G4GIDI::~G4GIDI | ( | void | ) |
int G4GIDI::addDataDirectory | ( | std::string & | dataDirectory | ) |
Definition at line 196 of file G4GIDI.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 209 of file G4GIDI.cc
References MCGIDI_map_findTarget().
Definition at line 363 of file G4GIDI.cc.
View newest version in sPHENIX GitHub at line 363 of file G4GIDI.cc
References G4GIDI_Misc_Z_A_m_ToName(), and smr_freeMemory().
int G4GIDI::freeTarget | ( | std::string & | targetSymbol | ) |
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.
View newest version in sPHENIX GitHub 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::getDataDirectories | ( | void | ) |
string G4GIDI::getDataDirectoryAtIndex | ( | int | index | ) |
vector< string > * G4GIDI::getListOfReadTargetsNames | ( | void | ) |
Definition at line 237 of file G4GIDI.cc.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 251 of file G4GIDI.cc
References MCGIDI_mapEntry_s::evaluation, 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.
View newest version in sPHENIX GitHub at line 271 of file G4GIDI.cc
References getNamesOfAvailableTargets_walker(), and MCGIDI_map_walkTree().
Definition at line 169 of file G4GIDI.cc.
View newest version in sPHENIX GitHub at line 169 of file G4GIDI.cc
References b, 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 303 of file G4GIDI.cc
References smr_freeMemory().
int G4GIDI::removeDataDirectory | ( | std::string & | dataDirectory | ) |
|
private |
|
private |
|
private |
|
private |