Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Analyze
Value stream analytics
Contributor 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
eic_tools
DD4hep
Commits
94b059cc
Commit
94b059cc
authored
5 years ago
by
Andre Sailer
Committed by
Marko Petric
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Geant4SensDetFilters: fix behaviour of ParticleReject and ParticleSelect Filters
parent
5e21c7b7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDG4/plugins/Geant4SensDetFilters.cpp
+2
-2
2 additions, 2 deletions
DDG4/plugins/Geant4SensDetFilters.cpp
with
2 additions
and
2 deletions
DDG4/plugins/Geant4SensDetFilters.cpp
+
2
−
2
View file @
94b059cc
...
...
@@ -205,7 +205,7 @@ ParticleRejectFilter::~ParticleRejectFilter() {
/// Filter action. Return true if hits should be processed
bool
ParticleRejectFilter
::
operator
()(
const
G4Step
*
step
)
const
{
return
isSameType
(
step
->
GetTrack
());
return
!
isSameType
(
step
->
GetTrack
());
}
/// Constructor.
...
...
@@ -221,7 +221,7 @@ ParticleSelectFilter::~ParticleSelectFilter() {
/// Filter action. Return true if hits should be processed
bool
ParticleSelectFilter
::
operator
()(
const
G4Step
*
step
)
const
{
return
!
isSameType
(
step
->
GetTrack
());
return
isSameType
(
step
->
GetTrack
());
}
/// Constructor.
...
...
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