Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
#include "globals.hh"
|
||||
#include "G4ThreadLocalSingleton.hh"
|
||||
#include "G4VEnergyLossProcess.hh"
|
||||
#include "G4EmParameters.hh"
|
||||
|
||||
class G4PhysicsTable;
|
||||
class G4MaterialCutsCouple;
|
||||
@@ -117,11 +118,6 @@ public:
|
||||
G4double kineticEnergy,
|
||||
const G4MaterialCutsCouple *couple);
|
||||
|
||||
inline G4double GetSubDEDX(
|
||||
const G4ParticleDefinition *aParticle,
|
||||
G4double kineticEnergy,
|
||||
const G4MaterialCutsCouple *couple);
|
||||
|
||||
inline G4double GetRange(
|
||||
const G4ParticleDefinition *aParticle,
|
||||
G4double kineticEnergy,
|
||||
@@ -231,6 +227,9 @@ public:
|
||||
|
||||
inline G4VEmProcess* GetPositronGeneralProcess();
|
||||
|
||||
G4LossTableManager(G4LossTableManager &) = delete;
|
||||
G4LossTableManager & operator=(const G4LossTableManager &right) = delete;
|
||||
|
||||
private:
|
||||
|
||||
//-------------------------------------------------
|
||||
@@ -252,9 +251,6 @@ private:
|
||||
|
||||
void PrintEWarning(G4String, G4double);
|
||||
|
||||
G4LossTableManager(G4LossTableManager &) = delete;
|
||||
G4LossTableManager & operator=(const G4LossTableManager &right) = delete;
|
||||
|
||||
static G4ThreadLocal G4LossTableManager* instance;
|
||||
|
||||
typedef const G4ParticleDefinition* PD;
|
||||
@@ -282,26 +278,26 @@ private:
|
||||
PD theGenericIon;
|
||||
PD firstParticle;
|
||||
|
||||
G4LossTableBuilder* tableBuilder;
|
||||
G4EmCorrections* emCorrections;
|
||||
G4EmConfigurator* emConfigurator;
|
||||
G4ElectronIonPair* emElectronIonPair;
|
||||
G4NIELCalculator* nielCalculator;
|
||||
G4VAtomDeexcitation* atomDeexcitation;
|
||||
G4VSubCutProducer* subcutProducer;
|
||||
|
||||
G4EmParameters* theParameters;
|
||||
G4VEmProcess* gGeneral;
|
||||
G4VEmProcess* eGeneral;
|
||||
G4VEmProcess* pGeneral;
|
||||
|
||||
G4int verbose;
|
||||
G4int n_loss;
|
||||
G4int run;
|
||||
|
||||
G4bool all_tables_are_built;
|
||||
G4bool startInitialisation;
|
||||
G4bool isMaster;
|
||||
G4LossTableBuilder* tableBuilder;
|
||||
G4EmCorrections* emCorrections;
|
||||
G4EmConfigurator* emConfigurator;
|
||||
G4ElectronIonPair* emElectronIonPair;
|
||||
G4NIELCalculator* nielCalculator;
|
||||
G4VAtomDeexcitation* atomDeexcitation;
|
||||
G4VSubCutProducer* subcutProducer;
|
||||
|
||||
G4EmParameters* theParameters;
|
||||
G4VEmProcess* gGeneral;
|
||||
G4VEmProcess* eGeneral;
|
||||
G4VEmProcess* pGeneral;
|
||||
|
||||
G4int verbose;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -318,17 +314,6 @@ G4double G4LossTableManager::GetDEDX(const G4ParticleDefinition *aParticle,
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
|
||||
inline
|
||||
G4double G4LossTableManager::GetSubDEDX(const G4ParticleDefinition *aParticle,
|
||||
G4double kineticEnergy,
|
||||
const G4MaterialCutsCouple *couple)
|
||||
{
|
||||
if(aParticle != currentParticle) { GetEnergyLossProcess(aParticle); }
|
||||
return currentLoss ? currentLoss->GetDEDXForSubsec(kineticEnergy, couple) : 0.0;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
|
||||
inline
|
||||
G4double G4LossTableManager::GetCSDARange(const G4ParticleDefinition *aParticle,
|
||||
G4double kineticEnergy,
|
||||
@@ -347,7 +332,7 @@ G4double G4LossTableManager::GetRangeFromRestricteDEDX(
|
||||
const G4MaterialCutsCouple *couple)
|
||||
{
|
||||
if(aParticle != currentParticle) { GetEnergyLossProcess(aParticle); }
|
||||
return currentLoss ? currentLoss->GetRangeForLoss(kineticEnergy, couple) : DBL_MAX;
|
||||
return currentLoss ? currentLoss->GetRange(kineticEnergy, couple) : DBL_MAX;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
@@ -464,4 +449,3 @@ inline G4VEmProcess* G4LossTableManager::GetPositronGeneralProcess()
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user