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  int trig_bits;
12  int rec_stat;
15 
17  virtual ~EventData() {;}
18 
20 };
21 
22 struct TrackData {
23  int charge;
24  TVector3 pos_vtx;
25  TLorentzVector mom_vtx;
26 
27  TrackData();
28  virtual ~TrackData() {;}
29 
31 };
32 
33 struct DimuonData {
34  int pdg_id;
35  TVector3 pos;
36  TLorentzVector mom;
37  TLorentzVector mom_pos;
38  TLorentzVector mom_neg;
39  double mass;
40  double pT;
41  double x1;
42  double x2;
43  double xF;
44  double costh;
45  double phi;
46 
47  DimuonData();
48  virtual ~DimuonData() {;}
49 
51 };
52 
53 typedef std::vector<TrackData > TrackList;
54 typedef std::vector<DimuonData> DimuonList;
55 
56 #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
DimuonData()
Definition: TreeData.cc:24
ClassDef(DimuonData, 1)
int pdg_id
Definition: TreeData.h:34
double x1
Definition: TreeData.h:41
double phi
Definition: TreeData.h:45
TLorentzVector mom_neg
Definition: TreeData.h:38
virtual ~DimuonData()
Definition: TreeData.h:48
double x2
Definition: TreeData.h:42
double mass
Definition: TreeData.h:39
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
ClassDef(EventData, 1)
virtual ~EventData()
Definition: TreeData.h:17
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
TrackData()
Definition: TreeData.cc:18
int charge
Definition: TreeData.h:23
virtual ~TrackData()
Definition: TreeData.h:28
TLorentzVector mom_vtx
Definition: TreeData.h:25