- Timestamp:
- Apr 6, 2009, 12:21:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/muons/src/G4MuPairProduction.cc
r819 r961 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4MuPairProduction.cc,v 1. 48 2007/05/22 17:35:58vnivanch Exp $27 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $26 // $Id: G4MuPairProduction.cc,v 1.52 2009/02/20 14:48:16 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 89 89 lowestKinEnergy(1.*GeV), 90 90 isInitialised(false) 91 {} 91 { 92 SetProcessSubType(fPairProdByCharged); 93 } 92 94 93 95 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... … … 98 100 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 99 101 100 void G4MuPairProduction::InitialiseEnergyLossProcess(const G4ParticleDefinition* part, 101 const G4ParticleDefinition*) 102 G4bool G4MuPairProduction::IsApplicable(const G4ParticleDefinition& p) 103 { 104 return (p.GetPDGCharge() != 0.0 && p.GetPDGMass() > 10.0*MeV); 105 } 106 107 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 108 109 G4double G4MuPairProduction::MinPrimaryEnergy(const G4ParticleDefinition*, 110 const G4Material*, 111 G4double) 112 { 113 return lowestKinEnergy; 114 } 115 116 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... 117 118 void G4MuPairProduction::InitialiseEnergyLossProcess( 119 const G4ParticleDefinition* part, 120 const G4ParticleDefinition*) 102 121 { 103 122 if (!isInitialised) { … … 110 129 G4MuPairProductionModel* em = new G4MuPairProductionModel(); 111 130 em->SetLowestKineticEnergy(lowestKinEnergy); 112 G4VEmFluctuationModel* fm = new G4UniversalFluctuation();113 em->SetLowEnergyLimit( 0.1*keV);114 em->SetHighEnergyLimit( 100.0*TeV);131 G4VEmFluctuationModel* fm = 0; 132 em->SetLowEnergyLimit(MinKinEnergy()); 133 em->SetHighEnergyLimit(MaxKinEnergy()); 115 134 AddEmModel(1, em, fm); 116 135 } … … 120 139 121 140 void G4MuPairProduction::PrintInfo() 122 { 123 G4cout << " Parametrised model " 124 << G4endl; 125 } 141 {} 126 142 127 143 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
Note: See TracChangeset
for help on using the changeset viewer.