Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -65,10 +65,10 @@ G4EmElementSelector::G4EmElementSelector(G4VEmModel* mod,
|
||||
theElementVector = material->GetElementVector();
|
||||
if(nElmMinusOne > 0) {
|
||||
xSections.reserve(n);
|
||||
G4PhysicsLogVector* v0 = new G4PhysicsLogVector(lowEnergy,highEnergy,nbins,false);
|
||||
auto v0 = new G4PhysicsLogVector(lowEnergy,highEnergy,nbins,false);
|
||||
xSections.push_back(v0);
|
||||
for(G4int i=1; i<n; ++i) {
|
||||
G4PhysicsLogVector* v = new G4PhysicsLogVector(*v0);
|
||||
auto v = new G4PhysicsLogVector(*v0);
|
||||
xSections.push_back(v);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user