Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OnlMonV1495.h
Go to the documentation of this file.
1 #ifndef _ONL_MON_V1495__H_
2 #define _ONL_MON_V1495__H_
3 #include "OnlMonClient.h"
4 
5 class OnlMonV1495: public OnlMonClient {
6  public:
7  typedef enum { H1X, H2X, H3X, H4X, H1Y, H2Y, H4Y1, H4Y2 } HodoType_t;
8  static const int N_DET = 2;
9 
10  private:
11  HodoType_t m_type;
12  int m_lvl;
13  std::string list_det_name[N_DET];
14  int list_det_id [N_DET];
15 
16  TH1* h1_ele [N_DET];
17  TH1* h1_ele_in [N_DET];
18  TH1* h1_time [N_DET];
19  TH1* h1_time_in [N_DET];
20  TH2* h2_time_ele[N_DET];
21 
22  public:
23  OnlMonV1495(const HodoType_t type, const int lvl);
24  virtual ~OnlMonV1495() {}
25  OnlMonClient* Clone() { return new OnlMonV1495(*this); }
26 
27  int InitOnlMon(PHCompositeNode *topNode);
28  int InitRunOnlMon(PHCompositeNode *topNode);
29  int ProcessEventOnlMon(PHCompositeNode *topNode);
30  int EndOnlMon(PHCompositeNode *topNode);
31  int FindAllMonHist();
32  int DrawMonitor();
33 
34  private:
35  void SetDet(const char* det0, const char* det1);
36 };
37 
38 #endif /* _ONL_MON_V1495__H_ */
int FindAllMonHist()
Definition: OnlMonV1495.cc:145
int DrawMonitor()
Definition: OnlMonV1495.cc:173
static const int N_DET
Definition: OnlMonV1495.h:8
int InitRunOnlMon(PHCompositeNode *topNode)
Definition: OnlMonV1495.cc:39
int ProcessEventOnlMon(PHCompositeNode *topNode)
Definition: OnlMonV1495.cc:114
int EndOnlMon(PHCompositeNode *topNode)
Definition: OnlMonV1495.cc:140
virtual ~OnlMonV1495()
Definition: OnlMonV1495.h:24
OnlMonClient * Clone()
Definition: OnlMonV1495.h:25
OnlMonV1495(const HodoType_t type, const int lvl)
Definition: OnlMonV1495.cc:19
int InitOnlMon(PHCompositeNode *topNode)
Definition: OnlMonV1495.cc:34
Base class for the OnlMon subsystem module.
Definition: OnlMonClient.h:35