Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_FCAL_Pi0HFA.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_FCAL_Pi0HFA.h
4 // Created: Wed Aug 30 16:23:49 EDT 2017
5 // Creator: mstaib (on Linux egbert 2.6.32-696.10.1.el6.x86_64 x86_64)
6 //
7 
8 #ifndef _JEventProcessor_FCAL_Pi0HFA_
9 #define _JEventProcessor_FCAL_Pi0HFA_
10 #include <JANA/JApplication.h>
11 #include <JANA/JEventProcessor.h>
12 #include <PID/DNeutralParticle.h>
13 #include <FCAL/DFCALShower.h>
14 #include <FCAL/DFCALCluster.h>
15 #include <HDGEOMETRY/DGeometry.h>
16 #include <FCAL/DFCALGeometry.h>
17 #include "units.h"
18 #include "DLorentzVector.h"
19 #include "DVector3.h"
20 #include "HistogramTools.h"
21 #include "DANA/DApplication.h"
22 #include "DANA/DStatusBits.h"
23 #include "TProfile.h"
24 
25 using namespace std;
26 
27 class JEventProcessor_FCAL_Pi0HFA:public jana::JEventProcessor{
28  public:
31  const char* className(void){return "JEventProcessor_FCAL_Pi0HFA";}
32 
33  private:
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  double m_targetZ;
41 
43 };
44 
45 #endif // _JEventProcessor_FCAL_Pi0HFA_
46