Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_radlen_hists.h
Go to the documentation of this file.
1 // $Id: DEventProcessor_radlen_hists.h 1816 2006-06-06 14:38:18Z davidl $
2 //
3 // File: DEventProcessor_radlen_hists.h
4 // Created: Sun Apr 24 06:45:21 EDT 2005
5 // Creator: davidl (on Darwin Harriet.local 7.8.0 powerpc)
6 //
7 
8 #ifndef _DEventProcessor_radlen_hists_
9 #define _DEventProcessor_radlen_hists_
10 
11 #include <TFile.h>
12 #include <TTree.h>
13 #include <TH1.h>
14 #include <TH2.h>
15 #include <TH3.h>
16 
17 #include <JANA/JFactory.h>
18 #include <JANA/JEventProcessor.h>
19 #include <JANA/JEventLoop.h>
20 using namespace jana;
21 
23 
24 #include "radstep.h"
25 
26 class DEventProcessor_radlen_hists:public JEventProcessor{
27 
28  public:
31 
37 
38  TH1F *nXo_vs_r;
39  TH1F *nXo_vs_z;
40  TH1F *inXo_vs_r;
41  TH1F *inXo_vs_z;
42 
43  TH2F *dE_vs_r, *dE_vs_z;
44 
45  TTree *tradstep;
48 
49  private:
50  jerror_t init(void); ///< Invoked via DEventProcessor virtual method
51  jerror_t brun(JEventLoop *loop, int32_t runnumber); ///< Invoked via DEventProcessor virtual method
52  jerror_t evnt(JEventLoop *loop, uint64_t eventnumber); ///< Invoked via DEventProcessor virtual method
53  jerror_t erun(void); ///< Invoked via DEventProcessor virtual method
54  jerror_t fini(void); ///< Invoked via DEventProcessor virtual method
55 
56 
57  void GapIntegration(TH1F *hin, TH1F *hout);
58 
59  pthread_mutex_t mutex;
61 };
62 
63 #endif // _DEventProcessor_radlen_hists_
64