Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_BCAL_TimeCalibration.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_BCAL_TimeCalibration.h
4 // Created: Mon Apr 18 15:28:52 CST 2016
5 // Creator: semenov (on Linux selene.phys.uregina.ca 2.6.32-573.18.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_BCAL_TimeCalibration_
9 #define _JEventProcessor_BCAL_TimeCalibration_
10 
11 #include <JANA/JEventProcessor.h>
12 #include <JANA/JApplication.h>
13 
15 #include <HDDM/DEventWriterREST.h>
18 //#include "TRACKING/DTrackFinder.h"
19 
20 #include "DLorentzVector.h"
21 #include "TMatrixD.h"
22 
23 
24 using namespace jana;
25 using namespace std;
26 
27 class JEventProcessor_BCAL_TimeCalibration:public jana::JEventProcessor{
28  public:
29 
32  const char* className(void){return "JEventProcessor_BCAL_TimeCalibration";}
33 
34  private:
35  jerror_t init(void); ///< Called once at program start.
36  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
37  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
38  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
39  jerror_t fini(void); ///< Called after last event of last event source has been processed.
40 };
41 
42 #endif // _JEventProcessor_BCAL_TimeCalibration_