- Timestamp:
- Nov 5, 2010, 3:45:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/standard/src/G4PAIPhotonModel.cc
r1337 r1340 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PAIPhotonModel.cc,v 1.2 4 2010/06/03 07:28:39 grichineExp $27 // GEANT4 tag $Name: geant4-09-04-beta-01$26 // $Id: G4PAIPhotonModel.cc,v 1.25 2010/10/26 09:16:50 vnivanch Exp $ 27 // GEANT4 tag $Name: emstand-V09-03-24 $ 28 28 // 29 29 // ------------------------------------------------------------------- … … 83 83 fTaulim(8.4146e-3) 84 84 { 85 if(p) SetParticle(p);86 87 85 fVerbose = 0; 88 86 fElectron = G4Electron::Electron(); … … 90 88 91 89 fProtonEnergyVector = new G4PhysicsLogVector(fLowestKineticEnergy, 92 93 90 fHighestKineticEnergy, 91 fTotBin); 94 92 fPAItransferTable = 0; 95 93 fPAIphotonTable = 0; … … 104 102 fdNdxCutPhotonVector = 0; 105 103 fdNdxCutPlasmonVector = 0; 104 105 fSandiaIntervalNumber = 0; 106 fMatIndex = 0; 107 108 if(p) { SetParticle(p); } 109 else { SetParticle(fElectron); } 106 110 107 111 isInitialised = false; … … 161 165 const G4DataVector&) 162 166 { 163 G4cout<<"G4PAIPhotonModel::Initialise for "<<p->GetParticleName()<<G4endl;164 if(isInitialised) return;167 // G4cout<<"G4PAIPhotonModel::Initialise for "<<p->GetParticleName()<<G4endl; 168 if(isInitialised) { return; } 165 169 isInitialised = true; 166 170 … … 229 233 { 230 234 G4int i, j, numberOfElements ; 231 staticconst G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable();235 const G4MaterialTable* theMaterialTable = G4Material::GetMaterialTable(); 232 236 233 237 G4SandiaTable thisMaterialSandiaTable(fMatIndex) ; … … 264 268 } 265 269 } 266 //delete[] thisMaterialZ ;270 delete[] thisMaterialZ ; 267 271 } 268 272
Note: See TracChangeset
for help on using the changeset viewer.