- Timestamp:
- Apr 6, 2009, 12:21:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4eIonisation.cc
r819 r961 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4eIonisation.cc,v 1.5 3 2007/05/22 17:34:36vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4eIonisation.cc,v 1.57 2009/02/20 12:06:37 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 90 90 isInitialised(false) 91 91 { 92 SetStepFunction(0.2, 1*mm); 93 SetIntegral(true); 94 SetVerboseLevel(1); 92 // SetStepFunction(0.2, 1*mm); 93 // SetIntegral(true); 94 // SetVerboseLevel(1); 95 SetProcessSubType(fIonisation); 95 96 } 96 97 … … 99 100 G4eIonisation::~G4eIonisation() 100 101 {} 102 103 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 104 105 G4double G4eIonisation::MinPrimaryEnergy(const G4ParticleDefinition*, 106 const G4Material*, 107 G4double cut) 108 { 109 G4double x = cut; 110 if(isElectron) x += cut; 111 return x; 112 } 113 114 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 115 116 G4bool G4eIonisation::IsApplicable(const G4ParticleDefinition& p) 117 { 118 return (&p == G4Electron::Electron() || &p == G4Positron::Positron()); 119 } 101 120 102 121 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 110 129 SetSecondaryParticle(theElectron); 111 130 if (!EmModel()) SetEmModel(new G4MollerBhabhaModel()); 112 EmModel()->SetLowEnergyLimit ( 100*eV);113 EmModel()->SetHighEnergyLimit( 100*TeV);131 EmModel()->SetLowEnergyLimit (MinKinEnergy()); 132 EmModel()->SetHighEnergyLimit(MaxKinEnergy()); 114 133 if (!FluctModel()) SetFluctModel(new G4UniversalFluctuation()); 115 134 … … 122 141 123 142 void G4eIonisation::PrintInfo() 124 { 125 if(EmModel()) 126 G4cout << " Delta cross sections and sampling from " 127 << EmModel()->GetName() << " model" 128 << "\n Good description from 1 KeV to 100 GeV." 129 << G4endl; 130 } 143 {} 131 144 132 145 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Note: See TracChangeset
for help on using the changeset viewer.