Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lst
lst-data-process-128
Commits
f5af82c1
Commit
f5af82c1
authored
May 19, 2016
by
legoc
Browse files
changed version and event output
parent
b12e40bd
Pipeline
#344
skipped
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
f5af82c1
...
...
@@ -2,8 +2,8 @@
# This configure.ac script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
AC_INIT([lstdataprocess128], [1.0.
0
])
LIBRARY_VERSION=1:0:
0
AC_INIT([lstdataprocess128], [1.0.
2
])
LIBRARY_VERSION=1:0:
2
AM_INIT_AUTOMAKE([subdir-objects])
...
...
src/lstdpp128/Event.cpp
View file @
f5af82c1
...
...
@@ -38,7 +38,8 @@ void Event::setTime(time_type value) {
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
Event
const
&
e
)
{
return
os
<<
setw
(
20
)
<<
e
.
time
()
<<
setw
(
12
)
<<
e
.
energy
<<
setw
(
8
)
<<
(
int
)
e
.
crate
<<
", "
<<
(
int
)
e
.
board
<<
setw
(
8
)
<<
e
.
channel
<<
setw
(
8
)
<<
e
.
data
;
return
os
<<
dec
<<
setw
(
20
)
<<
e
.
time
()
<<
setw
(
12
)
<<
e
.
energy
<<
setw
(
8
)
<<
(
int
)
e
.
crate
<<
", "
<<
(
int
)
e
.
board
<<
setw
(
8
)
<<
e
.
channel
<<
setw
(
8
)
<<
e
.
data
<<
setw
(
20
)
<<
e
.
rollover
<<
setw
(
20
)
<<
e
.
timestamp
;
}
std
::
string
printBinary
(
int32_t
*
buffer
)
{
...
...
src/lstdpp128/apps/common/EventReader.cpp
View file @
f5af82c1
...
...
@@ -74,7 +74,7 @@ void process(int32_t * buffer, int32_t size, int32_t crate, int32_t board, int32
&&
(
channel
==
-
1
||
(
channel
==
event
.
channel
)));
if
(
display
)
{
cout
<<
event
<<
" "
<<
eventId
<<
" "
<<
printBinary
(
bufferPtr
+
index
)
<<
endl
;
cout
<<
event
<<
"
|
"
<<
eventId
<<
"
|
"
<<
printBinary
(
bufferPtr
+
index
)
<<
endl
;
if
((
eventId
+
1
)
%
group
==
0
)
{
cout
<<
endl
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment