Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jan de Cuveland
cbmroot
Commits
cc959f75
Commit
cc959f75
authored
Sep 18, 2020
by
Volker Friese
Browse files
Make arguments to Lambda function for the sorting of clusters constant. Refs #1808 @30min.
parent
292f5bea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
reco/detectors/sts/CbmStsRecoModule.cxx
reco/detectors/sts/CbmStsRecoModule.cxx
+2
-2
No files found.
reco/detectors/sts/CbmStsRecoModule.cxx
View file @
cc959f75
...
...
@@ -115,12 +115,12 @@ void CbmStsRecoModule::Reconstruct() {
// --- Sort clusters by time
std
::
sort
(
fClustersF
.
begin
(),
fClustersF
.
end
(),
[](
CbmStsCluster
&
cluster1
,
CbmStsCluster
&
cluster2
)
{
[](
const
CbmStsCluster
&
cluster1
,
const
CbmStsCluster
&
cluster2
)
{
return
(
cluster1
.
GetTime
()
<
cluster2
.
GetTime
());
});
std
::
sort
(
fClustersB
.
begin
(),
fClustersB
.
end
(),
[](
CbmStsCluster
&
cluster1
,
CbmStsCluster
&
cluster2
)
{
[](
const
CbmStsCluster
&
cluster1
,
const
CbmStsCluster
&
cluster2
)
{
return
(
cluster1
.
GetTime
()
<
cluster2
.
GetTime
());
});
...
...
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