- Timestamp:
- Sep 30, 2010, 2:47:17 PM (14 years ago)
- Location:
- trunk/source/processes/hadronic/models/coherent_elastic/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/hadronic/models/coherent_elastic/src/G4CHIPSElastic.cc
r1315 r1337 25 25 // 26 26 // $Id: G4CHIPSElastic.cc,v 1.4 2010/01/13 15:42:06 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta- cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 //--------------------------------------------------------------------- -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4ChargeExchange.cc
r1228 r1337 26 26 // 27 27 // $Id: G4ChargeExchange.cc,v 1.16 2009/09/22 16:21:46 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3$28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4ChargeExchangeProcess.cc
r1228 r1337 26 26 // 27 27 // $Id: G4ChargeExchangeProcess.cc,v 1.15 2008/11/27 16:43:00 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3$28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4DiffuseElastic.cc
r1228 r1337 25 25 // 26 26 // $Id: G4DiffuseElastic.cc,v 1.25 2009/09/22 16:21:46 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3$27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4ElasticHadrNucleusHE.cc
r1228 r1337 26 26 // 27 27 // $Id: G4ElasticHadrNucleusHE.cc,v 1.81 2009/09/22 16:21:46 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-0 3$28 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 29 29 // 30 30 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4HadronElastic.cc
r1315 r1337 25 25 // 26 26 // $Id: G4HadronElastic.cc,v 1.66 2010/01/13 15:42:06 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta- cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4NuclNuclDiffuseElastic.cc
r1228 r1337 25 25 // 26 26 // $Id: G4NuclNuclDiffuseElastic.cc,v 1.2 2009/04/10 13:22:25 grichine Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3$27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4UHadronElasticProcess.cc
r1315 r1337 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4UHadronElasticProcess.cc,v 1.4 1 2010/01/26 13:34:01 mkossovExp $27 // GEANT4 tag $Name: geant4-09-04-beta- cand-01 $26 // $Id: G4UHadronElasticProcess.cc,v 1.42 2010/06/15 15:24:34 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // Geant4 Hadron Elastic Scattering Process -- header file … … 302 302 } 303 303 A = G4double((*isv)[j]->GetN()); 304 } 304 } else { 305 306 G4int nIso = theDefaultIsotopes.GetNumberOfIsotopes(iz); 307 G4int idxIso = theDefaultIsotopes.GetFirstIsotope(iz); 308 A = theDefaultIsotopes.GetIsotopeNucleonCount(idxIso); 309 310 if(1 < nIso) { 311 312 G4double cross = 0.0; 313 314 G4int i = 0; 315 for (; i<nIso; ++i) { 316 cross += theDefaultIsotopes.GetAbundance(idxIso+i); 317 xsec[i] = cross; 318 } 319 cross *= G4UniformRand(); 320 for (i = 0; i<nIso; ++i) { 321 if(cross <= xsec[i]) { 322 A = theDefaultIsotopes.GetIsotopeNucleonCount(idxIso+i); 323 break; 324 } 325 } 326 } 327 } 305 328 306 329 G4HadronicInteraction* hadi = -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4VHadronElastic.cc
r1228 r1337 25 25 // 26 26 // $Id: G4VHadronElastic.cc,v 1.4 2009/09/23 14:37:44 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-0 3$27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // Geant4 Header : G4VHadronElastic -
trunk/source/processes/hadronic/models/coherent_elastic/src/G4WHadronElasticProcess.cc
r1315 r1337 25 25 // 26 26 // $Id: G4WHadronElasticProcess.cc,v 1.3 2010/01/13 15:42:06 mkossov Exp $ 27 // GEANT4 tag $Name: geant4-09-04-beta- cand-01 $27 // GEANT4 tag $Name: geant4-09-04-beta-01 $ 28 28 // 29 29 // Geant4 Hadron Elastic Scattering Process
Note: See TracChangeset
for help on using the changeset viewer.