Commit d19fa145 authored by legoc's avatar legoc

Number of bits for the timestamp of the 1725 PHA RT changed to 31

parent 9669c664
Version 1.2.0, 2018-MM-DD
Version 1.2.0, 2018-09-20
-------------------------
- Made dependency to boost only with --enable-cameo option.
- Removed read and write functions to property_tree from CrateBoard.h.
- Added cmake build support for the core library.
- Number of bits for the timestamp of the 1725 PHA RT changed to 31.
Version 1.1.4, 2018-05-22
-------------------------
......
......@@ -2,7 +2,7 @@
# This configure.ac script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
AC_INIT([lstdataprocess128], [1.2.0-dev])
AC_INIT([lstdataprocess128], [1.2.0])
LIBRARY_VERSION=1:2:0
......
......@@ -140,6 +140,10 @@ bool readEvent(Event & event, int32_t * buffer) {
numberOfBitsOfTimestamp = 30;
event.timestamp = (uint32_t)(*(buffer + 1) & 0x3FFFFFFF);
}
else if (boardType == C1725_PHA_RT) {
numberOfBitsOfTimestamp = 31;
event.timestamp = (uint32_t)(*(buffer + 1) & 0x7FFFFFFF);
}
else {
event.timestamp = (uint32_t)(*(buffer + 1) & 0xFFFFFFFF);
}
......
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