Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_fcal_charged.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: DEventProcessor_fcal_charged.h
4 // Created: Fri Oct 10 16:41:18 EDT 2014
5 // Creator: wmcginle (on Linux ifarm1101 2.6.32-220.7.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _DEventProcessor_fcal_charged_
9 #define _DEventProcessor_fcal_charged_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
16 //#include "TRACKING/DTrackFinder.h"
17 
18 #include "DLorentzVector.h"
19 #include "TMatrixD.h"
20 
21 
22 using namespace jana;
23 using namespace std;
24 
25 class DEventProcessor_fcal_charged : public jana::JEventProcessor
26 {
27  public:
30  const char* className(void){return "DEventProcessor_fcal_charged";}
31 
32  private:
34  jerror_t init(void); ///< Called once at program start.
35  jerror_t brun(jana::JEventLoop* locEventLoop, int locRunNumber); ///< Called every time a new run number is detected.
36  jerror_t evnt(jana::JEventLoop* locEventLoop, int locEventNumber); ///< Called every event.
37  jerror_t erun(void); ///< Called every time run number changes, provided brun has been called.
38  jerror_t fini(void); ///< Called after last event of last event source has been processed.
39 
40  TMatrixD m_mC;
41  TMatrixD m_mD;
42  TMatrixD m_nhits;
43 
44  TH2F* h2D_mC;
45  TH1F* h1D_mD;
46  TH1F* h1D_nhits;
47 
48 
49 };
50 
51 #endif // _DEventProcessor_fcal_charged_
52 
const DAnalysisUtilities * dAnalysisUtilities