Commit 83e5f340 authored by minime's avatar minime
Browse files

Merged with OT

parents 7f206721 d9348e64
......@@ -8,6 +8,7 @@
#include <sstream>
#include <strings.h> // bzero
#include <thread>
#include <sstream>
//========================================================================================================================
TCPClientBase::TCPClientBase(const std::string& serverIP, int serverPort) : fServerIP(serverIP), fServerPort(serverPort), fConnected(false) {}
......
......@@ -571,6 +571,7 @@ void SystemController::DecodeData(const BeBoard* pBoard, const std::vector<uint3
{
uint32_t cEventSize = (0x0000FFFF & (*cEventIterator)) * 4; // event size is given in 128 bit words
auto cEnd = ((cEventIterator + cEventSize) > pData.end()) ? pData.end() : (cEventIterator + cEventSize);
// retrieve chunck of data vector belonging to this event
if(cEnd - cEventIterator == cEventSize)
{
......
......@@ -209,6 +209,7 @@ int main(int argc, char* argv[])
std::cout<<"counts"<<cpix<<" "<<(cRP2*256) + cRP1<<std::endl;
}*/
const std::vector<Event*>& events = cTool.GetEvents();
// const std::vector<Event*> &eventVector = cTool.GetEvents();
int nev = 0;
int nevtot = 0;
......
Supports Markdown
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