Commit f5af82c1 authored by legoc's avatar legoc
Browse files

changed version and event output

parent b12e40bd
Pipeline #344 skipped
......@@ -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])
......
......@@ -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) {
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment