Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LHCb
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
LHCb
Commits
34e7f0e6
Commit
34e7f0e6
authored
3 years ago
by
Christopher Rob Jones
Browse files
Options
Downloads
Patches
Plain Diff
RichDAQDefinitions - Minor changes to rawDump print format
parent
e61ce6ee
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3061
Update RICH decoding for realistic cable maps from the pit
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Rich/RichUtils/RichUtils/RichDAQDefinitions.h
+6
-4
6 additions, 4 deletions
Rich/RichUtils/RichUtils/RichDAQDefinitions.h
with
6 additions
and
4 deletions
Rich/RichUtils/RichUtils/RichDAQDefinitions.h
+
6
−
4
View file @
34e7f0e6
...
...
@@ -165,15 +165,17 @@ namespace Rich::DAQ {
/// Bits dump
inline
std
::
ostream
&
bitsDump
(
std
::
ostream
&
os
,
//
const
unsigned
int
nBits
=
8
*
sizeof
(
TYPE
),
//
const
std
::
string
&
spacer
=
" "
)
const
{
const
std
::
string
spacer
=
" "
)
const
{
for
(
int
iCol
=
nBits
-
1
;
iCol
>=
0
;
--
iCol
)
{
os
<<
spacer
<<
isBitOn
(
iCol
);
}
return
os
;
}
/// Raw dump of the word
inline
std
::
ostream
&
rawDump
(
std
::
ostream
&
os
)
const
{
inline
std
::
ostream
&
rawDump
(
std
::
ostream
&
os
,
//
const
unsigned
int
nBits
=
8
*
sizeof
(
TYPE
),
//
const
std
::
string
spacer
=
""
)
const
{
hexDump
(
os
);
os
<<
"
:"
;
return
bitsDump
(
os
);
os
<<
":"
;
return
bitsDump
(
os
,
nBits
,
spacer
);
}
protected
:
...
...
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