BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigGTD.h
Go to the documentation of this file.
1#ifndef EVENT_TRIG_GTD_H
2#define EVENT_TRIG_GTD_H
3
4#include <vector>
5#include <stdint.h> //uint32_t
6
7#include "GaudiKernel/ContainedObject.h"
8#include "GaudiKernel/ObjectVector.h"
9
10extern const CLID& CLID_TrigGTD;
11
12// Global trigger data structure
13class TrigGTD : virtual public ContainedObject {
14public:
15 //constructor
16 TrigGTD(const uint32_t* GTDPtr);
17 //destructor
18 virtual ~TrigGTD() {}
19
20 virtual const CLID& clID() const { return TrigGTD::classID(); }
21 static const CLID& classID() { return CLID_TrigGTD; }
22
23 const uint32_t getId() const { return m_id; }
24 const uint32_t getDataSize() const { return m_dataSize; }
25 const uint32_t getTimeWindow() const { return m_timeWindow; }
26 const uint32_t getDataType() const { return m_dataType; }
27
28 const uint32_t* getDataPtr() const { return m_dataPtr; }
29
30private:
31 uint32_t m_id;
32 uint32_t m_dataSize;
33 uint32_t m_timeWindow;
34 uint32_t m_dataType;
35
36 const uint32_t* m_dataPtr;
37};
38
39typedef ObjectVector<TrigGTD> TrigGTDCol;
40
41#endif // EVENT_TRIG_GTD_H
const CLID & CLID_TrigGTD
Definition: EventModel.cxx:278
ObjectVector< TrigGTD > TrigGTDCol
const CLID & CLID_TrigGTD
Definition: EventModel.cxx:278