Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
06e4fb50
Commit
06e4fb50
authored
10 years ago
by
Frank Gaede
Browse files
Options
Downloads
Patches
Plain Diff
- made compatible with older geant4 versions (9.5)
parent
7a7cc4d3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/src/Geant4UIManager.cpp
+6
-0
6 additions, 0 deletions
DDG4/src/Geant4UIManager.cpp
with
6 additions
and
0 deletions
DDG4/src/Geant4UIManager.cpp
+
6
−
0
View file @
06e4fb50
...
...
@@ -52,7 +52,13 @@ G4UIExecutive* Geant4UIManager::startUI() {
const
char
*
args
[]
=
{
"DDG4"
,
""
,
""
};
printout
(
INFO
,
"Geant4UIManager"
,
"+++ Starting G4UIExecutive '%s' of type %s...."
,
args
[
0
],
m_sessionType
.
c_str
());
#if (G4VERSION_NUMBER >= 960)
ui
=
new
G4UIExecutive
(
1
,(
char
**
)
args
,
m_sessionType
.
c_str
());
#else
ui
=
new
G4UIExecutive
(
1
,(
char
**
)
args
);
#endif
return
ui
;
}
...
...
This diff is collapsed.
Click to expand it.
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