BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigGTD.cxx
Go to the documentation of this file.
1#include "TrigEvent/TrigGTD.h"
2
3TrigGTD::TrigGTD(const uint32_t* GTDPtr) : m_dataPtr(GTDPtr+1) {
4 uint32_t GTDHeader = *GTDPtr;
5 m_id = ( GTDHeader >> 24);
6 m_dataSize = ((GTDHeader >> 14) & 0x3FF) - 1;
7 //if (m_id == 0xD7) m_dataSize -= 1;
8 m_timeWindow = ((GTDHeader >> 8) & 0x3F);
9 m_dataType = ((GTDHeader >> 3) & 0x1F);
10}
TrigGTD(const uint32_t *GTDPtr)
Definition: TrigGTD.cxx:3