Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -264,6 +264,8 @@ public:
|
||||
|
||||
void SetVerbose(G4int val);
|
||||
|
||||
inline void SetApplySmoothing(G4int val);
|
||||
|
||||
// hide copy and assign
|
||||
G4EmCalculator & operator=(const G4EmCalculator &right) = delete;
|
||||
G4EmCalculator(const G4EmCalculator&) = delete;
|
||||
@@ -282,8 +284,6 @@ private:
|
||||
const G4String& processName,
|
||||
G4double kinEnergy);
|
||||
|
||||
G4VEnergyLossProcess* FindEnergyLossProcess(const G4ParticleDefinition*);
|
||||
|
||||
G4VEnergyLossProcess* FindEnLossProcess(const G4ParticleDefinition*,
|
||||
const G4String& processName);
|
||||
|
||||
@@ -334,6 +334,7 @@ private:
|
||||
|
||||
G4bool isIon = false;
|
||||
G4bool isApplicable = false;
|
||||
G4bool applySmoothing = true;
|
||||
|
||||
std::vector<const G4Material*> localMaterials;
|
||||
std::vector<const G4MaterialCutsCouple*> localCouples;
|
||||
@@ -554,4 +555,11 @@ G4double G4EmCalculator::ComputeMeanFreePath(G4double kinEnergy,
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
inline void G4EmCalculator::SetApplySmoothing(G4int val)
|
||||
{
|
||||
applySmoothing = val;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user