File indexing completed on 2025-08-05 08:09:45
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsExamples/Geant4/MaterialPhysicsList.hpp"
0010
0011 #include <utility>
0012
0013 #include <G4ParticleTypes.hh>
0014 #include <G4ProcessManager.hh>
0015 #include <G4ProcessVector.hh>
0016 #include <G4UnitsTable.hh>
0017
0018 ActsExamples::MaterialPhysicsList::MaterialPhysicsList(
0019 std::unique_ptr<const Acts::Logger> logger)
0020 : G4VUserPhysicsList(), m_logger(std::move(logger)) {
0021 defaultCutValue = 1.0 * CLHEP::cm;
0022 }
0023
0024 void ActsExamples::MaterialPhysicsList::ConstructParticle() {
0025 ACTS_DEBUG("Construct Geantinos and Charged Geantinos.");
0026 G4Geantino::GeantinoDefinition();
0027 G4ChargedGeantino::ChargedGeantinoDefinition();
0028 }
0029
0030 void ActsExamples::MaterialPhysicsList::ConstructProcess() {
0031 ACTS_DEBUG("Adding Transport as single supperted Process.");
0032 AddTransportation();
0033 }
0034
0035 void ActsExamples::MaterialPhysicsList::SetCuts() {
0036 SetCutsWithDefault();
0037
0038 if (verboseLevel > 0) {
0039 DumpCutValuesTable();
0040 }
0041 }