Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
Peter Sherwood
athena
Commits
d973debb
Commit
d973debb
authored
7 years ago
by
Scott Snyder
Committed by
scott snyder
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
TrigT1CaloTools: Fix clang warnings.
Fix operator precedence issue. Should not actually change results.
parent
9a24e08c
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Trigger/TrigT1/TrigT1CaloTools/src/L1TriggerTowerTool.cxx
+2
-2
2 additions, 2 deletions
Trigger/TrigT1/TrigT1CaloTools/src/L1TriggerTowerTool.cxx
with
2 additions
and
2 deletions
Trigger/TrigT1/TrigT1CaloTools/src/L1TriggerTowerTool.cxx
+
2
−
2
View file @
d973debb
...
@@ -451,7 +451,7 @@ void L1TriggerTowerTool::bcid(const std::vector<int> &filter, const std::vector<
...
@@ -451,7 +451,7 @@ void L1TriggerTowerTool::bcid(const std::vector<int> &filter, const std::vector<
/// evaluate BCID decisions
/// evaluate BCID decisions
std
::
vector
<
int
>
decisionRange
;
std
::
vector
<
int
>
decisionRange
;
if
(
!
decisionSource
&
0x1
)
etRange
(
digits
,
energyLow
,
energyHigh
,
decisionRange
);
if
(
!
(
decisionSource
&
0x1
)
)
etRange
(
digits
,
energyLow
,
energyHigh
,
decisionRange
);
else
etRange
(
lutInput
,
energyLow
,
energyHigh
,
decisionRange
);
else
etRange
(
lutInput
,
energyLow
,
energyHigh
,
decisionRange
);
bcidDecision
(
result
,
decisionRange
,
decisionConditions
,
decision
);
bcidDecision
(
result
,
decisionRange
,
decisionConditions
,
decision
);
if
(
m_debug
)
{
if
(
m_debug
)
{
...
@@ -682,7 +682,7 @@ void L1TriggerTowerTool::bcidDecisionRange(const std::vector<int>& lutInput, con
...
@@ -682,7 +682,7 @@ void L1TriggerTowerTool::bcidDecisionRange(const std::vector<int>& lutInput, con
}
else
ATH_MSG_WARNING
(
"::bcidDecisionRange: No Conditions Container retrieved"
);
}
else
ATH_MSG_WARNING
(
"::bcidDecisionRange: No Conditions Container retrieved"
);
if
(
!
decisionSource
&
0x1
)
etRange
(
digits
,
channelId
,
output
);
if
(
!
(
decisionSource
&
0x1
)
)
etRange
(
digits
,
channelId
,
output
);
else
etRange
(
lutInput
,
channelId
,
output
);
else
etRange
(
lutInput
,
channelId
,
output
);
if
(
m_debug
)
{
if
(
m_debug
)
{
ATH_MSG_VERBOSE
(
"::bcidDecisionRange: decisionSource: "
<<
decisionSource
);
ATH_MSG_VERBOSE
(
"::bcidDecisionRange: decisionSource: "
<<
decisionSource
);
...
...
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