BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EventFilter.h
Go to the documentation of this file.
1#ifndef EventFilter_H
2#define EventFilter_H
3
4#include "GaudiKernel/Algorithm.h"
5
6class HltInf;
7
8class EventFilter: public Algorithm{
9 public:
10 EventFilter(const std::string& name, ISvcLocator* pSvcLocator);
11 virtual ~EventFilter();
12
13 StatusCode initialize();
14 StatusCode execute();
15
16 static const std::string& getName() { return m_type;};
17 static long unsigned getNEvt() { return m_nTotalEvent;};
18 static long unsigned getNPass() { return m_npass;};
19 static bool getResult() {return m_efResult;};
20
21 void print(HltInf*);
22
23 private:
24 static std::string m_type;
25 static long unsigned m_nTotalEvent;
26 static long unsigned m_npass;
27 static bool m_efResult;
28
29 bool m_trgFlag;
30 int m_outputLevel;
31 std::vector<std::string> m_chn;
32 bool m_example;
33};
34#endif //EventFilter_H
StatusCode initialize()
Definition: EventFilter.cxx:31
static long unsigned getNEvt()
Definition: EventFilter.h:17
static long unsigned getNPass()
Definition: EventFilter.h:18
virtual ~EventFilter()
Definition: EventFilter.cxx:28
StatusCode execute()
Definition: EventFilter.cxx:45
static const std::string & getName()
Definition: EventFilter.h:16
static bool getResult()
Definition: EventFilter.h:19
void print(HltInf *)
Definition: HltInf.h:16