Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Project Juggler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Monitor
Incidents
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
EIC
Project Juggler
Commits
358b5dc9
Commit
358b5dc9
authored
3 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
don't call unmatched charged clusters 'photons'
parent
80c7bd0d
No related branches found
No related tags found
1 merge request
!359
don't call unmatched charged clusters 'photons'
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
JugFast/src/components/MatchClusters.cpp
+3
-3
3 additions, 3 deletions
JugFast/src/components/MatchClusters.cpp
with
3 additions
and
3 deletions
JugFast/src/components/MatchClusters.cpp
+
3
−
3
View file @
358b5dc9
...
@@ -119,14 +119,14 @@ public:
...
@@ -119,14 +119,14 @@ public:
<<
endmsg
;
<<
endmsg
;
}
}
// get mass/PID from mcparticles,
photon
in case the matched particle is charged.
// get mass/PID from mcparticles,
0 (unidentified)
in case the matched particle is charged.
const
auto
&
mc
=
mcparticles
[
mcID
.
value
];
const
auto
&
mc
=
mcparticles
[
mcID
.
value
];
const
double
mass
=
(
!
mc
.
charge
())
?
mc
.
mass
()
:
0
;
const
double
mass
=
(
!
mc
.
charge
())
?
mc
.
mass
()
:
0
;
const
int32_t
pid
=
(
!
mc
.
charge
())
?
mc
.
pdgID
()
:
22
;
const
int32_t
pid
=
(
!
mc
.
charge
())
?
mc
.
pdgID
()
:
0
;
if
(
msgLevel
(
MSG
::
DEBUG
))
{
if
(
msgLevel
(
MSG
::
DEBUG
))
{
if
(
mc
.
charge
())
{
if
(
mc
.
charge
())
{
debug
()
<<
" --> associated mcparticle is not a neutral (PID: "
<<
mc
.
pdgID
()
debug
()
<<
" --> associated mcparticle is not a neutral (PID: "
<<
mc
.
pdgID
()
<<
"), setting the reconstructed particle ID to
photon
"
<<
endmsg
;
<<
"), setting the reconstructed particle ID to
0 (unidentified)
"
<<
endmsg
;
}
}
debug
()
<<
" --> found matching associated mcparticle with PID: "
<<
pid
<<
", energy: "
<<
mc
.
energy
()
debug
()
<<
" --> found matching associated mcparticle with PID: "
<<
pid
<<
", energy: "
<<
mc
.
energy
()
<<
endmsg
;
<<
endmsg
;
...
...
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