Skip to content
Snippets Groups Projects
Commit d38b06f3 authored by Administrator's avatar Administrator
Browse files

Fix Geant4 configuration

With the additional parameter specialCuts the energy based Geant3 cuts are
automatically converted to the range based Geant4 cuts by VMC. Without the
parameter the default Geant4 cuts are used. The change reduced the number of
secondaries by a factor of 5 or more for a normal CbmRoot UrQMD simulation and
speed up the runtime by factors. The runtime compared to Geant3 went from being
slower by a factor of 4 to being slower by 30 %.
The change of the maximum number of steps from 1e7 to the correct number of
10000 has no effect. There are no tracks exceeding 10000 steps such that there
is no additional speedup.
parent 4076ef94
No related branches found
No related tags found
1 merge request!2034Fix Geant4 configuration
/* Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
/* Copyright (C) 2020-2025 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
SPDX-License-Identifier: GPL-3.0-only
Authors: Florian Uhlig [committer] */
......@@ -95,7 +95,7 @@ public:
Int_t GetMaximumNumberOfSteps() { return fMaxNumSteps; }
private:
std::array<std::string, 3> fG4RunConfig {{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter"}};
std::array<std::string, 3> fG4RunConfig {{"geomRoot", "QGSP_BERT_EMV+optical", "stepLimiter+specialCuts"}};
/*
See https://redmine.cbm.gsi.de/issues/2913
......@@ -110,7 +110,7 @@ private:
"/process/optical/processActivation OpAbsorption true",
"/process/optical/processActivation OpBoundary true"};
Int_t fMaxNumSteps {10000000};
Int_t fMaxNumSteps {10000};
Int_t fRandomSeed {0};
......
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