Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_CDC_expert_2.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_CDC_expert_2.h
4 // Created: Wed Oct 22 2014
5 // Creator: Naomi Jarvis
6 //
7 
8 #ifndef _JEventProcessor_CDC_expert_2_
9 #define _JEventProcessor_CDC_expert_2_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
14 
15 using namespace std;
16 using namespace jana;
17 
18 
19 #include "CDC/DCDCHit.h"
20 #include "CDC/DCDCDigiHit.h"
21 #include "DAQ/Df125WindowRawData.h"
22 #include "DAQ/Df125CDCPulse.h"
23 #include "DAQ/Df125Config.h"
24 #include "TRIGGER/DTrigger.h"
25 
26 #include <TDirectory.h>
27 #include <TH2.h>
28 #include <TH1.h>
29 
30 
31 class JEventProcessor_CDC_expert_2:public jana::JEventProcessor{
32  public:
35  const char* className(void){return "JEventProcessor_CDC_expert_2";}
36 
37 
38  private:
39  jerror_t init(void); ///< Called once at program start.
40  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
41  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
42  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
43  jerror_t fini(void); ///< Called after last event of last event source has been processed.
44 
45 
46  //DO NOT MAKE THESE STATIC GLOBAL EVER AGAIN!!
47 
48  // root hist pointers
49 
50  TH1D *cdc_e = NULL;
51  TH2D *cdc_e_vs_n = NULL;
52 
53  TH1D *cdc_t = NULL;
54  TH2D *cdc_t_vs_n = NULL;
55 
56  TH1I *cdc_rt = NULL;
57  TH2I *cdc_rt_vs_n = NULL;
58 
59  TH1I *cdc_amp = NULL;
60  TH2I *cdc_amp_vs_n = NULL;
61 
62  TH1I *cdc_rt_qf0 = NULL;
63 
64  TH1I *cdc_qf = NULL;
65  TH2I *cdc_qf_vs_n = NULL;
66  TH2I *cdc_qf_vs_a = NULL;
67  TH2I *cdc_qf_vs_rt = NULL;
68 
69 
70  //TH2D *cdc_e_ring[29];
71  TH2D *cdc_t_ring[29];
72 
73  TH2D *cdc_e_vs_t;
74  TH2D *cdc_e_vs_t_ring[29];
75 
77  TH2I *cdc_int_vs_raw_t_ring[29];
78 
82 
83  TH2I *cdc_o_badt;
84 
85  TH2I *cdc_ped_ring[29];
86  TH1I *cdc_ped_badt;
87 
88  TH2I *cdc_raw_t_ring[29];
90 
91  TH2I *cdc_amp_ring[29];
92  TH1I *cdc_amp_badt;
93 
94 
95  TH2I *cdc_intpp_ring[29];
96  //TH2I *cdc_int_ring[29];
97 
98  TH2I *cdc_initped_ring[29];
99 
104 
109 
114 
116 
117 };
118 
119 #endif // _JEventProcessor_CDC_expert_2_
120 
static TH2I * cdc_ped_ring[29]
static TH1D * cdc_t
static TH1D * cdc_e
static TH2D * cdc_e_vs_t_ring[29]
static TH2I * cdc_raw_t_ring[29]
static TH2D * cdc_e_vs_n
static TH2D * cdc_t_vs_n
static TH2D * cdc_t_ring[29]