Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analysis
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
Analysis
Commits
8edb15f7
Commit
8edb15f7
authored
1 year ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Fix for implicit == operands swap in C++20
parent
edf3cc1a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1025
Fix for implicit == operands swap in C++20
Pipeline
#6495302
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Phys/DecayTreeTupleTracking/src/TupleToolMCAssociatedClusters.cpp
+9
-9
9 additions, 9 deletions
...ayTreeTupleTracking/src/TupleToolMCAssociatedClusters.cpp
with
9 additions
and
9 deletions
Phys/DecayTreeTupleTracking/src/TupleToolMCAssociatedClusters.cpp
+
9
−
9
View file @
8edb15f7
...
...
@@ -154,10 +154,10 @@ StatusCode TupleToolMCAssociatedClusters::fill( const LHCb::Particle*, const LHC
/**
* Comparing here the number of LHCb IDs v.s. the number of MCParticle clusters.
*/
std
::
vector
<
int
>
usedVeloIDs
;
std
::
vector
<
int
>
usedOTIDs
;
std
::
vector
<
int
>
usedITIDs
;
std
::
vector
<
int
>
usedTTIDs
;
std
::
vector
<
unsigned
int
>
usedVeloIDs
;
std
::
vector
<
unsigned
int
>
usedOTIDs
;
std
::
vector
<
unsigned
int
>
usedITIDs
;
std
::
vector
<
unsigned
int
>
usedTTIDs
;
for
(
const
auto
&
lhcbID
:
lhcbIDs
)
{
if
(
lhcbID
.
isOT
()
)
{
...
...
@@ -169,7 +169,7 @@ StatusCode TupleToolMCAssociatedClusters::fill( const LHCb::Particle*, const LHC
if
(
it
!=
otChannelIdList
.
end
()
)
{
if
(
m_checkUniqueness
&&
std
::
find
(
usedOTIDs
.
begin
(),
usedOTIDs
.
end
(),
measuredOTChannelID
)
==
usedOTIDs
.
end
()
)
{
std
::
find
(
usedOTIDs
.
begin
(),
usedOTIDs
.
end
(),
measuredOTChannelID
.
channelID
()
)
==
usedOTIDs
.
end
()
)
{
usedOTIDs
.
push_back
(
measuredOTChannelID
);
nFoundUniqueOT
++
;
}
...
...
@@ -187,7 +187,7 @@ StatusCode TupleToolMCAssociatedClusters::fill( const LHCb::Particle*, const LHC
if
(
it
!=
itClusterList
.
end
()
)
{
if
(
m_checkUniqueness
&&
std
::
find
(
usedITIDs
.
begin
(),
usedITIDs
.
end
(),
measuredITChannelID
)
==
usedITIDs
.
end
()
)
{
std
::
find
(
usedITIDs
.
begin
(),
usedITIDs
.
end
(),
measuredITChannelID
.
channelID
()
)
==
usedITIDs
.
end
()
)
{
usedITIDs
.
push_back
(
measuredITChannelID
);
nFoundUniqueIT
++
;
}
...
...
@@ -205,7 +205,7 @@ StatusCode TupleToolMCAssociatedClusters::fill( const LHCb::Particle*, const LHC
if
(
it
!=
itClusterList
.
end
()
)
{
if
(
m_checkUniqueness
&&
std
::
find
(
usedTTIDs
.
begin
(),
usedTTIDs
.
end
(),
measuredTTChannelID
)
==
usedTTIDs
.
end
()
)
{
std
::
find
(
usedTTIDs
.
begin
(),
usedTTIDs
.
end
(),
measuredTTChannelID
.
channelID
()
)
==
usedTTIDs
.
end
()
)
{
usedTTIDs
.
push_back
(
measuredTTChannelID
);
nFoundUniqueTT
++
;
}
...
...
@@ -222,8 +222,8 @@ StatusCode TupleToolMCAssociatedClusters::fill( const LHCb::Particle*, const LHC
}
);
if
(
it
!=
veloClusterList
.
end
()
)
{
if
(
m_checkUniqueness
&&
std
::
find
(
usedVeloIDs
.
begin
(),
usedVeloIDs
.
end
(),
measuredVeloChannelID
)
==
usedVeloIDs
.
end
()
)
{
if
(
m_checkUniqueness
&&
std
::
find
(
usedVeloIDs
.
begin
(),
usedVeloIDs
.
end
(),
measuredVeloChannelID
.
channelID
()
)
==
usedVeloIDs
.
end
()
)
{
usedVeloIDs
.
push_back
(
measuredVeloChannelID
);
nFoundUniqueVelo
++
;
}
...
...
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