Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_FDC_Efficiency.h
Go to the documentation of this file.
1 // $Id$
2 //
3 // File: JEventProcessor_FDC_Efficiency.cc
4 // Created: Thu May 26 15:57:38 EDT 2016
5 // Creator: aaustreg
6 //
7 
8 #ifndef _JEventProcessor_FDC_Efficiency_
9 #define _JEventProcessor_FDC_Efficiency_
10 
11 //#include <pthread.h>
12 #include <map>
13 #include <vector>
14 #include <deque>
15 using namespace std;
16 
17 #include <TTree.h>
18 #include <TFile.h>
19 #include <TH1.h>
20 #include <TH2.h>
21 #include <TH3.h>
22 #include <TMath.h>
23 
24 #include <JANA/JFactory.h>
25 #include <JANA/JEventProcessor.h>
26 #include <JANA/JEventLoop.h>
27 #include <JANA/JCalibration.h>
28 
29 #include <HDGEOMETRY/DGeometry.h>
33 #include <PID/DChargedTrack.h>
34 #include <PID/DDetectorMatches.h>
35 #include <FDC/DFDCHit.h>
36 
37 class JEventProcessor_FDC_Efficiency:public jana::JEventProcessor{
38  public:
41  const char* className(void){return "JEventProcessor_FDC_Efficiency";}
42 
43  private:
44  jerror_t init(void); ///< Called once at program start.
45  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
46  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
47  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
48  jerror_t fini(void); ///< Called after last event of last event source has been processed.
51  vector< vector< DFDCWire * > > fdcwires; // FDC Wires Referenced by [layer 1-24][wire 1-96]
52  vector<double> fdcz; // FDC z positions
53  vector<double> fdcrmin; // FDC inner radii
54  double fdcrmax; // FDC outer radius
55 };
56 
57 #endif // _JEventProcessor_FDC_Efficiency_
58 
vector< vector< DFDCWire * > > fdcwires