Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OnlMonH4.h
Go to the documentation of this file.
1 #ifndef _ONL_MON_H4__H_
2 #define _ONL_MON_H4__H_
3 #include "OnlMonClient.h"
4 
5 class OnlMonH4: public OnlMonClient {
6  public:
7  typedef enum { H4T, H4B, H4Y1L, H4Y1R, H4Y2L, H4Y2R } HodoType_t;
8 
9  private:
10  static const int N_PL = 2;
11  HodoType_t m_type;
12  std::string m_det_name;
13  std::vector<short> m_list_det;
14  std::vector<std::string> m_list_det_name;
15 
16  TH1* h1_ele [N_PL];
17  TH1* h1_time[N_PL];
18  TH1* h2_ele ;
19  TH1* h2_time;
20 
21  public:
22  OnlMonH4(const HodoType_t type);
23  virtual ~OnlMonH4() {}
24  OnlMonClient* Clone() { return new OnlMonH4(*this); }
25 
26  int InitOnlMon(PHCompositeNode *topNode);
27  int InitRunOnlMon(PHCompositeNode *topNode);
28  int ProcessEventOnlMon(PHCompositeNode *topNode);
29  int EndOnlMon(PHCompositeNode *topNode);
30  int FindAllMonHist();
31  int DrawMonitor();
32 };
33 
34 #endif /* _ONL_MON_H4__H_ */
int DrawMonitor()
Definition: OnlMonH4.cc:174
HodoType_t
Definition: OnlMonH4.h:7
int InitOnlMon(PHCompositeNode *topNode)
Definition: OnlMonH4.cc:69
int EndOnlMon(PHCompositeNode *topNode)
Definition: OnlMonH4.cc:150
int InitRunOnlMon(PHCompositeNode *topNode)
Definition: OnlMonH4.cc:74
OnlMonClient * Clone()
Definition: OnlMonH4.h:24
int ProcessEventOnlMon(PHCompositeNode *topNode)
Definition: OnlMonH4.cc:127
virtual ~OnlMonH4()
Definition: OnlMonH4.h:23
int FindAllMonHist()
Definition: OnlMonH4.cc:155
Base class for the OnlMon subsystem module.
Definition: OnlMonClient.h:35
OnlMonH4(const HodoType_t type)
Definition: OnlMonH4.cc:19