Skip to content

Commit 6805e77

Browse files
authored
Merge pull request #46 from QTNM/tom/build_11.4
Fix build for Geant4 11.4
2 parents 46e849d + b94fef6 commit 6805e77

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/QTNMPhysicsList.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ void QTNMPhysicsList::ConstructProcess()
158158
G4CoulombScattering* ss = new G4CoulombScattering();
159159
G4EmMultiModel* mm = new G4EmMultiModel("CoulombSSModels");
160160
// Elastic Scattering
161-
G4eDPWACoulombScatteringModel* es = new G4eDPWACoulombScatteringModel(false, false, 0.0);
161+
G4eDPWACoulombScatteringModel* es = new G4eDPWACoulombScatteringModel(false, false);
162162
es->SetPolarAngleLimit(0.0); // No mixed model
163163
mm->AddModel(es);
164164
// Impact Ionisation
@@ -185,7 +185,7 @@ void QTNMPhysicsList::ConstructProcess()
185185

186186
// single scattering
187187
ss = new G4CoulombScattering();
188-
ss->AddEmModel(0, new G4eDPWACoulombScatteringModel(false, false, 0.0));
188+
ss->AddEmModel(0, new G4eDPWACoulombScatteringModel(false, false));
189189

190190
// bremsstrahlung
191191
brem = new G4eBremsstrahlung();

test/Test0/src/ElasticScattering.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void ElasticScatteringList::ConstructProcess() {
105105

106106
// single scattering
107107
G4CoulombScattering *ss = new G4CoulombScattering();
108-
ss->AddEmModel(0, new G4eDPWACoulombScatteringModel(false, false, 0.0));
108+
ss->AddEmModel(0, new G4eDPWACoulombScatteringModel(false, false));
109109

110110
ph->RegisterProcess(ss, particle);
111111
}

test/Test0/src/MultipleScattering.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ void MultipleScatteringList::ConstructProcess() {
109109
G4CoulombScattering* ss = new G4CoulombScattering();
110110
G4EmMultiModel* mm = new G4EmMultiModel("CoulombSSModels");
111111
// Elastic Scattering
112-
G4eDPWACoulombScatteringModel* es = new G4eDPWACoulombScatteringModel(false, false, 0.0);
112+
G4eDPWACoulombScatteringModel* es = new G4eDPWACoulombScatteringModel(false, false);
113113
es->SetPolarAngleLimit(0.0); // No mixed model
114114
mm->AddModel(es);
115115
// Impact Ionisation

0 commit comments

Comments
 (0)