Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb
LHCb
Merge requests
!1331
Rich Pixel Cluster Optimisations
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Rich Pixel Cluster Optimisations
jonrob/LHCb:RichPixelCluster-OptimiseSizeOne
into
master
Overview
1
Commits
19
Pipelines
0
Changes
10
Merged
Christopher Rob Jones
requested to merge
jonrob/LHCb:RichPixelCluster-OptimiseSizeOne
into
master
6 years ago
Overview
1
Commits
19
Pipelines
0
Changes
10
Expand
Various improvements to the RichPixelCluster class.
Specific optimisation for size 1 clusters, which are the most common use case. heap allocations are now completely avoided in this case.
Various speed improvements to the builder classes, again mostly based around avoiding heap allocations as far as possible.
Edited
6 years ago
by
Christopher Rob Jones
0
0
Merge request reports
Compare
master
version 3
c43b22c1
6 years ago
version 2
c43b22c1
6 years ago
version 1
c43b22c1
6 years ago
master (base)
and
latest version
latest version
22f3221a
19 commits,
6 years ago
version 3
c43b22c1
15 commits,
6 years ago
version 2
c43b22c1
26 commits,
6 years ago
version 1
c43b22c1
33 commits,
6 years ago
10 files
+
278
−
231
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
Det/RichDet/RichDet/DeRichPMTPanel.h
+
4
−
1
Options
@@ -180,7 +180,10 @@ private:
// if need be correct the pdCol (for data when it was incorrectly filled)
// this is temporary, can be removed when no longer needed...
if
(
pdCol
>=
m_DePMTs
.
size
()
)
{
pdCol
=
PmtModuleNumInPanelFromModuleNumAlone
(
pdCol
);
}
if
(
UNLIKELY
(
pdCol
>=
m_DePMTs
.
size
()
)
)
{
pdCol
=
PmtModuleNumInPanelFromModuleNumAlone
(
pdCol
);
}
// return the pointer from the array
return
m_DePMTs
[
pdCol
][
pdInCol
];
Loading