Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_BCAL_point_calib.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_BCAL_point_calib.h
4 // Created: Mon Sep 26 09:38:23 EDT 2016
5 // Creator: gvasil (on Linux ifarm1401 2.6.32-431.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_BCAL_point_calib_
9 #define _JEventProcessor_BCAL_point_calib_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
16 #include "TRACKING/DTrackFitter.h"
17 #include <BCAL/DBCALGeometry.h>
18 
19 #include "DLorentzVector.h"
20 #include "TMatrixD.h"
21 
22 
23 using namespace jana;
24 using namespace std;
25 
26 class JEventProcessor_BCAL_point_calib:public jana::JEventProcessor{
27  public:
30  const char* className(void){return "JEventProcessor_BCAL_point_calib";}
31 
32  private:
33 // const DAnalysisUtilities* dAnalysisUtilities;
34  jerror_t init(void); ///< Called once at program start.
35  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
36  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
37  jerror_t erun(void); ///< Called everytime 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 
44 
45  bool DEBUG; // control the creation of extra histograms
46  bool VERBOSE; // verbose output
47 
48 };
49 
50 #endif // _JEventProcessor_BCAL_point_calib_
51