BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigGTL.h
Go to the documentation of this file.
1#ifndef EVENT_TRIG_GTL_H
2#define EVENT_TRIG_GTL_H
3
4#include <stdint.h>
5#include <string>
6#include <vector>
7
8class TrigGTL {
9public:
10 TrigGTL(char* name);
11 virtual ~TrigGTL() {}
12
13 void setGTLTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t* data);
14
15 void initialize();
16
17 const std::string& getName() const { return m_name; }
18
19 int getDataGroup12One(int index) const { return m_dataGroup12_One[index]; }
20 int getDataGroup12Zero(int index) const { return m_dataGroup12_Zero[index]; }
21
22 int getDataGroup34One(int index) const { return m_dataGroup34_One[index]; }
23 int getDataGroup34Zero(int index) const { return m_dataGroup34_Zero[index]; }
24
25 int getDataGroup5One(int index) const { return m_dataGroup5_One[index]; }
26 int getDataGroup5Zero(int index) const { return m_dataGroup5_Zero[index]; }
27
28private:
29 std::string m_name;
30
31 int m_dataGroup12_One[48];
32 int m_dataGroup12_Zero[48];
33
34 int m_dataGroup34_One[48];
35 int m_dataGroup34_Zero[48];
36
37 int m_dataGroup5_One[24];
38 int m_dataGroup5_Zero[24];
39};
40
41#endif // EVENT_TRIG_GTL_H
TTree * data
Definition: TrigGTL.h:8
const std::string & getName() const
Definition: TrigGTL.h:17
int getDataGroup5Zero(int index) const
Definition: TrigGTL.h:26
int getDataGroup12One(int index) const
Definition: TrigGTL.h:19
virtual ~TrigGTL()
Definition: TrigGTL.h:11
int getDataGroup5One(int index) const
Definition: TrigGTL.h:25
void initialize()
Definition: TrigGTL.cxx:9
int getDataGroup34One(int index) const
Definition: TrigGTL.h:22
void setGTLTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
Definition: TrigGTL.cxx:24
int getDataGroup34Zero(int index) const
Definition: TrigGTL.h:23
int getDataGroup12Zero(int index) const
Definition: TrigGTL.h:20