Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Computing
cbmroot
Commits
ee2219ba
Commit
ee2219ba
authored
2 months ago
by
Administrator
Browse files
Options
Downloads
Patches
Plain Diff
Apply clang-format
parent
d38b06f3
No related branches found
No related tags found
1 merge request
!2034
Fix Geant4 configuration
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sim/transport/steer/CbmGeant4Settings.h
+12
-12
12 additions, 12 deletions
sim/transport/steer/CbmGeant4Settings.h
with
12 additions
and
12 deletions
sim/transport/steer/CbmGeant4Settings.h
+
12
−
12
View file @
ee2219ba
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
class
TVirtualMC
;
class
TVirtualMC
;
class
CbmGeant4Settings
:
public
CbmVMCSettings
{
class
CbmGeant4Settings
:
public
CbmVMCSettings
{
public:
public:
CbmGeant4Settings
()
=
default
;
CbmGeant4Settings
()
=
default
;
~
CbmGeant4Settings
()
=
default
;
~
CbmGeant4Settings
()
=
default
;
CbmGeant4Settings
(
const
CbmGeant4Settings
&
)
=
delete
;
CbmGeant4Settings
(
const
CbmGeant4Settings
&
)
=
delete
;
...
@@ -94,25 +94,25 @@ public:
...
@@ -94,25 +94,25 @@ public:
**/
**/
Int_t
GetMaximumNumberOfSteps
()
{
return
fMaxNumSteps
;
}
Int_t
GetMaximumNumberOfSteps
()
{
return
fMaxNumSteps
;
}
private
:
private
:
std
::
array
<
std
::
string
,
3
>
fG4RunConfig
{{
"geomRoot"
,
"QGSP_BERT_EMV+optical"
,
"stepLimiter+specialCuts"
}};
std
::
array
<
std
::
string
,
3
>
fG4RunConfig
{{
"geomRoot"
,
"QGSP_BERT_EMV+optical"
,
"stepLimiter+specialCuts"
}};
/*
/*
See https://redmine.cbm.gsi.de/issues/2913
See https://redmine.cbm.gsi.de/issues/2913
As of Geant4-10.5 these commands were changed.
As of Geant4-10.5 these commands were changed.
Tested for Geant4-11
Tested for Geant4-11
*/
*/
std
::
vector
<
std
::
string
>
fG4Commands
{
"/process/optical/verbose 0"
,
std
::
vector
<
std
::
string
>
fG4Commands
{
"/process/optical/verbose 0"
,
"/process/optical/cerenkov/setMaxPhotons 20"
,
"/process/optical/cerenkov/setMaxPhotons 20"
,
"/process/optical/cerenkov/setMaxBetaChange 0.1"
,
"/process/optical/cerenkov/setMaxBetaChange 0.1"
,
"/process/optical/cerenkov/setTrackSecondariesFirst true"
,
"/process/optical/cerenkov/setTrackSecondariesFirst true"
,
"/process/optical/processActivation Cerenkov true"
,
"/process/optical/processActivation Cerenkov true"
,
"/process/optical/processActivation OpAbsorption true"
,
"/process/optical/processActivation OpAbsorption true"
,
"/process/optical/processActivation OpBoundary true"
};
"/process/optical/processActivation OpBoundary true"
};
Int_t
fMaxNumSteps
{
10000
};
Int_t
fMaxNumSteps
{
10000
};
Int_t
fRandomSeed
{
0
};
Int_t
fRandomSeed
{
0
};
ClassDef
(
CbmGeant4Settings
,
4
);
ClassDef
(
CbmGeant4Settings
,
4
);
};
};
...
...
This diff is collapsed.
Click to expand it.
Administrator
@root
mentioned in commit
240a0b96
·
1 month ago
mentioned in commit
240a0b96
mentioned in commit 240a0b9620450e6b2e69f56aa2069257273b13cf
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment