Import Geant4 11.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2021-12-10 14:46:44 +01:00
committed by Ben Morgan
parent 6399a014b6
commit 80e2389dd8
3932 changed files with 202519 additions and 246221 deletions
@@ -195,7 +195,8 @@ G4double G4PAIModelData::DEDXPerVolume(G4int coupleIndex, G4double scaledTkin,
{
// VI: iPlace is the low edge index of the bin
// iPlace is in interval from 0 to (N-1)
size_t iPlace = fParticleEnergyVector->FindBin(scaledTkin, 0);
size_t iPlace(0);
G4double dEdx = fdEdxTable[coupleIndex]->Value(scaledTkin, iPlace);
size_t nPlace = fParticleEnergyVector->GetVectorLength() - 1;
/*
G4cout << "G4PAIModelData::DEDXPerVolume: coupleIdx= " << coupleIndex
@@ -209,7 +210,6 @@ G4double G4PAIModelData::DEDXPerVolume(G4int coupleIndex, G4double scaledTkin,
}
// VI: apply interpolation of the vector
G4double dEdx = fdEdxTable[coupleIndex]->Value(scaledTkin);
G4double del = (*(fPAIdEdxBank[coupleIndex]))(iPlace)->Value(cut);
//G4cout << "dEdx= " << dEdx << " del= " << del << G4endl;
if(!one) {