Class Reference for E1039 Core & Analysis Software
TreeData.h
Go to the documentation of this file.
1 #ifndef _TREE_DATA__H_
2 #define _TREE_DATA__H_
3 #include <vector>
4 #include <TROOT.h>
5 #include <TLorentzVector.h>
6 
7 struct EventData {
8  short run_id;
9  int spill_id;
10  int event_id;
11  short fpga_bits;
12  short nim_bits;
13  short D1;
14  short D2;
15  short D3p;
16  short D3m;
17 
19  virtual ~EventData() {;}
21 };
22 
23 struct HitData {
24  short det_id;
25  short ele_id;
26  double tdc_time;
27  double drift_dist;
28 
30  virtual ~HitData() {;}
32 };
33 
34 typedef std::vector<HitData> HitList;
35 
36 #endif // _TREE_DATA__H_
std::vector< HitData > HitList
Definition: TreeData.h:34
int spill_id
Definition: TreeData.h:9
int event_id
Definition: TreeData.h:10
ClassDef(EventData, 1)
short nim_bits
Definition: TreeData.h:12
short D1
Definition: TreeData.h:13
virtual ~EventData()
Definition: TreeData.h:19
short D2
Definition: TreeData.h:14
short fpga_bits
Definition: TreeData.h:11
short run_id
Definition: TreeData.h:8
short D3p
Definition: TreeData.h:15
short D3m
Definition: TreeData.h:16
virtual ~HitData()
Definition: TreeData.h:30
ClassDef(HitData, 1)
short det_id
Definition: TreeData.h:24
short ele_id
Definition: TreeData.h:25
double tdc_time
Definition: TreeData.h:26
double drift_dist
Definition: TreeData.h:27