BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
TrigCondition.h
Go to the documentation of this file.
1#ifndef EVENT_TRIG_CONDITION_H
2#define EVENT_TRIG_CONDITION_H
3
4#include <stdint.h>
5#include <string>
6#include <vector>
7
9public:
10 TrigCondition(char* name, uint32_t window, const uint32_t* data);
11 virtual ~TrigCondition() {}
12
13 const std::string& getName() const { return m_name; }
14 const std::vector<uint32_t>& getCondList() const { return m_condList; }
15 uint32_t getNumOne(int index) const { return m_num_One[index]; }
16 uint32_t getNumZero(int index) const { return m_num_Zero[index]; }
17
18 void print() const;
19
20private:
21 std::string m_name;
22 std::vector<uint32_t> m_condList;
23
24 uint32_t m_num_One[48];
25 uint32_t m_num_Zero[48];
26
27 static const std::string s_CONDITIONS[48];
28};
29
30#endif // EVENT_TRIG_CONDITION_H
TTree * data
uint32_t getNumZero(int index) const
Definition: TrigCondition.h:16
const std::vector< uint32_t > & getCondList() const
Definition: TrigCondition.h:14
const std::string & getName() const
Definition: TrigCondition.h:13
void print() const
virtual ~TrigCondition()
Definition: TrigCondition.h:11
uint32_t getNumOne(int index) const
Definition: TrigCondition.h:15