CGEM BOSS
6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/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
8
class
TrigCondition
{
9
public
:
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
20
private
:
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
data
TTree * data
Definition:
DataBase/tau_mode.c:5
TrigCondition
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:8
TrigCondition::getNumZero
uint32_t getNumZero(int index) const
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:16
TrigCondition::getCondList
const std::vector< uint32_t > & getCondList() const
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:14
TrigCondition::getName
const std::string & getName() const
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:13
TrigCondition::print
void print() const
Definition:
TrigCondition.cxx:83
TrigCondition::~TrigCondition
virtual ~TrigCondition()
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:11
TrigCondition::getNumOne
uint32_t getNumOne(int index) const
Definition:
Event/TrigEvent/TrigEvent-00-01-02/TrigEvent/TrigCondition.h:15
source
Event
TrigEvent
TrigEvent-00-01-02
TrigEvent
TrigCondition.h
Generated by
1.9.6