Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -852,8 +852,7 @@ void G4EmCorrections::BuildCorrectionVector()
<< ion->GetParticleName() << G4endl;
}
G4PhysicsLogVector* vv =
new G4PhysicsLogVector(eCorrMin,eCorrMax,nbinCorr,false);
auto vv = new G4PhysicsLogVector(eCorrMin,eCorrMax,nbinCorr,false);
const G4double eth0 = v->Energy(0);
const G4double escal = eth/massFactor;
G4double qe =
@@ -904,8 +903,7 @@ void G4EmCorrections::InitialiseForNewRun()
ncouples = tb->GetTableSize();
if(currmat.size() != ncouples) {
currmat.resize(ncouples);
for(std::map< G4int, std::vector<G4double> >::iterator it =
thcorr.begin(); it != thcorr.end(); ++it){
for(auto it = thcorr.begin(); it != thcorr.end(); ++it){
(it->second).clear();
}
thcorr.clear();