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
ffc01690
Commit
ffc01690
authored
1 month ago
by
Markus Frank
Committed by
MarkusFrankATcernch
1 month ago
Browse files
Options
Downloads
Patches
Plain Diff
Have better validity checks of the Geant4VolumeManager when checking volume id
parent
138b9c9b
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/Geant4VolumeManager.cpp
+2
-2
2 additions, 2 deletions
DDG4/src/Geant4VolumeManager.cpp
with
2 additions
and
2 deletions
DDG4/src/Geant4VolumeManager.cpp
+
2
−
2
View file @
ffc01690
...
@@ -339,8 +339,8 @@ VolumeID Geant4VolumeManager::volumeID(const G4VTouchable* touchable) const {
...
@@ -339,8 +339,8 @@ VolumeID Geant4VolumeManager::volumeID(const G4VTouchable* touchable) const {
return
Insensitive
;
return
Insensitive
;
}
}
printout
(
INFO
,
"Geant4VolumeManager"
,
"+++ Bad Geant4 volume path:
\'
%s
\'
Path empty: %s [missing entry]"
,
printout
(
INFO
,
"Geant4VolumeManager"
,
"+++ Bad Geant4 volume path:
\'
%s
\'
Path empty: %s [missing entry
(%ld)
]"
,
Geant4TouchableHandler
::
placementPath
(
path
).
c_str
(),
yes_no
(
path
.
empty
()));
Geant4TouchableHandler
::
placementPath
(
path
).
c_str
(),
yes_no
(
path
.
empty
())
,
ptr
()
->
g4Paths
.
size
()
);
return
NonExisting
;
return
NonExisting
;
}
}
printout
(
INFO
,
"Geant4VolumeManager"
,
"+++ Bad Geant4 volume path:
\'
%s
\'
Path empty: %s"
,
printout
(
INFO
,
"Geant4VolumeManager"
,
"+++ Bad Geant4 volume path:
\'
%s
\'
Path empty: %s"
,
...
...
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