BOSS 7.1.0
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigTOFT.h
Go to the documentation of this file.
1#ifndef EVENT_TRIG_TOFT_H
2#define EVENT_TRIG_TOFT_H
3
4#include <stdint.h>
5#include <string>
6#include <vector>
7
8class TrigTOFT {
9public:
10 TrigTOFT(char* name);
11 virtual ~TrigTOFT() {}
12
13 void setTOFTTrigData(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 inline unsigned int getTimeWindow() const { return m_window; }
20
21 int getTofTrigCondi(int index, int win) const { return m_tofTrigCondi[index][win]; }
22 int getBTofHitMap(int index, int win) const { return m_btofHitMap[index][win]; }
23
24 int getWETofHitMap(int index, int win) const { return m_wetofHitMap[index][win]; }
25 int getEETofHitMap(int index, int win) const { return m_eetofHitMap[index][win]; }
26
27private:
28 std::string m_name;
29
30 unsigned int m_window;
31
32 int m_tofTrigCondi[6][21];
33 int m_btofHitMap[176][21];
34
35 int m_wetofHitMap[48][21];
36 int m_eetofHitMap[48][21];
37};
38
39#endif // EVENT_TRIG_TOFT_H
TTree * data
const std::string & getName() const
Definition: TrigTOFT.h:17
void setTOFTTrigData(uint32_t boardId, uint32_t window, uint32_t datasize, const uint32_t *data)
Definition: TrigTOFT.cxx:22
int getWETofHitMap(int index, int win) const
Definition: TrigTOFT.h:24
void initialize()
Definition: TrigTOFT.cxx:9
unsigned int getTimeWindow() const
Definition: TrigTOFT.h:19
int getBTofHitMap(int index, int win) const
Definition: TrigTOFT.h:22
int getEETofHitMap(int index, int win) const
Definition: TrigTOFT.h:25
int getTofTrigCondi(int index, int win) const
Definition: TrigTOFT.h:21
virtual ~TrigTOFT()
Definition: TrigTOFT.h:11