File indexing completed on 2025-01-18 09:11:36
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 namespace ActsExamples::Geant4 {
0019
0020 MaterialPhysicsList::MaterialPhysicsList(
0021 std::unique_ptr<const Acts::Logger> logger)
0022 : G4VUserPhysicsList(), m_logger(std::move(logger)) {
0023 defaultCutValue = 1.0 * CLHEP::cm;
0024 }
0025
0026 void MaterialPhysicsList::ConstructParticle() {
0027 ACTS_DEBUG("Construct Geantinos and Charged Geantinos.");
0028 G4Geantino::GeantinoDefinition();
0029 G4ChargedGeantino::ChargedGeantinoDefinition();
0030 }
0031
0032 void MaterialPhysicsList::ConstructProcess() {
0033 ACTS_DEBUG("Adding Transport as single supperted Process.");
0034 AddTransportation();
0035 }
0036
0037 void MaterialPhysicsList::SetCuts() {
0038 SetCutsWithDefault();
0039
0040 if (verboseLevel > 0) {
0041 DumpCutValuesTable();
0042 }
0043 }
0044
0045 }