Import Geant4 5.1.0 source tree
This commit is contained in:
@@ -29,10 +29,15 @@
|
||||
// File name: G4ionIonisation
|
||||
//
|
||||
// Author: Vladimir Ivanchenko
|
||||
//
|
||||
//
|
||||
// Creation date: 07.05.2002
|
||||
//
|
||||
// Modifications:
|
||||
// Modifications:
|
||||
//
|
||||
// 23-12-02 Change interface in order to move to cut per region (V.Ivanchenko)
|
||||
// 26-12-02 Secondary production moved to derived classes (V.Ivanchenko)
|
||||
// 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko)
|
||||
// 18-04-03 Use IonFluctuations (V.Ivanchenko)
|
||||
//
|
||||
//
|
||||
// -------------------------------------------------------------------
|
||||
@@ -41,53 +46,54 @@
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
#include "G4ionIonisation.hh"
|
||||
#include "G4LossTableManager.hh"
|
||||
#include "G4Electron.hh"
|
||||
#include "G4Proton.hh"
|
||||
#include "G4AntiProton.hh"
|
||||
#include "G4BraggModel.hh"
|
||||
#include "G4BetheBlochModel.hh"
|
||||
#include "G4UniversalFluctuation.hh"
|
||||
#include "G4IonFluctuations.hh"
|
||||
#include "G4UnitsTable.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4ionIonisation::G4ionIonisation(const G4String& name)
|
||||
G4ionIonisation::G4ionIonisation(const G4String& name)
|
||||
: G4VEnergyLossSTD(name),
|
||||
theParticle(0),
|
||||
theBaseParticle(G4Proton::Proton())
|
||||
theBaseParticle(G4Proton::Proton()),
|
||||
subCutoff(false)
|
||||
{
|
||||
InitialiseProcess();
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
G4ionIonisation::~G4ionIonisation()
|
||||
G4ionIonisation::~G4ionIonisation()
|
||||
{}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
void G4ionIonisation::InitialiseProcess()
|
||||
void G4ionIonisation::InitialiseProcess()
|
||||
{
|
||||
SetVerboseLevel(0);
|
||||
|
||||
SetSecondaryParticle(G4Electron::Electron());
|
||||
SetSubCutoffIsDesired(true);
|
||||
|
||||
SetDEDXBinning(120);
|
||||
SetLambdaBinning(120);
|
||||
SetMinKinEnergy(0.1*keV);
|
||||
SetMaxKinEnergy(100.0*TeV);
|
||||
|
||||
G4VEmModel* em = new G4BraggModel();
|
||||
em->SetLowEnergyLimit(0, 0.1*keV);
|
||||
em->SetHighEnergyLimit(0, 2.0*MeV);
|
||||
AddEmModel(em, 0);
|
||||
G4VEmModel* em1 = new G4BetheBlochModel();
|
||||
em1->SetLowEnergyLimit(0, 2.0*MeV);
|
||||
em1->SetHighEnergyLimit(0, 100.0*TeV);
|
||||
AddEmModel(em1, 1);
|
||||
G4VEmFluctuationModel* fm = new G4IonFluctuations();
|
||||
|
||||
G4VEmModel* em = new G4BraggModel();
|
||||
em->SetLowEnergyLimit(0.1*keV);
|
||||
em->SetHighEnergyLimit(2.0*MeV);
|
||||
AddEmModel(1, em, fm);
|
||||
G4VEmModel* em1 = new G4BetheBlochModel();
|
||||
em1->SetLowEnergyLimit(2.0*MeV);
|
||||
em1->SetHighEnergyLimit(100.0*TeV);
|
||||
AddEmModel(2, em1, fm);
|
||||
|
||||
G4VEmFluctuationModel* fm = new G4UniversalFluctuation();
|
||||
AddEmFluctuationModel(fm);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
@@ -105,12 +111,19 @@ void G4ionIonisation::PrintInfoDefinition() const
|
||||
{
|
||||
G4VEnergyLossSTD::PrintInfoDefinition();
|
||||
|
||||
G4cout << " Scaling relation is used to proton dE/dx and range"
|
||||
<< G4endl
|
||||
G4cout << " Scaling relation is used to proton dE/dx and range"
|
||||
<< G4endl
|
||||
<< " Bether-Bloch model for Escaled > 2 MeV, "
|
||||
<< "parametrisation of Bragg peak below."
|
||||
<< G4endl;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
void G4ionIonisation::SetSubCutoff(G4bool val)
|
||||
{
|
||||
subCutoff = val;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
|
||||
Reference in New Issue
Block a user