Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_photoneff_hists.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DEventProcessor_photoneff_hists.h
4 // Created: Thu Feb 12 09:43:13 EST 2009
5 // Creator: davidl (on Darwin harriet.jlab.org 9.6.0 i386)
6 //
7 
8 #ifndef _DEventProcessor_photoneff_hists_
9 #define _DEventProcessor_photoneff_hists_
10 
11 #include <pthread.h>
12 #include <map>
13 using std::map;
14 
15 #include <TTree.h>
16 #include <TFile.h>
17 #include <TH1.h>
18 #include <TH2.h>
19 
20 #include <JANA/JFactory.h>
21 #include <JANA/JEventProcessor.h>
22 #include <JANA/JEventLoop.h>
23 
24 #include <PID/DKinematicData.h>
25 #include <PID/DPhoton.h>
26 #include <TRACKING/DMCThrown.h>
28 
29 #include "photon.h"
30 
31 
32 class DEventProcessor_photoneff_hists:public JEventProcessor{
33 
34  public:
37 
38  TTree *phtneff;
41 
42 
43  private:
44  jerror_t init(void); ///< Invoked via DEventProcessor virtual method
45  jerror_t brun(JEventLoop *loop, int32_t runnumber);
46  jerror_t evnt(JEventLoop *loop, uint64_t eventnumber); ///< Invoked via DEventProcessor virtual method
47  jerror_t erun(void); ///< Invoked via DEventProcessor virtual method
48  jerror_t fini(void); ///< Invoked via DEventProcessor virtual method
49 
50  bool isReconstructable(const DMCThrown *mcthrown, JEventLoop *loop);
51 
52  pthread_mutex_t mutex;
53 
54  int DEBUG;
55 
56 };
57 
58 #endif // _DEventProcessor_photoneff_hists_
59 
Definition: photon.h:15
jerror_t brun(JEventLoop *loop, int32_t runnumber)
jerror_t evnt(JEventLoop *loop, uint64_t eventnumber)
Invoked via DEventProcessor virtual method.
bool isReconstructable(const DMCThrown *mcthrown, JEventLoop *loop)
jerror_t init(void)
Invoked via DEventProcessor virtual method.
jerror_t fini(void)
Invoked via DEventProcessor virtual method.
jerror_t erun(void)
Invoked via DEventProcessor virtual method.