MdEdepSimulatorAG/PhysicsListCustomization.cc
Go to the documentation of this file.
2 #include <G4UImanager.hh>
3 
4 using namespace EdepSimulatorAG;
5 
7  tls::G4VPhysicsListCustomization()
8 {
9  defaultCutValue = 0.7*mm;
10 
11  fUImanager = G4UImanager::GetUIpointer();
12 }
13 
14 
16 {
17 }
18 
20  SetCutsWithDefault();
21 }
22 
24 }
25 
27  G4cerr << "EdepSimulatorAG::PhysicsListCustomization::ActivateCustomProcesses" << G4endl;
28 
29  //optical photons are not important for the simulation as it is; save performance
30  G4cerr << "de-activating StandardCerenkov" << G4endl;
31  fUImanager->ApplyCommand("/process/inactivate StandardCerenkov");
32 
33  G4cerr << "de-activating Rayleigh-Scattering" << G4endl;
34  fUImanager->ApplyCommand("/process/inactivate OpRayleigh");
35 
36  return true;
37 }
38 
40  G4cerr << "EdepSimulatorAG::PhysicsListCustomization::InactivateCustomProcesses" << G4endl;
41 
42  G4cerr << "activating StandardCerenkov" << G4endl;
43  fUImanager->ApplyCommand("/process/activate StandardCerenkov");
44 
45  G4cerr << "activating Rayleigh-Scattering" << G4endl;
46  fUImanager->ApplyCommand("/process/activate OpRayleigh");
47 
48  return true;
49 }
50 
constexpr double mm
Definition: AugerUnits.h:113

, generated on Tue Sep 26 2023.