Import Geant4 11.3.0 source tree
This commit is contained in:
@@ -49,35 +49,35 @@ class G4GIDI {
|
||||
G4int init( G4int ip );
|
||||
|
||||
public:
|
||||
G4GIDI( G4int ip, std::string &dataDirectory );
|
||||
G4GIDI( G4int ip, const std::string &dataDirectory );
|
||||
G4GIDI( G4int ip, std::list<std::string> &dataDirectory );
|
||||
~G4GIDI( );
|
||||
|
||||
G4int numberOfDataDirectories( void );
|
||||
G4int addDataDirectory( std::string &dataDirectory );
|
||||
G4int removeDataDirectory( std::string &dataDirectory );
|
||||
G4int addDataDirectory( const std::string &dataDirectory );
|
||||
G4int removeDataDirectory( const std::string &dataDirectory );
|
||||
std::string getDataDirectoryAtIndex( G4int index );
|
||||
std::vector<std::string> *getDataDirectories( void );
|
||||
|
||||
G4bool isThisDataAvailable( std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0 );
|
||||
G4bool isThisDataAvailable( std::string &lib_name, std::string &targetName );
|
||||
G4bool isThisDataAvailable( const std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0 );
|
||||
G4bool isThisDataAvailable( const std::string &lib_name, const std::string &targetName );
|
||||
|
||||
char *dataFilename( std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0 );
|
||||
char *dataFilename( std::string &lib_name, std::string &targetName );
|
||||
char *dataFilename( const std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0 );
|
||||
char *dataFilename( const std::string &lib_name, const std::string &targetName );
|
||||
|
||||
std::vector<std::string> *getNamesOfAvailableLibraries( G4int iZ, G4int iA, G4int iM = 0 );
|
||||
std::vector<std::string> *getNamesOfAvailableLibraries( std::string &targetName );
|
||||
std::vector<std::string> *getNamesOfAvailableLibraries( const std::string &targetName );
|
||||
|
||||
std::vector<std::string> *getNamesOfAvailableTargets( void );
|
||||
|
||||
G4GIDI_target *readTarget( std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0, G4bool bind = true );
|
||||
G4GIDI_target *readTarget( std::string &lib_name, std::string &targetName, G4bool bind = true );
|
||||
G4GIDI_target *readTarget( const std::string &lib_name, G4int iZ, G4int iA, G4int iM = 0, G4bool bind = true );
|
||||
G4GIDI_target *readTarget( const std::string &lib_name, const std::string &targetName, G4bool bind = true );
|
||||
|
||||
G4GIDI_target *getAlreadyReadTarget( G4int iZ, G4int iA, G4int iM = 0 );
|
||||
G4GIDI_target *getAlreadyReadTarget( std::string &targetName );
|
||||
G4GIDI_target *getAlreadyReadTarget( const std::string &targetName );
|
||||
|
||||
G4int freeTarget( G4int iZ, G4int iA, G4int iM = 0 );
|
||||
G4int freeTarget( std::string &targetSymbol );
|
||||
G4int freeTarget( const std::string &targetSymbol );
|
||||
G4int freeTarget( G4GIDI_target *target );
|
||||
|
||||
std::vector<std::string> *getListOfReadTargetsNames( void );
|
||||
|
||||
@@ -41,7 +41,7 @@ class G4GIDI_map {
|
||||
GIDI::statusMessageReporting smr;
|
||||
GIDI::MCGIDI_map *map;
|
||||
|
||||
G4GIDI_map( std::string &dataDirectory );
|
||||
G4GIDI_map( const std::string &dataDirectory );
|
||||
~G4GIDI_map( );
|
||||
|
||||
std::string path( void );
|
||||
|
||||
@@ -80,7 +80,7 @@ class G4LENDManager
|
||||
return lend_manager;
|
||||
};
|
||||
|
||||
G4GIDI_target* GetLENDTarget( G4ParticleDefinition* , G4String , G4int iZ , G4int iA , G4int iM = 0 );
|
||||
G4GIDI_target* GetLENDTarget( G4ParticleDefinition* , const G4String& , G4int iZ , G4int iA , G4int iM = 0 );
|
||||
std::vector< G4String > IsLENDTargetAvailable( G4ParticleDefinition* , G4int iZ , G4int iA , G4int iM = 0 );
|
||||
G4int GetNucleusEncoding ( G4int iZ , G4int iA , G4int iM );
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ class G4LENDUsedTarget
|
||||
|
||||
public:
|
||||
|
||||
G4LENDUsedTarget( G4ParticleDefinition* pd , G4String Evaluation , G4int iZ , G4int iA , G4int iM = 0 )
|
||||
G4LENDUsedTarget( G4ParticleDefinition* pd , const G4String& Evaluation , G4int iZ , G4int iA , G4int iM = 0 )
|
||||
: allow_nat ( false )
|
||||
, allow_anything ( false )
|
||||
, min_Z ( 0 )
|
||||
@@ -74,32 +74,32 @@ class G4LENDUsedTarget
|
||||
searchTarget();
|
||||
}
|
||||
|
||||
~G4LENDUsedTarget(){;};
|
||||
~G4LENDUsedTarget(){;}
|
||||
|
||||
void AllowNat()
|
||||
{
|
||||
allow_nat = true;
|
||||
searchTarget();
|
||||
};
|
||||
}
|
||||
|
||||
void AllowAny()
|
||||
{
|
||||
allow_anything = true;
|
||||
searchTarget();
|
||||
};
|
||||
}
|
||||
|
||||
G4int GetWantedZ(){ return wanted_Z; };
|
||||
G4int GetWantedA(){ return wanted_A; };
|
||||
G4int GetWantedM(){ return wanted_M; };
|
||||
G4int GetWantedZ() const { return wanted_Z; }
|
||||
G4int GetWantedA() const { return wanted_A; }
|
||||
G4int GetWantedM() const { return wanted_M; }
|
||||
|
||||
G4int GetActualZ(){ return actual_Z; };
|
||||
G4int GetActualA(){ return actual_A; };
|
||||
G4int GetActualM(){ return actual_M; };
|
||||
G4int GetActualZ() const { return actual_Z; }
|
||||
G4int GetActualA() const { return actual_A; }
|
||||
G4int GetActualM() const { return actual_M; }
|
||||
|
||||
G4String GetWantedEvaluation(){ return wanted_Evaluation; };
|
||||
G4String GetActualEvaluation(){ return actual_Evaluation; };
|
||||
const G4String& GetWantedEvaluation() const { return wanted_Evaluation; }
|
||||
const G4String& GetActualEvaluation() const { return actual_Evaluation; }
|
||||
|
||||
G4GIDI_target* GetTarget(){ return target; };
|
||||
G4GIDI_target* GetTarget() const { return target; }
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user