Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: G4GammaConversion.cc,v 1.27 2006/09/14 10:27:19 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: G4GammaConversion.cc,v 1.30 2008/10/15 17:53:44 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
//------------------ G4GammaConversion physics process -------------------------
|
||||
@@ -78,9 +78,8 @@ G4GammaConversion::G4GammaConversion(const G4String& processName,
|
||||
G4ProcessType type):G4VEmProcess (processName, type),
|
||||
isInitialised(false)
|
||||
{
|
||||
SetLambdaBinning(100);
|
||||
SetMinKinEnergy(2.0*electron_mass_c2);
|
||||
SetMaxKinEnergy(100.0*GeV);
|
||||
SetProcessSubType(fGammaConversion);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -96,12 +95,11 @@ void G4GammaConversion::InitialiseProcess(const G4ParticleDefinition*)
|
||||
isInitialised = true;
|
||||
SetBuildTableFlag(true);
|
||||
SetSecondaryParticle(G4Electron::Electron());
|
||||
G4double emin = max(MinKinEnergy(), 2.0*electron_mass_c2);
|
||||
G4double emin = std::max(MinKinEnergy(), 2.0*electron_mass_c2);
|
||||
SetMinKinEnergy(emin);
|
||||
G4double emax = MaxKinEnergy();
|
||||
if(!Model()) SetModel(new G4BetheHeitlerModel);
|
||||
if(!Model()) SetModel(new G4BetheHeitlerModel());
|
||||
Model()->SetLowEnergyLimit(emin);
|
||||
Model()->SetHighEnergyLimit(emax);
|
||||
Model()->SetHighEnergyLimit(MaxKinEnergy());
|
||||
AddEmModel(1, Model());
|
||||
}
|
||||
}
|
||||
@@ -109,13 +107,6 @@ void G4GammaConversion::InitialiseProcess(const G4ParticleDefinition*)
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
void G4GammaConversion::PrintInfo()
|
||||
{
|
||||
G4cout
|
||||
<< " Total cross sections has a good parametrisation"
|
||||
<< " from 1.5 MeV to 100 GeV for all Z;"
|
||||
<< "\n sampling secondary e+e- according "
|
||||
<< Model()->GetName() << " model"
|
||||
<< G4endl;
|
||||
}
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user