Skip to content
Snippets Groups Projects
Commit cb453d4b authored by Eoin Clerkin's avatar Eoin Clerkin Committed by Florian Uhlig
Browse files

Update G4 Commands for Cerenkov photons

As reported in #2913, G4 Commands for Cerenkov photons were defunct
with current FS G4 version.
parent 7a5f7602
No related branches found
No related tags found
1 merge request!1256Update G4 Commands for Cerenkov photons
Pipeline #23360 passed
......@@ -97,10 +97,15 @@ public:
private:
std::array<std::string, 3> fG4RunConfig {{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter"}};
/*
See https://redmine.cbm.gsi.de/issues/2913
As of Geant4-10.5 these commands were changed.
Tested for Geant4-11
*/
std::vector<std::string> fG4Commands {"/process/optical/verbose 0",
"/process/optical/defaults/cerenkov/setMaxPhotons 20",
"/process/optical/defaults/cerenkov/setMaxBetaChange 0.1",
"/process/optical/setTrackSecondariesFirst Cerenkov true",
"/process/optical/cerenkov/setMaxPhotons 20",
"/process/optical/cerenkov/setMaxBetaChange 0.1",
"/process/optical/cerenkov/setTrackSecondariesFirst true",
"/process/optical/processActivation Cerenkov true",
"/process/optical/processActivation OpAbsorption true",
"/process/optical/processActivation OpBoundary true"};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment