Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DaqMon.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DaqMon.h
1 #ifndef DAQ_DAQMON_H
2 #define DAQ_DAQMON_H
3 
4 #include <onlmon/OnlMon.h>
5 
6 class Event;
7 class TH1;
8 class TH2;
9 
10 class DaqMon : public OnlMon
11 {
12  public:
13  DaqMon(const std::string &name = "DAQMON");
14  virtual ~DaqMon();
15 
16  int process_event(Event *evt);
17  int Init();
18  int BeginRun(const int runno);
19  int Reset();
20 
21  protected:
22  int evtcnt = 0;
23  int idummy = 0;
24  TH1 *daqhist1 = nullptr;
25  TH2 *daqhist2 = nullptr;
26 };
27 
28 #endif /* DAQ_DAQMON_H */