Commit 6b9cdec7 authored by Sarah Seif El Nasr's avatar Sarah Seif El Nasr
Browse files

Update D19cCbc3Event.cc - fix to TDC event decoding from FC7 header.

parent 8e3d6034
......@@ -73,7 +73,7 @@ void D19cCbc3Event::Set(const BeBoard* pBoard, const std::vector<uint32_t>& pDat
auto cEventIterator = pData.begin();
// counters from event header
fExternalTriggerID = (*(cEventIterator + 1) >> 16) & 0x7FFF;
fTDC = (*(cEventIterator + 1) >> 24) & 0xFF;
fTDC = (*(cEventIterator + 2) >> 24) & 0xFF;
fEventCount = 0x00FFFFFF & *(cEventIterator + 2);
fBunch = 0xFFFFFFFF & *(cEventIterator + 3);
......
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