Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Project Juggler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
EIC
Project Juggler
Commits
b779588d
Commit
b779588d
authored
Dec 21, 2020
by
Whitney Armstrong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated SimpleClustering algo: use minimum energy when seeding clusters.
modified: SimpleClustering.cpp
parent
1b995670
Pipeline
#5367
canceled with stages
in 8 minutes and 59 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
JugReco/src/components/SimpleClustering.cpp
JugReco/src/components/SimpleClustering.cpp
+4
-1
No files found.
JugReco/src/components/SimpleClustering.cpp
View file @
b779588d
...
...
@@ -71,6 +71,7 @@ namespace Jug::Reco {
std
::
vector
<
eic
::
CalorimeterHit
>&
remaining_hits
=
hits_B
;
double
max_dist
=
m_maxDistance
.
value
()
/
mm
;
double
min_energy
=
m_minModuleEdep
.
value
()
/
GeV
;
eic
::
CalorimeterHit
ref_hit
;
ref_hit
.
energy
(
0.0
);
...
...
@@ -82,7 +83,7 @@ namespace Jug::Reco {
}
debug
()
<<
" max_dist = "
<<
max_dist
<<
endmsg
;
bool
continue_clustering
=
true
;
bool
continue_clustering
=
(
ref_hit
.
energy
()
>
min_energy
)
;
while
(
continue_clustering
)
{
...
...
@@ -136,6 +137,8 @@ namespace Jug::Reco {
std
::
swap
(
remaining_hits
,
the_hits
);
remaining_hits
.
clear
();
continue_clustering
=
(
ref_hit
.
energy
()
>
min_energy
);
}
else
{
continue_clustering
=
false
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment