- Timestamp:
- Jun 18, 2010, 11:42:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/muons/src/G4MuIonisation.cc
r1228 r1315 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4MuIonisation.cc,v 1. 59 2009/02/26 11:04:20 vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 3$26 // $Id: G4MuIonisation.cc,v 1.61 2010/06/04 09:30:40 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-cand-01 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 89 89 #include "G4BohrFluctuations.hh" 90 90 #include "G4UnitsTable.hh" 91 #include "G4ICRU73QOModel.hh" 91 92 92 93 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 140 141 141 142 mass = theParticle->GetPDGMass(); 143 G4double q = theParticle->GetPDGCharge(); 144 G4double elow = 0.2*MeV; 142 145 SetSecondaryParticle(G4Electron::Electron()); 143 146 144 147 // Bragg peak model 145 if (!EmModel(1)) SetEmModel(new G4BraggModel(),1); 148 if (!EmModel(1)) { 149 if(q > 0.0) { SetEmModel(new G4BraggModel(),1); } 150 else { 151 SetEmModel(new G4ICRU73QOModel(),1); 152 //elow = 1.0*MeV; 153 } 154 } 146 155 EmModel(1)->SetLowEnergyLimit(MinKinEnergy()); 147 EmModel(1)->SetHighEnergyLimit( 0.2*MeV);156 EmModel(1)->SetHighEnergyLimit(elow); 148 157 AddEmModel(1, EmModel(1), new G4IonFluctuations()); 149 158 150 159 // high energy fluctuation model 151 if (!FluctModel()) SetFluctModel(new G4UniversalFluctuation());160 if (!FluctModel()) { SetFluctModel(new G4UniversalFluctuation()); } 152 161 153 162 // moderate energy model 154 if (!EmModel(2)) SetEmModel(new G4BetheBlochModel(),2);155 EmModel(2)->SetLowEnergyLimit( 0.2*MeV);163 if (!EmModel(2)) { SetEmModel(new G4BetheBlochModel(),2); } 164 EmModel(2)->SetLowEnergyLimit(elow); 156 165 EmModel(2)->SetHighEnergyLimit(1.0*GeV); 157 166 AddEmModel(2, EmModel(2), FluctModel()); 158 167 159 168 // high energy model 160 if (!EmModel(3)) SetEmModel(new G4MuBetheBlochModel(),3);169 if (!EmModel(3)) { SetEmModel(new G4MuBetheBlochModel(),3); } 161 170 EmModel(3)->SetLowEnergyLimit(1.0*GeV); 162 171 EmModel(3)->SetHighEnergyLimit(MaxKinEnergy());
Note: See TracChangeset
for help on using the changeset viewer.