ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DTDPGAnalysis/interface/DefineTreeVariables.h
Revision: 1.10
Committed: Wed Sep 15 10:00:59 2010 UTC (14 years, 7 months ago) by battilan
Content type: text/plain
Branch: MAIN
CVS Tags: V00-00-14, V00-00-13
Changes since 1.9: +13 -2 lines
Log Message:
Added full HLT & L1 info & # of pixel/tracker hits from global mu

File Contents

# Content
1 //This is the list and types of the variables saved in the TTree;
2 //New variables must be declared here
3
4 #include "TString.h"
5
6 //event variables
7 int runnumber;
8 int lumiblock;
9 int eventNumber;
10 float timestamp;
11 int bunchXing;
12 int orbitNum;
13
14 //primary vertex
15 float PV_x;
16 float PV_y;
17 float PV_z;
18
19 float PV_xxE;
20 float PV_yyE;
21 float PV_zzE;
22 float PV_xyE;
23 float PV_xzE;
24 float PV_yzE;
25
26 float PV_normchi2;
27
28 // HLT
29 std::vector<TString> hlt_path;
30
31 //digi variables
32 std::vector<short> digi_wheel;
33 std::vector<short> digi_sector;
34 std::vector<short> digi_station;
35 std::vector<short> digi_sl;
36 std::vector<short> digi_layer;
37 std::vector<short> digi_wire;
38 std::vector<float> digi_time;
39
40 //DT segment variables
41 std::vector<short> segm4D_wheel;
42 std::vector<short> segm4D_sector;
43 std::vector<short> segm4D_station;
44
45 std::vector<short> segm4D_hasPhi;
46 std::vector<short> segm4D_hasZed;
47
48 std::vector<float> segm4D_x_pos_loc;
49 std::vector<float> segm4D_y_pos_loc;
50 std::vector<float> segm4D_z_pos_loc;
51 std::vector<float> segm4D_x_dir_loc;
52 std::vector<float> segm4D_y_dir_loc;
53 std::vector<float> segm4D_z_dir_loc;
54
55 std::vector<float> segm4D_cosx;
56 std::vector<float> segm4D_cosy;
57 std::vector<float> segm4D_cosz;
58 std::vector<float> segm4D_phi;
59 std::vector<float> segm4D_theta;
60 std::vector<float> segm4D_eta;
61
62 std::vector<float> segm4D_t0;
63 std::vector<float> segm4D_vdrift;
64 std::vector<float> segm4D_phinormchi2;
65 std::vector<short> segm4D_phinhits;
66
67 std::vector<float> segm4D_znormchi2;
68 std::vector<short> segm4D_znhits;
69
70 TClonesArray *segm4D_phiHits_Pos;
71 TClonesArray *segm4D_phiHits_PosErr;
72 TClonesArray *segm4D_phiHits_Side;
73
74 TClonesArray *segm4D_zHits_Pos;
75 TClonesArray *segm4D_zHits_PosErr;
76 TClonesArray *segm4D_zHits_Side;
77
78 //CSC segment variables
79 std::vector<short> cscsegm_ring;
80 std::vector<short> cscsegm_chamber;
81 std::vector<short> cscsegm_station;
82 std::vector<float> cscsegm_cosx;
83 std::vector<float> cscsegm_cosy;
84 std::vector<float> cscsegm_cosz;
85 std::vector<float> cscsegm_phi;
86 std::vector<float> cscsegm_eta;
87 std::vector<float> cscsegm_normchi2;
88 std::vector<short> cscsegm_nRecHits;
89
90 //DCC variables
91 std::vector<short> ltDCC_wheel;
92 std::vector<short> ltDCC_sector;
93 std::vector<short> ltDCC_station;
94 std::vector<short> ltDCC_quality;
95 std::vector<short> ltDCC_bx;
96 std::vector<float> ltDCC_phi;
97 std::vector<float> ltDCC_phiB;
98 std::vector<short> ltDCC_is2nd;
99
100 std::vector<short> ltDCC_thBx;
101 std::vector<short> ltDCC_thWheel;
102 std::vector<short> ltDCC_thSector;
103 std::vector<short> ltDCC_thStation;
104 // std::vector<float> ltDCC_thX;
105 // std::vector<float> ltDCC_thY;
106 // TMatrixD ltDCC_thTheta;
107 // TMatrixD ltDCC_thCode;
108
109 //DDU variables
110 std::vector<short> ltDDU_wheel;
111 std::vector<short> ltDDU_sector;
112 std::vector<short> ltDDU_station;
113 std::vector<short> ltDDU_bx;
114 std::vector<short> ltDDU_phiQual;
115 std::vector<short> ltDDU_thQual;
116 std::vector<short> ltDDU_is2nd;
117
118 //muon variables
119 std::vector<short> STAMu_isMuGlobal;
120 std::vector<short> STAMu_isMuTracker;
121 std::vector<int> STAMu_numberOfChambers;
122 std::vector<int> STAMu_numberOfMatches;
123 std::vector<int> STAMu_numberOfHits;
124 std::vector<Long64_t> STAMu_segmIndex;
125
126 std::vector<float> Mu_px_mu;
127 std::vector<float> Mu_py_mu;
128 std::vector<float> Mu_pz_mu;
129 std::vector<float> Mu_phi_mu;
130 std::vector<float> Mu_eta_mu;
131 std::vector<short> STAMu_recHitsSize;
132 std::vector<float> STAMu_normchi2Mu;
133 std::vector<short> STAMu_chargeMu;
134 std::vector<float> STAMu_dxyMu;
135 std::vector<float> STAMu_dzMu;
136
137 std::vector<float> GLBMu_normchi2Mu;
138 std::vector<float> GLBMu_dxyMu;
139 std::vector<float> GLBMu_dzMu;
140
141 std::vector<int> GLBMu_numberOfPixelHits;
142 std::vector<int> GLBMu_numberOfTrackerHits;
143
144 std::vector<float> GLBMu_tkIsoR03;
145 std::vector<float> GLBMu_ntkIsoR03;
146 std::vector<float> GLBMu_emIsoR03;
147 std::vector<float> GLBMu_hadIsoR03;
148
149 std::vector<float> STAMu_caloCompatibility;
150
151 std::vector<float> STAMu_z_mb2;
152 std::vector<float> STAMu_phi_mb2;
153 std::vector<float> STAMu_pseta_mb2;
154
155 //GMT
156 std::vector<short> gmt_bx;
157 std::vector<float> gmt_phi;
158 std::vector<float> gmt_eta;
159 std::vector<float> gmt_pt;
160 std::vector<short> gmt_qual;
161 std::vector<short> gmt_detector;
162
163 std::vector<short> gmt_cands_fwd;
164 std::vector<short> gmt_cands_isRpc;
165 std::vector<short> gmt_cands_bx;
166 std::vector<float> gmt_cands_phi;
167 std::vector<float> gmt_cands_eta;
168 std::vector<float> gmt_cands_pt;
169 std::vector<short> gmt_cands_qual;
170 std::vector<short> gmt_cands_ismatched;
171
172 //GT
173 std::vector<short> gt_algo_bx;
174 std::vector<short> gt_algo_bit;
175 std::vector<short> gt_tt_bx;
176 std::vector<short> gt_tt_bit;