Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -746,13 +746,11 @@ void G4LossTableManager::CopyTables(const G4ParticleDefinition* part,
|
||||
if (!tables_are_built[j] && part == base_part_vector[j]) {
|
||||
tables_are_built[j] = true;
|
||||
proc->SetDEDXTable(base_proc->IonisationTable(),fRestricted);
|
||||
proc->SetDEDXTable(base_proc->DEDXTableForSubsec(),fSubRestricted);
|
||||
proc->SetDEDXTable(base_proc->DEDXunRestrictedTable(),fTotal);
|
||||
proc->SetCSDARangeTable(base_proc->CSDARangeTable());
|
||||
proc->SetRangeTableForLoss(base_proc->RangeTableForLoss());
|
||||
proc->SetInverseRangeTable(base_proc->InverseRangeTable());
|
||||
proc->SetLambdaTable(base_proc->LambdaTable());
|
||||
proc->SetSubLambdaTable(base_proc->SubLambdaTable());
|
||||
proc->SetIonisation(base_proc->IsIonisationProcess());
|
||||
if(proc->IsIonisationProcess()) {
|
||||
range_vector[j] = base_proc->RangeTableForLoss();
|
||||
@@ -912,15 +910,6 @@ G4VEnergyLossProcess* G4LossTableManager::BuildTables(
|
||||
if(build_flags[i]) {
|
||||
p->SetLambdaTable(p->BuildLambdaTable(fRestricted));
|
||||
}
|
||||
if (0 < nSubRegions) {
|
||||
dedx = p->BuildDEDXTable(fSubRestricted);
|
||||
p->SetDEDXTable(dedx,fSubRestricted);
|
||||
listSub.push_back(dedx);
|
||||
if(build_flags[i]) {
|
||||
p->SetSubLambdaTable(p->BuildLambdaTable(fSubRestricted));
|
||||
if(p != em) { em->AddCollaborativeProcess(p); }
|
||||
}
|
||||
}
|
||||
if(theParameters->BuildCSDARange()) {
|
||||
dedx = p->BuildDEDXTable(fTotal);
|
||||
p->SetDEDXTable(dedx,fTotal);
|
||||
@@ -928,16 +917,6 @@ G4VEnergyLossProcess* G4LossTableManager::BuildTables(
|
||||
}
|
||||
}
|
||||
|
||||
if (0 < nSubRegions) {
|
||||
G4PhysicsTable* dedxSub = em->IonisationTableForSubsec();
|
||||
if (1 < listSub.size()) {
|
||||
em->SetDEDXTable(dedxSub, fIsSubIonisation);
|
||||
dedxSub = 0;
|
||||
dedxSub = G4PhysicsTableHelper::PreparePhysicsTable(dedxSub);
|
||||
tableBuilder->BuildDEDXTable(dedxSub, listSub);
|
||||
em->SetDEDXTable(dedxSub, fSubRestricted);
|
||||
}
|
||||
}
|
||||
if(theParameters->BuildCSDARange()) {
|
||||
G4PhysicsTable* dedxCSDA = em->DEDXunRestrictedTable();
|
||||
if (1 < n_dedx) {
|
||||
|
||||
Reference in New Issue
Block a user