BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigGTD Class Reference

#include <TrigGTD.h>

+ Inheritance diagram for TrigGTD:

Public Member Functions

 TrigGTD (const uint32_t *GTDPtr)
 
virtual ~TrigGTD ()
 
virtual const CLID & clID () const
 
const uint32_t getId () const
 
const uint32_t getDataSize () const
 
const uint32_t getTimeWindow () const
 
const uint32_t getDataType () const
 
const uint32_t * getDataPtr () const
 

Static Public Member Functions

static const CLID & classID ()
 

Detailed Description

Definition at line 13 of file TrigGTD.h.

Constructor & Destructor Documentation

◆ TrigGTD()

TrigGTD::TrigGTD ( const uint32_t *  GTDPtr)

Definition at line 3 of file TrigGTD.cxx.

3 : 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()

virtual TrigGTD::~TrigGTD ( )
inlinevirtual

Definition at line 18 of file TrigGTD.h.

18{}

Member Function Documentation

◆ classID()

static const CLID & TrigGTD::classID ( )
inlinestatic

Definition at line 21 of file TrigGTD.h.

21{ return CLID_TrigGTD; }
const CLID & CLID_TrigGTD
Definition: EventModel.cxx:274

Referenced by clID().

◆ clID()

virtual const CLID & TrigGTD::clID ( ) const
inlinevirtual

Definition at line 20 of file TrigGTD.h.

20{ return TrigGTD::classID(); }
static const CLID & classID()
Definition: TrigGTD.h:21

◆ getDataPtr()

const uint32_t * TrigGTD::getDataPtr ( ) const
inline

Definition at line 28 of file TrigGTD.h.

28{ return m_dataPtr; }

◆ getDataSize()

const uint32_t TrigGTD::getDataSize ( ) const
inline

Definition at line 24 of file TrigGTD.h.

24{ return m_dataSize; }

◆ getDataType()

const uint32_t TrigGTD::getDataType ( ) const
inline

Definition at line 26 of file TrigGTD.h.

26{ return m_dataType; }

◆ getId()

const uint32_t TrigGTD::getId ( ) const
inline

Definition at line 23 of file TrigGTD.h.

23{ return m_id; }

◆ getTimeWindow()

const uint32_t TrigGTD::getTimeWindow ( ) const
inline

Definition at line 25 of file TrigGTD.h.

25{ return m_timeWindow; }

The documentation for this class was generated from the following files: