- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/highenergy/src/G4hhIonisation.cc
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4hhIonisation.cc,v 1.1 0 2010/06/04 10:23:31vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4hhIonisation.cc,v 1.11 2010/10/26 14:15:40 vnivanch Exp $ 27 // GEANT4 tag $Name: emhighenergy-V09-03-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 102 102 const G4ParticleDefinition* bpart) 103 103 { 104 if(isInitialised) return;104 if(isInitialised) { return; } 105 105 106 106 theParticle = part; 107 if(bpart) G4cout << "G4hhIonisation::InitialiseEnergyLossProcess WARNING: no " 108 << "base particle should be defined for the process " 109 << GetProcessName() << G4endl; 110 107 if(bpart) { 108 G4cout << "G4hhIonisation::InitialiseEnergyLossProcess WARNING: no " 109 << "base particle should be defined for the process " 110 << GetProcessName() << G4endl; 111 } 111 112 SetBaseParticle(0); 112 113 SetSecondaryParticle(G4Electron::Electron()); … … 114 115 mass = theParticle->GetPDGMass(); 115 116 ratio = electron_mass_c2/mass; 116 eth = 2.0*MeV*mass/proton_mass_c2;117 G4double eth = 2*MeV*mass/proton_mass_c2; 117 118 flucModel = new G4BohrFluctuations(); 118 119 119 120 G4int nm = 1; 120 121 121 minKinEnergy = MinKinEnergy();122 G4double minKinEnergy = MinKinEnergy(); 122 123 123 124 if(eth > minKinEnergy) {
Note: See TracChangeset
for help on using the changeset viewer.