Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MooreOnline
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
MooreOnline
Commits
1687d811
Commit
1687d811
authored
9 months ago
by
Roel Aaij
Browse files
Options
Downloads
Patches
Plain Diff
Fix build warnings
parent
6597bb69
No related branches found
No related tags found
No related merge requests found
Pipeline
#7468537
passed
9 months ago
Stage: test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AllenOnline/application/change_mep.cpp
+0
-33
0 additions, 33 deletions
AllenOnline/application/change_mep.cpp
with
0 additions
and
33 deletions
AllenOnline/application/change_mep.cpp
+
0
−
33
View file @
1687d811
...
...
@@ -17,7 +17,6 @@
#include
<fmt/format.h>
#include
<boost/algorithm/string.hpp>
#include
<boost/lexical_cast.hpp>
#include
<boost/program_options.hpp>
...
...
@@ -44,38 +43,6 @@
using
namespace
std
;
namespace
po
=
boost
::
program_options
;
namespace
ba
=
boost
::
algorithm
;
struct
CaloRawBank
{
uint32_t
source_id
=
0
;
uint32_t
const
*
data
=
nullptr
;
uint32_t
const
*
end
=
nullptr
;
// For MEP format
CaloRawBank
(
const
uint32_t
sid
,
const
char
*
fragment
,
const
uint16_t
s
)
:
source_id
{
sid
}
,
data
{
reinterpret_cast
<
uint32_t
const
*>
(
fragment
)}
,
end
{
reinterpret_cast
<
uint32_t
const
*>
(
fragment
+
s
)}
{
assert
(
s
%
sizeof
(
uint32_t
)
==
0
);
}
};
struct
ODINRawBank
{
uint32_t
const
*
data
=
nullptr
;
uint16_t
size
=
0
;
/// Constructor from MEP layout
ODINRawBank
(
const
uint32_t
,
const
char
*
fragment
,
uint16_t
s
)
{
data
=
reinterpret_cast
<
uint32_t
const
*>
(
fragment
);
size
=
s
;
}
};
namespace
{
const
std
::
array
<
std
::
tuple
<
char
,
std
::
uint16_t
,
short
>
,
5
>
event_type_chars
=
{
{{
'P'
,
0x02
,
0
},
{
'N'
,
0x04
,
1
},
{
'L'
,
0x08
,
2
},
{
'1'
,
0x10
,
3
},
{
'2'
,
0x20
,
4
}}};
}
int
main
(
int
argc
,
char
*
argv
[]
)
{
...
...
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