Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rec
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
Rec
Commits
e80d9b64
Commit
e80d9b64
authored
1 year ago
by
Marco Clemencic
Browse files
Options
Downloads
Patches
Plain Diff
Fix deprecated enum arithmetic
parent
780f633b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!3788
Draft: Update SciFi cluster monitoring
,
!3626
Fixes for gcc 13, clang 16 and C++20
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
FT/FTMonitors/src/TAEHandler.h
+1
-1
1 addition, 1 deletion
FT/FTMonitors/src/TAEHandler.h
Tr/TrackExtrapolators/src/BasisFunctions.h
+2
-2
2 additions, 2 deletions
Tr/TrackExtrapolators/src/BasisFunctions.h
with
3 additions
and
3 deletions
FT/FTMonitors/src/TAEHandler.h
+
1
−
1
View file @
e80d9b64
...
...
@@ -43,7 +43,7 @@ public:
,
m_TAEindex
(
owner
,
"TAEIndex"
,
fmt
::
format
(
"TAE events{};TAE index;Events"
,
extraInfo
),
Axis
{
2
*
maxTAEHalfWindow
+
1
,
-
0.5
f
,
2
*
maxTAEHalfWindow
+
0.5
f
}
)
,
m_TAEErrors
{
owner
,
"TAEErrors"
,
fmt
::
format
(
"TAE errors{};TAE errors;Events"
,
extraInfo
),
Axis
{
NUM_ERRORS
,
-
0.5
f
,
NUM_ERRORS
-
0.5
f
}}
Axis
{
NUM_ERRORS
,
-
0.5
f
,
static_cast
<
float
>
(
NUM_ERRORS
)
-
0.5
f
}}
,
m_tae_bunch_id_not_set
{
owner
,
"TAE bunch IDs are not set"
}
{}
std
::
optional
<
int
>
fromOdin
(
const
LHCb
::
ODIN
&
odin
,
LHCb
::
span
<
unsigned
int
>
bunchIds
)
const
{
...
...
This diff is collapsed.
Click to expand it.
Tr/TrackExtrapolators/src/BasisFunctions.h
+
2
−
2
View file @
e80d9b64
...
...
@@ -26,8 +26,8 @@ namespace BasisFunctions {
template
<
typename
BasicFunctionA
,
typename
BasicFunctionB
>
struct
BasicFunctionProduct
{
enum
{
NumArgs
=
BasicFunctionA
::
NumArgs
+
BasicFunctionB
::
NumArgs
,
NumValues
=
BasicFunctionA
::
NumValues
*
BasicFunctionB
::
NumValues
NumArgs
=
static_cast
<
int
>
(
BasicFunctionA
::
NumArgs
)
+
static_cast
<
int
>
(
BasicFunctionB
::
NumArgs
)
,
NumValues
=
static_cast
<
int
>
(
BasicFunctionA
::
NumValues
)
*
static_cast
<
int
>
(
BasicFunctionB
::
NumValues
)
};
typedef
typename
BasicFunctionA
::
ArgType
ArgType
;
typedef
typename
BasicFunctionA
::
ValueType
ValueType
;
...
...
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