BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigSAF.h
Go to the documentation of this file.
1#ifndef EVENT_TRIG_SAF_H
2#define EVENT_TRIG_SAF_H
3
4#include <stdint.h>
5#include <string>
6#include <vector>
7
8class TrigSAF {
9public:
10 TrigSAF(char* name);
11 virtual ~TrigSAF() {}
12
13 void setSAFTrigData(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 getDataGroup1One(int index) const { return m_dataGroup1_One[index]; }
20 int getDataGroup1Zero(int index) const { return m_dataGroup1_Zero[index]; }
21
22 int getDataGroup2One(int index) const { return m_dataGroup2_One[index]; }
23 int getDataGroup2Zero(int index) const { return m_dataGroup2_Zero[index]; }
24
25 int getDataGroup3(int index) const { return m_dataGroup3[index]; }
26 int getDataGroup4(int index) const { return m_dataGroup4[index]; }
27
28private:
29 std::string m_name;
30
31 int m_dataGroup1_One[48];
32 int m_dataGroup1_Zero[48];
33
34 int m_dataGroup2_One[48];
35 int m_dataGroup2_Zero[48];
36
37 int m_dataGroup3[48];
38 int m_dataGroup4[48];
39};
40
41#endif // EVENT_TRIG_SAF_H
Definition: TrigSAF.h:8
int getDataGroup3(int index) const
Definition: TrigSAF.h:25
void initialize()
Definition: TrigSAF.cxx:9
int getDataGroup2One(int index) const
Definition: TrigSAF.h:22
int getDataGroup2Zero(int index) const
Definition: TrigSAF.h:23
int getDataGroup4(int index) const
Definition: TrigSAF.h:26
void setSAFTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
Definition: TrigSAF.cxx:22
int getDataGroup1Zero(int index) const
Definition: TrigSAF.h:20
virtual ~TrigSAF()
Definition: TrigSAF.h:11
const std::string & getName() const
Definition: TrigSAF.h:17
int getDataGroup1One(int index) const
Definition: TrigSAF.h:19