Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cbmroot
Manage
Activity
Members
Labels
Plan
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Computing
cbmroot
Commits
2381b9eb
Commit
2381b9eb
authored
1 year ago
by
Felix Weiglhofer
Committed by
Volker Friese
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
algo::Unpack: Replace assert with error counter for invalid equipment ids.
parent
cc158d61
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1201
cbmreco: Integrate algo::Unpack
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algo/unpack/Unpack.cxx
+4
-1
4 additions, 1 deletion
algo/unpack/Unpack.cxx
algo/unpack/Unpack.h
+1
-0
1 addition, 0 deletions
algo/unpack/Unpack.h
with
5 additions
and
1 deletion
algo/unpack/Unpack.cxx
+
4
−
1
View file @
2381b9eb
...
...
@@ -96,7 +96,10 @@ namespace cbm::algo
// Get Unpacker
const
auto
algoIt
=
algoMap
.
find
(
eqId
);
assert
(
algoIt
!=
algoMap
.
end
());
if
(
algoIt
==
algoMap
.
end
())
{
monitor
.
fNumErrInvalidEqId
++
;
return
;
}
UnpackAlgo
&
algo
=
algoIt
->
second
;
assert
(
timeslice
->
descriptor
(
comp
,
0
).
sys_ver
==
sys_ver
);
...
...
This diff is collapsed.
Click to expand it.
algo/unpack/Unpack.h
+
1
−
0
View file @
2381b9eb
...
...
@@ -48,6 +48,7 @@ namespace cbm::algo
size_t
fNumBytes
=
0
;
size_t
fNumDigis
=
0
;
size_t
fNumCompUsed
=
0
;
size_t
fNumErrInvalidEqId
=
0
;
std
::
string
print
()
{
std
::
stringstream
ss
;
...
...
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