8#include "OMSimOpticalModule.hh"
33 void setProductionRadius(G4double pProductionRadius);
34 G4String getDecayTerminationNuclide();
35 G4ThreeVector sampleNextDecayPosition(G4ThreeVector p_currentPosition);
39 std::map<G4String, G4String> m_isotopeCommands = {
40 {
"U238",
"/gps/ion 92 238 0"},
41 {
"U235",
"/gps/ion 92 235 0"},
42 {
"Ra226",
"/gps/ion 88 226 0"},
43 {
"Ra224",
"/gps/ion 88 224 0"},
44 {
"Th232",
"/gps/ion 90 232 0"},
45 {
"K40",
"/gps/ion 19 40 0"}};
49 std::map<G4String, G4String> m_terminationIsotopes = {
59 std::map<G4String, G4int>
calculateNumberOfDecays(G4MaterialPropertiesTable *pMPT, G4double pTimeWindow, G4double pMass);
61 G4double m_productionRadius;
62 G4String m_nuclideStopName;
A class for simulating isotope decays inside the pressure vessel and PMT glass.
Definition OMSimDecaysGPS.hh:16
void simulateDecaysInPMTs(G4double pTimeWindow)
Simulates the decays in the PMTs of the optical module.
Definition OMSimDecaysGPS.cc:133
void setOpticalModule(OMSimOpticalModule *p_opticalModule)
Set the optical module to be used.
Definition OMSimDecaysGPS.hh:32
std::map< G4String, G4int > calculateNumberOfDecays(G4MaterialPropertiesTable *pMPT, G4double pTimeWindow, G4double pMass)
Calculates the number of decays for isotopes.
Definition OMSimDecaysGPS.cc:85
void generalGPS()
Configures common GPS commands for the radioactive decays.
Definition OMSimDecaysGPS.cc:21
void configureIsotopeGPS(G4String Isotope, G4String location)
Configures GPS for the production and decay of an isotope within a specified location.
Definition OMSimDecaysGPS.cc:64
void simulateDecaysInPressureVessel(G4double pTimeWindow)
Simulates the decays in the pressure vessel of the optical module.
Definition OMSimDecaysGPS.cc:103
Base class for OMs works as interface.
Definition OMSimOpticalModule.hh:23