BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/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
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
void initialize()
Definition: TrigTOFT.cxx:9
int getBTofHitMap(int index, int win) const
int getEETofHitMap(int index, int win) const
int getTofTrigCondi(int index, int win) const