48 #include "CMSG4mplIonisation.hh"
49 #include "G4Electron.hh"
50 #include "G4mplIonisationModel.hh"
51 #include "G4BohrFluctuations.hh"
57 CMSG4mplIonisation::CMSG4mplIonisation(G4double mCharge,
const G4String&
name)
58 : G4VEnergyLossProcess(name),
59 magneticCharge(mCharge),
63 if(magneticCharge == 0.0) magneticCharge = eplus*0.5/fine_structure_const;
66 SetProcessSubType(fIonisation);
67 SetStepFunction(0.2, 1*mm);
72 CMSG4mplIonisation::~CMSG4mplIonisation()
77 G4bool CMSG4mplIonisation::IsApplicable(
const G4ParticleDefinition&)
84 void CMSG4mplIonisation::InitialiseEnergyLossProcess(
const G4ParticleDefinition*,
85 const G4ParticleDefinition*)
87 if(isInitialised)
return;
90 SetSecondaryParticle(G4Electron::Electron());
92 G4mplIonisationModel* ion =
new G4mplIonisationModel(magneticCharge,
"PAI");
93 ion->SetLowEnergyLimit(MinKinEnergy());
94 ion->SetHighEnergyLimit(MaxKinEnergy());
95 AddEmModel(0,ion,ion);
102 void CMSG4mplIonisation::PrintInfo()
104 G4cout <<
" No delta-electron production, only dE/dx"