Skip to content

Commit

Permalink
Merge pull request #32009 from civanch/thermal_neutrons
Browse files Browse the repository at this point in the history
Switch to Geant4 thermal neutron physics
  • Loading branch information
cmsbuild authored Nov 3, 2020
2 parents 6e73445 + d407b69 commit cdc8adf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 64 deletions.
18 changes: 0 additions & 18 deletions SimG4Core/PhysicsLists/interface/CMSThermalNeutrons.h

This file was deleted.

4 changes: 2 additions & 2 deletions SimG4Core/PhysicsLists/plugins/FTFPCMS_BERT_HP_EML.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "FTFPCMS_BERT_HP_EML.h"
#include "SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsXS.h"
#include "SimG4Core/PhysicsLists/interface/CMSThermalNeutrons.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "G4ThermalNeutrons.hh"
#include "G4DecayPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
Expand Down Expand Up @@ -60,7 +60,7 @@ FTFPCMS_BERT_HP_EML::FTFPCMS_BERT_HP_EML(const edm::ParameterSet& p) : PhysicsLi
RegisterPhysics(ncut);
}
if (thermal) {
RegisterPhysics(new CMSThermalNeutrons(ver));
RegisterPhysics(new G4ThermalNeutrons(ver));
}
}
}
4 changes: 2 additions & 2 deletions SimG4Core/PhysicsLists/plugins/FTFPCMS_BERT_HP_EMM.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "FTFPCMS_BERT_HP_EMM.h"
#include "SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsLPM.h"
#include "SimG4Core/PhysicsLists/interface/CMSThermalNeutrons.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "G4ThermalNeutrons.hh"
#include "G4DecayPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
Expand Down Expand Up @@ -60,7 +60,7 @@ FTFPCMS_BERT_HP_EMM::FTFPCMS_BERT_HP_EMM(const edm::ParameterSet& p) : PhysicsLi
RegisterPhysics(ncut);
}
if (thermal) {
RegisterPhysics(new CMSThermalNeutrons(ver));
RegisterPhysics(new G4ThermalNeutrons(ver));
}
}
}
4 changes: 2 additions & 2 deletions SimG4Core/PhysicsLists/plugins/FTFPCMS_BERT_XS_EML.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "FTFPCMS_BERT_XS_EML.h"
#include "SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsXS.h"
#include "SimG4Core/PhysicsLists/interface/CMSThermalNeutrons.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "G4ThermalNeutrons.hh"
#include "G4DecayPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonPhysics.hh"
Expand Down Expand Up @@ -60,7 +60,7 @@ FTFPCMS_BERT_XS_EML::FTFPCMS_BERT_XS_EML(const edm::ParameterSet& p) : PhysicsLi
RegisterPhysics(ncut);
}
if (thermal) {
RegisterPhysics(new CMSThermalNeutrons(ver));
RegisterPhysics(new G4ThermalNeutrons(ver));
}
}
}
4 changes: 2 additions & 2 deletions SimG4Core/PhysicsLists/plugins/FTFPCMS_INCLXX_HP_EMM.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "FTFPCMS_INCLXX_HP_EMM.h"
#include "SimG4Core/PhysicsLists/interface/CMSEmStandardPhysicsLPM.h"
#include "SimG4Core/PhysicsLists/interface/CMSThermalNeutrons.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"

#include "G4ThermalNeutrons.hh"
#include "G4DecayPhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4IonINCLXXPhysics.hh"
Expand Down Expand Up @@ -60,7 +60,7 @@ FTFPCMS_INCLXX_HP_EMM::FTFPCMS_INCLXX_HP_EMM(const edm::ParameterSet& p) : Physi
RegisterPhysics(ncut);
}
if (thermal) {
RegisterPhysics(new CMSThermalNeutrons(ver));
RegisterPhysics(new G4ThermalNeutrons(ver));
}
}
}
38 changes: 0 additions & 38 deletions SimG4Core/PhysicsLists/src/CMSThermalNeutrons.cc

This file was deleted.

0 comments on commit cdc8adf

Please sign in to comment.