MdGroundPropagatorAG/PhysicsListCustomization.cc
Go to the documentation of this file.
2 #include <G4UImanager.hh>
3 
4 using namespace GroundPropagatorAG;
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 << "GroundPropagatorAG::PhysicsListCustomization::ActivateCustomProcesses" << G4endl;
28 
29  //avoid to produce big numbers of optical photons that are of little
30  //importance to the result
31  G4cerr << "de-activating StandardCerenkov" << G4endl;
32  fUImanager->ApplyCommand("/process/inactivate StandardCerenkov");
33 
34  //we do not care about optical photons..
35  G4cerr << "de-activating Rayleigh-Scattering" << G4endl;
36  fUImanager->ApplyCommand("/process/inactivate OpRayleigh");
37 
38  return true;
39 }
40 
42  G4cerr << "GroundPropagatorAG::PhysicsListCustomization::InactivateCustomProcesses" << G4endl;
43 
44  G4cerr << "activating StandardCerenkov" << G4endl;
45  fUImanager->ApplyCommand("/process/activate StandardCerenkov");
46 
47  G4cerr << "activating Rayleigh-Scattering" << G4endl;
48  fUImanager->ApplyCommand("/process/activate OpRayleigh");
49 
50  return true;
51 }
constexpr double mm
Definition: AugerUnits.h:113

, generated on Tue Sep 26 2023.