Class Reference for E1039 Core & Analysis Software
ReAnaSignal.h
Go to the documentation of this file.
1 #ifndef _RE_ANA_SIGNAL__H_
2 #define _RE_ANA_SIGNAL__H_
3 #include "AnaSignal.h"
4 class TFile;
5 class TH1;
6 class TH2;
7 
9 class ReAnaSignal : public AnaSignal {
10  protected:
11  TFile* m_file_out;
14  TH1* m_h1_xF_tb;
16  TH1* m_h1_x1_tb;
18  TH1* m_h1_x2_tb;
26 
27  TH2* m_h2_xF_tb;
29  TH2* m_h2_x1_tb;
31  TH2* m_h2_x2_tb;
39 
40  public:
41  ReAnaSignal(const std::string label="re_ana_signal");
42  virtual ~ReAnaSignal();
43 
44  virtual void Init();
45  virtual void End();
46  virtual void Analyze();
47 
48  protected:
49  virtual void ProcessOneEvent();
50 
51  void DrawOneVar(const char* name, TH1* h1_tb, TH1* h1_trig);
52  //void DrawOneVar(TTree* tree, const char* name, const char* var, const int N, const double X0, const double X1);
53  void DrawOneVar2D(const char* name, TH2* h2_tb, TH2* h2_trig);
54 };
55 
56 #endif // _RE_ANA_SIGNAL__H_
Class to analyze the GMC data with a roadset applied.
Definition: ReAnaSignal.h:9
TFile * m_file_out
Definition: ReAnaSignal.h:11
TH1 * m_h1_mass_tb
Definition: ReAnaSignal.h:12
TH2 * m_h2_xF_trig
Definition: ReAnaSignal.h:28
TH1 * m_h1_xF_tb
Definition: ReAnaSignal.h:14
TH1 * m_h1_mom_trig
Definition: ReAnaSignal.h:21
TH1 * m_h1_x2_trig
Definition: ReAnaSignal.h:19
TH2 * m_h2_theta_trig
Definition: ReAnaSignal.h:38
TH1 * m_h1_mass_trig
Definition: ReAnaSignal.h:13
TH2 * m_h2_phi_tb
Definition: ReAnaSignal.h:35
TH1 * m_h1_phi_trig
Definition: ReAnaSignal.h:23
TH2 * m_h2_x2_trig
Definition: ReAnaSignal.h:32
TH1 * m_h1_theta_tb
Definition: ReAnaSignal.h:24
TH2 * m_h2_x2_tb
Definition: ReAnaSignal.h:31
TH1 * m_h1_xF_trig
Definition: ReAnaSignal.h:15
TH2 * m_h2_xF_tb
Definition: ReAnaSignal.h:27
virtual void ProcessOneEvent()
Definition: ReAnaSignal.cc:100
ReAnaSignal(const std::string label="re_ana_signal")
Definition: ReAnaSignal.cc:20
TH2 * m_h2_mom_tb
Definition: ReAnaSignal.h:33
TH1 * m_h1_x1_trig
Definition: ReAnaSignal.h:17
TH2 * m_h2_theta_tb
Definition: ReAnaSignal.h:37
virtual void End()
Definition: ReAnaSignal.cc:93
TH1 * m_h1_phi_tb
Definition: ReAnaSignal.h:22
TH2 * m_h2_x1_trig
Definition: ReAnaSignal.h:30
TH1 * m_h1_x1_tb
Definition: ReAnaSignal.h:16
virtual void Init()
Definition: ReAnaSignal.cc:31
TH1 * m_h1_theta_trig
Definition: ReAnaSignal.h:25
virtual void Analyze()
Definition: ReAnaSignal.cc:153
TH2 * m_h2_mom_trig
Definition: ReAnaSignal.h:34
TH1 * m_h1_mom_tb
Definition: ReAnaSignal.h:20
TH2 * m_h2_phi_trig
Definition: ReAnaSignal.h:36
void DrawOneVar2D(const char *name, TH2 *h2_tb, TH2 *h2_trig)
Definition: ReAnaSignal.cc:237
void DrawOneVar(const char *name, TH1 *h1_tb, TH1 *h1_trig)
Definition: ReAnaSignal.cc:171
TH2 * m_h2_x1_tb
Definition: ReAnaSignal.h:29
virtual ~ReAnaSignal()
Definition: ReAnaSignal.cc:26
TH1 * m_h1_x2_tb
Definition: ReAnaSignal.h:18