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 <phool/PHObject.h>
4 #include <TLorentzVector.h>
5 
6 struct EventData {
7  int proc_id;
8  int par_id[4]; // 2 -> 2
9  TLorentzVector par_mom[4];
10  double weight;
11  bool nim1;
12  bool fpga1;
13  int trig_bits;
14  int rec_stat;
15  int n_dim_true;
16  int n_dim_reco;
17 
19  virtual ~EventData() {;}
20 
22 };
23 
24 struct TrackData {
25  int charge;
26  TVector3 pos_vtx;
27  TLorentzVector mom_vtx;
28 
30  virtual ~TrackData() {;}
31 
33 };
34 
35 struct DimuonData {
36  int pdg_id;
37  TVector3 pos;
38  TLorentzVector mom;
39  TLorentzVector mom_pos;
40  TLorentzVector mom_neg;
41  double mass;
42  double pT;
43  double x1;
44  double x2;
45  double xF;
46  double costh;
47  double phi_s;
48  double phi_s_up;
49 
51  virtual ~DimuonData() {;}
52 
54 };
55 
56 typedef std::vector<TrackData > TrackList;
57 typedef std::vector<DimuonData> DimuonList;
58 
59 #endif /* _TREE_DATA__H_ */
std::vector< DimuonData > DimuonList
Definition: TreeData.h:54
std::vector< TrackData > TrackList
Definition: TreeData.h:53
TLorentzVector mom_pos
Definition: TreeData.h:37
TLorentzVector mom
Definition: TreeData.h:36
ClassDef(DimuonData, 1)
double phi_s
Definition: TreeData.h:47
int pdg_id
Definition: TreeData.h:34
double x1
Definition: TreeData.h:41
TLorentzVector mom_neg
Definition: TreeData.h:38
virtual ~DimuonData()
Definition: TreeData.h:51
double x2
Definition: TreeData.h:42
double mass
Definition: TreeData.h:39
double phi_s_up
Definition: TreeData.h:48
double xF
Definition: TreeData.h:43
double pT
Definition: TreeData.h:40
double costh
Definition: TreeData.h:44
TVector3 pos
Definition: TreeData.h:35
double weight
Definition: TreeData.h:10
int trig_bits
Definition: TreeData.h:11
int proc_id
Definition: TreeData.h:7
int rec_stat
Definition: TreeData.h:12
TLorentzVector par_mom[4]
Definition: TreeData.h:9
bool nim1
Definition: TreeData.h:11
bool fpga1
Definition: TreeData.h:12
ClassDef(EventData, 1)
virtual ~EventData()
Definition: TreeData.h:19
int n_dim_true
Definition: TreeData.h:13
int par_id[4]
Definition: TreeData.h:8
int n_dim_reco
Definition: TreeData.h:14
ClassDef(TrackData, 1)
TVector3 pos_vtx
Definition: TreeData.h:24
int charge
Definition: TreeData.h:23
virtual ~TrackData()
Definition: TreeData.h:30
TLorentzVector mom_vtx
Definition: TreeData.h:25