Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DEventProcessor_lut_dirc.h
Go to the documentation of this file.
1 // -----------------------------------------
2 // DEventProcessor_lut_dirc.h
3 // created on: 29.11.2017
4 // initial athor: r.dzhygadlo at gsi.de
5 // -----------------------------------------
6 
7 #ifndef DEVENTPROCESSOR_LUT_DIRC_H_
8 #define DEVENTPROCESSOR_LUT_DIRC_H_
9 
10 #include <iostream>
11 #include <vector>
12 using namespace std;
13 
14 #include <JANA/JFactory.h>
15 #include <JANA/JEventProcessor.h>
16 #include <JANA/JEventLoop.h>
17 #include <JANA/JApplication.h>
18 using namespace jana;
19 
20 #include <TRACKING/DMCThrown.h>
21 #include <TRACKING/DMCTrackHit.h>
22 #include <PID/DKinematicData.h>
23 #include <PID/DBeamPhoton.h>
24 #include <DIRC/DDIRCTruthBarHit.h>
25 #include <DIRC/DDIRCTruthPmtHit.h>
26 
27 #include <TMath.h>
28 #include <TFile.h>
29 #include <TTree.h>
30 #include <TDirectoryFile.h>
31 #include <TThread.h>
32 #include <TLorentzVector.h>
33 #include <TVector3.h>
34 #include <TROOT.h>
35 #include <TClonesArray.h>
36 
37 #include "DrcLutNode.h"
38 
39 class DEventProcessor_lut_dirc: public JEventProcessor {
40 
41 public:
44 
45  TClonesArray *fLut[48];
47  TTree *fTree;
48 
49  pthread_mutex_t mutex;
50 
51 private:
52  jerror_t init(void);
53  jerror_t evnt(JEventLoop *loop, uint64_t eventnumber);
54  jerror_t erun(void);
55  jerror_t fini(void); // called after last event
56 
57 };
58 
59 #endif /* DEVENTPROCESSOR_LUT_DIRC_H_ */