Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
JEventProcessor_FCAL_TimingOffsets.h
Go to the documentation of this file.
1 
2 #ifndef _JEventProcessor_FCAL_TimingOffsets_
3 #define _JEventProcessor_FCAL_TimingOffsets_
4 
5 #include <JANA/JEventProcessor.h>
6 #include <FCAL/DFCALGeometry.h>
8 #include <thread>
9 #include <JANA/JApplication.h>
10 #include <JANA/JFactory.h>
11 #include <stdint.h>
12 #include <vector>
13 #include <iostream>
14 #include "FCAL/DFCALHit.h"
15 #include "FCAL/DFCALDigiHit.h"
16 #include "FCAL/DFCALGeometry.h"
17 #include "FCAL/DFCALCluster.h"
18 #include "FCAL/DFCALShower.h"
19 #include "DAQ/Df250PulseIntegral.h"
20 #include "DAQ/Df250PulsePedestal.h"
21 #include "DAQ/DEPICSvalue.h"
22 #include "TRIGGER/DL1Trigger.h"
23 #include <DANA/DStatusBits.h>
24 #include "units.h"
25 #include "DLorentzVector.h"
26 #include "DVector3.h"
27 #include "HDGEOMETRY/DGeometry.h"
28 #include "DANA/DApplication.h"
29 #include <TTree.h>
30 
31 
32 class DFCALHit;
33 
34 class JEventProcessor_FCAL_TimingOffsets:public jana::JEventProcessor{
35  public:
36 
39  const char* className(void){return "JEventProcessor_FCAL_TimingOffsets";}
40 
41  private:
42 
43  jerror_t init(void); ///< Called once at program start.
44  jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber); ///< Called everytime a new run number is detected.
45  jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber); ///< Called every event.
46  jerror_t erun(void); ///< Called everytime run number changes, provided brun has been called.
47  jerror_t fini(void); ///< Called after last event of last event source has been processed.
48 
49  double m_targetZ;
50 
51  int m_column;
52  int m_row;
53  int m_chan;
54 
55 
57  double m_FCALfront;
60 
61 
62 
63 
64 
65 };
66 
67 #endif // _JEventProcessor_FCAL_TimingOffsets_
68 
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
TVector3 DVector3
Definition: DVector3.h:14
jerror_t init(void)
Called once at program start.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t fini(void)
Called after last event of last event source has been processed.
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.