AlcapDAQ
1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
www
html
online
trend_plots
runsummary
tutorials
h1analysis.h
Go to the documentation of this file.
1
// This class has been automatically generated
3
// (Wed Apr 19 21:47:55 2000 by ROOT version 2.24/02)
4
// from TTree h42/
5
// found on file: Memory Directory
6
//
7
// The example was modfied for the new TSelector version
8
// (Thu Sep 25 06:44:10 EDT 2003)
10
11
12
#ifndef h1analysis_h
13
#define h1analysis_h
14
15
#include <TROOT.h>
16
#include <TChain.h>
17
#include <TFile.h>
18
#include <TSelector.h>
19
20
class
h1analysis
:
public
TSelector {
21
public
:
22
TTree *
fChain
;
//pointer to the analyzed TTree or TChain
23
//Declaration of leaves types
24
Int_t
nrun
;
25
Int_t
nevent
;
26
Int_t
nentry
;
27
UChar_t
trelem
[192];
28
UChar_t
subtr
[128];
29
UChar_t
rawtr
[128];
30
UChar_t
L4subtr
[128];
31
UChar_t
L5class
[32];
32
Float_t
E33
;
33
Float_t
de33
;
34
Float_t
x33
;
35
Float_t
dx33
;
36
Float_t
y33
;
37
Float_t
dy33
;
38
Float_t
E44
;
39
Float_t
de44
;
40
Float_t
x44
;
41
Float_t
dx44
;
42
Float_t
y44
;
43
Float_t
dy44
;
44
Float_t
Ept
;
45
Float_t
dept
;
46
Float_t
xpt
;
47
Float_t
dxpt
;
48
Float_t
ypt
;
49
Float_t
dypt
;
50
Float_t
pelec
[4];
51
Int_t
flagelec
;
52
Float_t
xeelec
;
53
Float_t
yeelec
;
54
Float_t
Q2eelec
;
55
Int_t
nelec
;
56
Float_t
Eelec
[20];
57
Float_t
thetelec
[20];
58
Float_t
phielec
[20];
59
Float_t
xelec
[20];
60
Float_t
Q2elec
[20];
61
Float_t
xsigma
[20];
62
Float_t
Q2sigma
[20];
63
Float_t
sumc
[4];
64
Float_t
sumetc
;
65
Float_t
yjbc
;
66
Float_t
Q2jbc
;
67
Float_t
sumct
[4];
68
Float_t
sumetct
;
69
Float_t
yjbct
;
70
Float_t
Q2jbct
;
71
Float_t
Ebeamel
;
72
Float_t
Ebeampr
;
73
Float_t
pvtx_d
[3];
74
Float_t
cpvtx_d
[6];
75
Float_t
pvtx_t
[3];
76
Float_t
cpvtx_t
[6];
77
Int_t
ntrkxy_t
;
78
Float_t
prbxy_t
;
79
Int_t
ntrkz_t
;
80
Float_t
prbz_t
;
81
Int_t
nds
;
82
Int_t
rankds
;
83
Int_t
qds
;
84
Float_t
pds_d
[4];
85
Float_t
ptds_d
;
86
Float_t
etads_d
;
87
Float_t
dm_d
;
88
Float_t
ddm_d
;
89
Float_t
pds_t
[4];
90
Float_t
dm_t
;
91
Float_t
ddm_t
;
92
Int_t
ik
;
93
Int_t
ipi
;
94
Int_t
ipis
;
95
Float_t
pd0_d
[4];
96
Float_t
ptd0_d
;
97
Float_t
etad0_d
;
98
Float_t
md0_d
;
99
Float_t
dmd0_d
;
100
Float_t
pd0_t
[4];
101
Float_t
md0_t
;
102
Float_t
dmd0_t
;
103
Float_t
pk_r
[4];
104
Float_t
ppi_r
[4];
105
Float_t
pd0_r
[4];
106
Float_t
md0_r
;
107
Float_t
Vtxd0_r
[3];
108
Float_t
cvtxd0_r
[6];
109
Float_t
dxy_r
;
110
Float_t
dz_r
;
111
Float_t
psi_r
;
112
Float_t
rd0_d
;
113
Float_t
drd0_d
;
114
Float_t
rpd0_d
;
115
Float_t
drpd0_d
;
116
Float_t
rd0_t
;
117
Float_t
drd0_t
;
118
Float_t
rpd0_t
;
119
Float_t
drpd0_t
;
120
Float_t
rd0_dt
;
121
Float_t
drd0_dt
;
122
Float_t
prbr_dt
;
123
Float_t
prbz_dt
;
124
Float_t
rd0_tt
;
125
Float_t
drd0_tt
;
126
Float_t
prbr_tt
;
127
Float_t
prbz_tt
;
128
Int_t
ijetd0
;
129
Float_t
ptr3d0_j
;
130
Float_t
ptr2d0_j
;
131
Float_t
ptr3d0_3
;
132
Float_t
ptr2d0_3
;
133
Float_t
ptr2d0_2
;
134
Float_t
Mimpds_r
;
135
Float_t
Mimpbk_r
;
136
Int_t
ntracks
;
137
Float_t
pt
[200];
138
Float_t
kappa
[200];
139
Float_t
phi
[200];
140
Float_t
theta
[200];
141
Float_t
dca
[200];
142
Float_t
z0
[200];
143
Float_t
covar
[200][15];
144
Int_t
nhitrp
[200];
145
Float_t
prbrp
[200];
146
Int_t
nhitz
[200];
147
Float_t
prbz
[200];
148
Float_t
rstart
[200];
149
Float_t
rend
[200];
150
Float_t
lhk
[200];
151
Float_t
lhpi
[200];
152
Float_t
nlhk
[200];
153
Float_t
nlhpi
[200];
154
Float_t
dca_d
[200];
155
Float_t
ddca_d
[200];
156
Float_t
dca_t
[200];
157
Float_t
ddca_t
[200];
158
Int_t
muqual
[200];
159
Int_t
imu
;
160
Int_t
imufe
;
161
Int_t
njets
;
162
Float_t
E_j
[20];
163
Float_t
pt_j
[20];
164
Float_t
theta_j
[20];
165
Float_t
eta_j
[20];
166
Float_t
phi_j
[20];
167
Float_t
m_j
[20];
168
Float_t
thrust
;
169
Float_t
pthrust
[4];
170
Float_t
thrust2
;
171
Float_t
pthrust2
[4];
172
Float_t
spher
;
173
Float_t
aplan
;
174
Float_t
plan
;
175
Float_t
nnout
[1];
176
177
//List of branches
178
TBranch *
b_nrun
;
179
TBranch *
b_nevent
;
180
TBranch *
b_nentry
;
181
TBranch *
b_trelem
;
182
TBranch *
b_subtr
;
183
TBranch *
b_rawtr
;
184
TBranch *
b_L4subtr
;
185
TBranch *
b_L5class
;
186
TBranch *
b_E33
;
187
TBranch *
b_de33
;
188
TBranch *
b_x33
;
189
TBranch *
b_dx33
;
190
TBranch *
b_y33
;
191
TBranch *
b_dy33
;
192
TBranch *
b_E44
;
193
TBranch *
b_de44
;
194
TBranch *
b_x44
;
195
TBranch *
b_dx44
;
196
TBranch *
b_y44
;
197
TBranch *
b_dy44
;
198
TBranch *
b_Ept
;
199
TBranch *
b_dept
;
200
TBranch *
b_xpt
;
201
TBranch *
b_dxpt
;
202
TBranch *
b_ypt
;
203
TBranch *
b_dypt
;
204
TBranch *
b_pelec
;
205
TBranch *
b_flagelec
;
206
TBranch *
b_xeelec
;
207
TBranch *
b_yeelec
;
208
TBranch *
b_Q2eelec
;
209
TBranch *
b_nelec
;
210
TBranch *
b_Eelec
;
211
TBranch *
b_thetelec
;
212
TBranch *
b_phielec
;
213
TBranch *
b_xelec
;
214
TBranch *
b_Q2elec
;
215
TBranch *
b_xsigma
;
216
TBranch *
b_Q2sigma
;
217
TBranch *
b_sumc
;
218
TBranch *
b_sumetc
;
219
TBranch *
b_yjbc
;
220
TBranch *
b_Q2jbc
;
221
TBranch *
b_sumct
;
222
TBranch *
b_sumetct
;
223
TBranch *
b_yjbct
;
224
TBranch *
b_Q2jbct
;
225
TBranch *
b_Ebeamel
;
226
TBranch *
b_Ebeampr
;
227
TBranch *
b_pvtx_d
;
228
TBranch *
b_cpvtx_d
;
229
TBranch *
b_pvtx_t
;
230
TBranch *
b_cpvtx_t
;
231
TBranch *
b_ntrkxy_t
;
232
TBranch *
b_prbxy_t
;
233
TBranch *
b_ntrkz_t
;
234
TBranch *
b_prbz_t
;
235
TBranch *
b_nds
;
236
TBranch *
b_rankds
;
237
TBranch *
b_qds
;
238
TBranch *
b_pds_d
;
239
TBranch *
b_ptds_d
;
240
TBranch *
b_etads_d
;
241
TBranch *
b_dm_d
;
242
TBranch *
b_ddm_d
;
243
TBranch *
b_pds_t
;
244
TBranch *
b_dm_t
;
245
TBranch *
b_ddm_t
;
246
TBranch *
b_ik
;
247
TBranch *
b_ipi
;
248
TBranch *
b_ipis
;
249
TBranch *
b_pd0_d
;
250
TBranch *
b_ptd0_d
;
251
TBranch *
b_etad0_d
;
252
TBranch *
b_md0_d
;
253
TBranch *
b_dmd0_d
;
254
TBranch *
b_pd0_t
;
255
TBranch *
b_md0_t
;
256
TBranch *
b_dmd0_t
;
257
TBranch *
b_pk_r
;
258
TBranch *
b_ppi_r
;
259
TBranch *
b_pd0_r
;
260
TBranch *
b_md0_r
;
261
TBranch *
b_Vtxd0_r
;
262
TBranch *
b_cvtxd0_r
;
263
TBranch *
b_dxy_r
;
264
TBranch *
b_dz_r
;
265
TBranch *
b_psi_r
;
266
TBranch *
b_rd0_d
;
267
TBranch *
b_drd0_d
;
268
TBranch *
b_rpd0_d
;
269
TBranch *
b_drpd0_d
;
270
TBranch *
b_rd0_t
;
271
TBranch *
b_drd0_t
;
272
TBranch *
b_rpd0_t
;
273
TBranch *
b_drpd0_t
;
274
TBranch *
b_rd0_dt
;
275
TBranch *
b_drd0_dt
;
276
TBranch *
b_prbr_dt
;
277
TBranch *
b_prbz_dt
;
278
TBranch *
b_rd0_tt
;
279
TBranch *
b_drd0_tt
;
280
TBranch *
b_prbr_tt
;
281
TBranch *
b_prbz_tt
;
282
TBranch *
b_ijetd0
;
283
TBranch *
b_ptr3d0_j
;
284
TBranch *
b_ptr2d0_j
;
285
TBranch *
b_ptr3d0_3
;
286
TBranch *
b_ptr2d0_3
;
287
TBranch *
b_ptr2d0_2
;
288
TBranch *
b_Mimpds_r
;
289
TBranch *
b_Mimpbk_r
;
290
TBranch *
b_ntracks
;
291
TBranch *
b_pt
;
292
TBranch *
b_kappa
;
293
TBranch *
b_phi
;
294
TBranch *
b_theta
;
295
TBranch *
b_dca
;
296
TBranch *
b_z0
;
297
TBranch *
b_covar
;
298
TBranch *
b_nhitrp
;
299
TBranch *
b_prbrp
;
300
TBranch *
b_nhitz
;
301
TBranch *
b_prbz
;
302
TBranch *
b_rstart
;
303
TBranch *
b_rend
;
304
TBranch *
b_lhk
;
305
TBranch *
b_lhpi
;
306
TBranch *
b_nlhk
;
307
TBranch *
b_nlhpi
;
308
TBranch *
b_dca_d
;
309
TBranch *
b_ddca_d
;
310
TBranch *
b_dca_t
;
311
TBranch *
b_ddca_t
;
312
TBranch *
b_muqual
;
313
TBranch *
b_imu
;
314
TBranch *
b_imufe
;
315
TBranch *
b_njets
;
316
TBranch *
b_E_j
;
317
TBranch *
b_pt_j
;
318
TBranch *
b_theta_j
;
319
TBranch *
b_eta_j
;
320
TBranch *
b_phi_j
;
321
TBranch *
b_m_j
;
322
TBranch *
b_thrust
;
323
TBranch *
b_pthrust
;
324
TBranch *
b_thrust2
;
325
TBranch *
b_pthrust2
;
326
TBranch *
b_spher
;
327
TBranch *
b_aplan
;
328
TBranch *
b_plan
;
329
TBranch *
b_nnout
;
330
331
h1analysis
(TTree *
tree
=0);
332
~h1analysis
();
333
int
Version
()
const
{
return
1;}
334
void
Begin
(TTree *
tree
);
335
void
SlaveBegin
(TTree *
tree
);
336
void
Init
(TTree *
tree
);
337
Bool_t
Notify
();
338
Bool_t
Process
(Long64_t entry);
339
void
SetOption
(
const
char
*option) { fOption = option; }
340
void
SetObject
(TObject *obj) { fObject = obj; }
341
void
SetInputList
(TList *input) {fInput = input;}
342
TList *
GetOutputList
()
const
{
return
fOutput; }
343
void
SlaveTerminate
();
344
void
Terminate
();
345
346
ClassDef
(
h1analysis
,0);
347
348
};
349
350
#endif
351
352
353
//_____________________________________________________________________
354
h1analysis::h1analysis
(TTree *
/*tree*/
)
355
{
356
// Build the chain of Root files
357
//
358
}
359
360
//_____________________________________________________________________
361
h1analysis::~h1analysis
()
362
{
363
}
364
365
//_____________________________________________________________________
366
void
h1analysis::Init
(TTree *
tree
)
367
{
368
// Set branch addresses
369
if
(tree == 0)
return
;
370
fChain
=
tree
;
371
372
fChain
->SetBranchAddress(
"nrun"
,&
nrun
);
373
fChain
->SetBranchAddress(
"nevent"
,&
nevent
);
374
fChain
->SetBranchAddress(
"nentry"
,&
nentry
);
375
fChain
->SetBranchAddress(
"trelem"
,
trelem
);
376
fChain
->SetBranchAddress(
"subtr"
,
subtr
);
377
fChain
->SetBranchAddress(
"rawtr"
,
rawtr
);
378
fChain
->SetBranchAddress(
"L4subtr"
,
L4subtr
);
379
fChain
->SetBranchAddress(
"L5class"
,
L5class
);
380
fChain
->SetBranchAddress(
"E33"
,&
E33
);
381
fChain
->SetBranchAddress(
"de33"
,&
de33
);
382
fChain
->SetBranchAddress(
"x33"
,&
x33
);
383
fChain
->SetBranchAddress(
"dx33"
,&
dx33
);
384
fChain
->SetBranchAddress(
"y33"
,&
y33
);
385
fChain
->SetBranchAddress(
"dy33"
,&
dy33
);
386
fChain
->SetBranchAddress(
"E44"
,&
E44
);
387
fChain
->SetBranchAddress(
"de44"
,&
de44
);
388
fChain
->SetBranchAddress(
"x44"
,&
x44
);
389
fChain
->SetBranchAddress(
"dx44"
,&
dx44
);
390
fChain
->SetBranchAddress(
"y44"
,&
y44
);
391
fChain
->SetBranchAddress(
"dy44"
,&
dy44
);
392
fChain
->SetBranchAddress(
"Ept"
,&
Ept
);
393
fChain
->SetBranchAddress(
"dept"
,&
dept
);
394
fChain
->SetBranchAddress(
"xpt"
,&
xpt
);
395
fChain
->SetBranchAddress(
"dxpt"
,&
dxpt
);
396
fChain
->SetBranchAddress(
"ypt"
,&
ypt
);
397
fChain
->SetBranchAddress(
"dypt"
,&
dypt
);
398
fChain
->SetBranchAddress(
"pelec"
,
pelec
);
399
fChain
->SetBranchAddress(
"flagelec"
,&
flagelec
);
400
fChain
->SetBranchAddress(
"xeelec"
,&
xeelec
);
401
fChain
->SetBranchAddress(
"yeelec"
,&
yeelec
);
402
fChain
->SetBranchAddress(
"Q2eelec"
,&
Q2eelec
);
403
fChain
->SetBranchAddress(
"nelec"
,&
nelec
);
404
fChain
->SetBranchAddress(
"Eelec"
,
Eelec
);
405
fChain
->SetBranchAddress(
"thetelec"
,
thetelec
);
406
fChain
->SetBranchAddress(
"phielec"
,
phielec
);
407
fChain
->SetBranchAddress(
"xelec"
,
xelec
);
408
fChain
->SetBranchAddress(
"Q2elec"
,
Q2elec
);
409
fChain
->SetBranchAddress(
"xsigma"
,
xsigma
);
410
fChain
->SetBranchAddress(
"Q2sigma"
,
Q2sigma
);
411
fChain
->SetBranchAddress(
"sumc"
,
sumc
);
412
fChain
->SetBranchAddress(
"sumetc"
,&
sumetc
);
413
fChain
->SetBranchAddress(
"yjbc"
,&
yjbc
);
414
fChain
->SetBranchAddress(
"Q2jbc"
,&
Q2jbc
);
415
fChain
->SetBranchAddress(
"sumct"
,
sumct
);
416
fChain
->SetBranchAddress(
"sumetct"
,&
sumetct
);
417
fChain
->SetBranchAddress(
"yjbct"
,&
yjbct
);
418
fChain
->SetBranchAddress(
"Q2jbct"
,&
Q2jbct
);
419
fChain
->SetBranchAddress(
"Ebeamel"
,&
Ebeamel
);
420
fChain
->SetBranchAddress(
"Ebeampr"
,&
Ebeampr
);
421
fChain
->SetBranchAddress(
"pvtx_d"
,
pvtx_d
);
422
fChain
->SetBranchAddress(
"cpvtx_d"
,
cpvtx_d
);
423
fChain
->SetBranchAddress(
"pvtx_t"
,
pvtx_t
);
424
fChain
->SetBranchAddress(
"cpvtx_t"
,
cpvtx_t
);
425
fChain
->SetBranchAddress(
"ntrkxy_t"
,&
ntrkxy_t
);
426
fChain
->SetBranchAddress(
"prbxy_t"
,&
prbxy_t
);
427
fChain
->SetBranchAddress(
"ntrkz_t"
,&
ntrkz_t
);
428
fChain
->SetBranchAddress(
"prbz_t"
,&
prbz_t
);
429
fChain
->SetBranchAddress(
"nds"
,&
nds
);
430
fChain
->SetBranchAddress(
"rankds"
,&
rankds
);
431
fChain
->SetBranchAddress(
"qds"
,&
qds
);
432
fChain
->SetBranchAddress(
"pds_d"
,
pds_d
);
433
fChain
->SetBranchAddress(
"ptds_d"
,&
ptds_d
);
434
fChain
->SetBranchAddress(
"etads_d"
,&
etads_d
);
435
fChain
->SetBranchAddress(
"dm_d"
,&
dm_d
);
436
fChain
->SetBranchAddress(
"ddm_d"
,&
ddm_d
);
437
fChain
->SetBranchAddress(
"pds_t"
,
pds_t
);
438
fChain
->SetBranchAddress(
"dm_t"
,&
dm_t
);
439
fChain
->SetBranchAddress(
"ddm_t"
,&
ddm_t
);
440
fChain
->SetBranchAddress(
"ik"
,&
ik
);
441
fChain
->SetBranchAddress(
"ipi"
,&
ipi
);
442
fChain
->SetBranchAddress(
"ipis"
,&
ipis
);
443
fChain
->SetBranchAddress(
"pd0_d"
,
pd0_d
);
444
fChain
->SetBranchAddress(
"ptd0_d"
,&
ptd0_d
);
445
fChain
->SetBranchAddress(
"etad0_d"
,&
etad0_d
);
446
fChain
->SetBranchAddress(
"md0_d"
,&
md0_d
);
447
fChain
->SetBranchAddress(
"dmd0_d"
,&
dmd0_d
);
448
fChain
->SetBranchAddress(
"pd0_t"
,
pd0_t
);
449
fChain
->SetBranchAddress(
"md0_t"
,&
md0_t
);
450
fChain
->SetBranchAddress(
"dmd0_t"
,&
dmd0_t
);
451
fChain
->SetBranchAddress(
"pk_r"
,
pk_r
);
452
fChain
->SetBranchAddress(
"ppi_r"
,
ppi_r
);
453
fChain
->SetBranchAddress(
"pd0_r"
,
pd0_r
);
454
fChain
->SetBranchAddress(
"md0_r"
,&
md0_r
);
455
fChain
->SetBranchAddress(
"Vtxd0_r"
,
Vtxd0_r
);
456
fChain
->SetBranchAddress(
"cvtxd0_r"
,
cvtxd0_r
);
457
fChain
->SetBranchAddress(
"dxy_r"
,&
dxy_r
);
458
fChain
->SetBranchAddress(
"dz_r"
,&
dz_r
);
459
fChain
->SetBranchAddress(
"psi_r"
,&
psi_r
);
460
fChain
->SetBranchAddress(
"rd0_d"
,&
rd0_d
);
461
fChain
->SetBranchAddress(
"drd0_d"
,&
drd0_d
);
462
fChain
->SetBranchAddress(
"rpd0_d"
,&
rpd0_d
);
463
fChain
->SetBranchAddress(
"drpd0_d"
,&
drpd0_d
);
464
fChain
->SetBranchAddress(
"rd0_t"
,&
rd0_t
);
465
fChain
->SetBranchAddress(
"drd0_t"
,&
drd0_t
);
466
fChain
->SetBranchAddress(
"rpd0_t"
,&
rpd0_t
);
467
fChain
->SetBranchAddress(
"drpd0_t"
,&
drpd0_t
);
468
fChain
->SetBranchAddress(
"rd0_dt"
,&
rd0_dt
);
469
fChain
->SetBranchAddress(
"drd0_dt"
,&
drd0_dt
);
470
fChain
->SetBranchAddress(
"prbr_dt"
,&
prbr_dt
);
471
fChain
->SetBranchAddress(
"prbz_dt"
,&
prbz_dt
);
472
fChain
->SetBranchAddress(
"rd0_tt"
,&
rd0_tt
);
473
fChain
->SetBranchAddress(
"drd0_tt"
,&
drd0_tt
);
474
fChain
->SetBranchAddress(
"prbr_tt"
,&
prbr_tt
);
475
fChain
->SetBranchAddress(
"prbz_tt"
,&
prbz_tt
);
476
fChain
->SetBranchAddress(
"ijetd0"
,&
ijetd0
);
477
fChain
->SetBranchAddress(
"ptr3d0_j"
,&
ptr3d0_j
);
478
fChain
->SetBranchAddress(
"ptr2d0_j"
,&
ptr2d0_j
);
479
fChain
->SetBranchAddress(
"ptr3d0_3"
,&
ptr3d0_3
);
480
fChain
->SetBranchAddress(
"ptr2d0_3"
,&
ptr2d0_3
);
481
fChain
->SetBranchAddress(
"ptr2d0_2"
,&
ptr2d0_2
);
482
fChain
->SetBranchAddress(
"Mimpds_r"
,&
Mimpds_r
);
483
fChain
->SetBranchAddress(
"Mimpbk_r"
,&
Mimpbk_r
);
484
fChain
->SetBranchAddress(
"ntracks"
,&
ntracks
);
485
fChain
->SetBranchAddress(
"pt"
,
pt
);
486
fChain
->SetBranchAddress(
"kappa"
,
kappa
);
487
fChain
->SetBranchAddress(
"phi"
,
phi
);
488
fChain
->SetBranchAddress(
"theta"
,
theta
);
489
fChain
->SetBranchAddress(
"dca"
,
dca
);
490
fChain
->SetBranchAddress(
"z0"
,
z0
);
491
fChain
->SetBranchAddress(
"covar"
,
covar
);
492
fChain
->SetBranchAddress(
"nhitrp"
,
nhitrp
);
493
fChain
->SetBranchAddress(
"prbrp"
,
prbrp
);
494
fChain
->SetBranchAddress(
"nhitz"
,
nhitz
);
495
fChain
->SetBranchAddress(
"prbz"
,
prbz
);
496
fChain
->SetBranchAddress(
"rstart"
,
rstart
);
497
fChain
->SetBranchAddress(
"rend"
,
rend
);
498
fChain
->SetBranchAddress(
"lhk"
,
lhk
);
499
fChain
->SetBranchAddress(
"lhpi"
,
lhpi
);
500
fChain
->SetBranchAddress(
"nlhk"
,
nlhk
);
501
fChain
->SetBranchAddress(
"nlhpi"
,
nlhpi
);
502
fChain
->SetBranchAddress(
"dca_d"
,
dca_d
);
503
fChain
->SetBranchAddress(
"ddca_d"
,
ddca_d
);
504
fChain
->SetBranchAddress(
"dca_t"
,
dca_t
);
505
fChain
->SetBranchAddress(
"ddca_t"
,
ddca_t
);
506
fChain
->SetBranchAddress(
"muqual"
,
muqual
);
507
fChain
->SetBranchAddress(
"imu"
,&
imu
);
508
fChain
->SetBranchAddress(
"imufe"
,&
imufe
);
509
fChain
->SetBranchAddress(
"njets"
,&
njets
);
510
fChain
->SetBranchAddress(
"E_j"
,
E_j
);
511
fChain
->SetBranchAddress(
"pt_j"
,
pt_j
);
512
fChain
->SetBranchAddress(
"theta_j"
,
theta_j
);
513
fChain
->SetBranchAddress(
"eta_j"
,
eta_j
);
514
fChain
->SetBranchAddress(
"phi_j"
,
phi_j
);
515
fChain
->SetBranchAddress(
"m_j"
,
m_j
);
516
fChain
->SetBranchAddress(
"thrust"
,&
thrust
);
517
fChain
->SetBranchAddress(
"pthrust"
,
pthrust
);
518
fChain
->SetBranchAddress(
"thrust2"
,&
thrust2
);
519
fChain
->SetBranchAddress(
"pthrust2"
,
pthrust2
);
520
fChain
->SetBranchAddress(
"spher"
,&
spher
);
521
fChain
->SetBranchAddress(
"aplan"
,&
aplan
);
522
fChain
->SetBranchAddress(
"plan"
,&
plan
);
523
fChain
->SetBranchAddress(
"nnout"
,&
nnout
);
524
}
525
526
//_____________________________________________________________________
527
Bool_t
h1analysis::Notify
()
528
{
529
// called when loading a new file
530
// get branch pointers
531
532
printf
(
"Processing file: %s\n"
,
fChain
->GetCurrentFile()->GetName());
533
b_nrun
=
fChain
->GetBranch(
"nrun"
);
534
b_nevent
=
fChain
->GetBranch(
"nevent"
);
535
b_nentry
=
fChain
->GetBranch(
"nentry"
);
536
b_trelem
=
fChain
->GetBranch(
"trelem"
);
537
b_subtr
=
fChain
->GetBranch(
"subtr"
);
538
b_rawtr
=
fChain
->GetBranch(
"rawtr"
);
539
b_L4subtr
=
fChain
->GetBranch(
"L4subtr"
);
540
b_L5class
=
fChain
->GetBranch(
"L5class"
);
541
b_E33
=
fChain
->GetBranch(
"E33"
);
542
b_de33
=
fChain
->GetBranch(
"de33"
);
543
b_x33
=
fChain
->GetBranch(
"x33"
);
544
b_dx33
=
fChain
->GetBranch(
"dx33"
);
545
b_y33
=
fChain
->GetBranch(
"y33"
);
546
b_dy33
=
fChain
->GetBranch(
"dy33"
);
547
b_E44
=
fChain
->GetBranch(
"E44"
);
548
b_de44
=
fChain
->GetBranch(
"de44"
);
549
b_x44
=
fChain
->GetBranch(
"x44"
);
550
b_dx44
=
fChain
->GetBranch(
"dx44"
);
551
b_y44
=
fChain
->GetBranch(
"y44"
);
552
b_dy44
=
fChain
->GetBranch(
"dy44"
);
553
b_Ept
=
fChain
->GetBranch(
"Ept"
);
554
b_dept
=
fChain
->GetBranch(
"dept"
);
555
b_xpt
=
fChain
->GetBranch(
"xpt"
);
556
b_dxpt
=
fChain
->GetBranch(
"dxpt"
);
557
b_ypt
=
fChain
->GetBranch(
"ypt"
);
558
b_dypt
=
fChain
->GetBranch(
"dypt"
);
559
b_pelec
=
fChain
->GetBranch(
"pelec"
);
560
b_flagelec
=
fChain
->GetBranch(
"flagelec"
);
561
b_xeelec
=
fChain
->GetBranch(
"xeelec"
);
562
b_yeelec
=
fChain
->GetBranch(
"yeelec"
);
563
b_Q2eelec
=
fChain
->GetBranch(
"Q2eelec"
);
564
b_nelec
=
fChain
->GetBranch(
"nelec"
);
565
b_Eelec
=
fChain
->GetBranch(
"Eelec"
);
566
b_thetelec
=
fChain
->GetBranch(
"thetelec"
);
567
b_phielec
=
fChain
->GetBranch(
"phielec"
);
568
b_xelec
=
fChain
->GetBranch(
"xelec"
);
569
b_Q2elec
=
fChain
->GetBranch(
"Q2elec"
);
570
b_xsigma
=
fChain
->GetBranch(
"xsigma"
);
571
b_Q2sigma
=
fChain
->GetBranch(
"Q2sigma"
);
572
b_sumc
=
fChain
->GetBranch(
"sumc"
);
573
b_sumetc
=
fChain
->GetBranch(
"sumetc"
);
574
b_yjbc
=
fChain
->GetBranch(
"yjbc"
);
575
b_Q2jbc
=
fChain
->GetBranch(
"Q2jbc"
);
576
b_sumct
=
fChain
->GetBranch(
"sumct"
);
577
b_sumetct
=
fChain
->GetBranch(
"sumetct"
);
578
b_yjbct
=
fChain
->GetBranch(
"yjbct"
);
579
b_Q2jbct
=
fChain
->GetBranch(
"Q2jbct"
);
580
b_Ebeamel
=
fChain
->GetBranch(
"Ebeamel"
);
581
b_Ebeampr
=
fChain
->GetBranch(
"Ebeampr"
);
582
b_pvtx_d
=
fChain
->GetBranch(
"pvtx_d"
);
583
b_cpvtx_d
=
fChain
->GetBranch(
"cpvtx_d"
);
584
b_pvtx_t
=
fChain
->GetBranch(
"pvtx_t"
);
585
b_cpvtx_t
=
fChain
->GetBranch(
"cpvtx_t"
);
586
b_ntrkxy_t
=
fChain
->GetBranch(
"ntrkxy_t"
);
587
b_prbxy_t
=
fChain
->GetBranch(
"prbxy_t"
);
588
b_ntrkz_t
=
fChain
->GetBranch(
"ntrkz_t"
);
589
b_prbz_t
=
fChain
->GetBranch(
"prbz_t"
);
590
b_nds
=
fChain
->GetBranch(
"nds"
);
591
b_rankds
=
fChain
->GetBranch(
"rankds"
);
592
b_qds
=
fChain
->GetBranch(
"qds"
);
593
b_pds_d
=
fChain
->GetBranch(
"pds_d"
);
594
b_ptds_d
=
fChain
->GetBranch(
"ptds_d"
);
595
b_etads_d
=
fChain
->GetBranch(
"etads_d"
);
596
b_dm_d
=
fChain
->GetBranch(
"dm_d"
);
597
b_ddm_d
=
fChain
->GetBranch(
"ddm_d"
);
598
b_pds_t
=
fChain
->GetBranch(
"pds_t"
);
599
b_dm_t
=
fChain
->GetBranch(
"dm_t"
);
600
b_ddm_t
=
fChain
->GetBranch(
"ddm_t"
);
601
b_ik
=
fChain
->GetBranch(
"ik"
);
602
b_ipi
=
fChain
->GetBranch(
"ipi"
);
603
b_ipis
=
fChain
->GetBranch(
"ipis"
);
604
b_pd0_d
=
fChain
->GetBranch(
"pd0_d"
);
605
b_ptd0_d
=
fChain
->GetBranch(
"ptd0_d"
);
606
b_etad0_d
=
fChain
->GetBranch(
"etad0_d"
);
607
b_md0_d
=
fChain
->GetBranch(
"md0_d"
);
608
b_dmd0_d
=
fChain
->GetBranch(
"dmd0_d"
);
609
b_pd0_t
=
fChain
->GetBranch(
"pd0_t"
);
610
b_md0_t
=
fChain
->GetBranch(
"md0_t"
);
611
b_dmd0_t
=
fChain
->GetBranch(
"dmd0_t"
);
612
b_pk_r
=
fChain
->GetBranch(
"pk_r"
);
613
b_ppi_r
=
fChain
->GetBranch(
"ppi_r"
);
614
b_pd0_r
=
fChain
->GetBranch(
"pd0_r"
);
615
b_md0_r
=
fChain
->GetBranch(
"md0_r"
);
616
b_Vtxd0_r
=
fChain
->GetBranch(
"Vtxd0_r"
);
617
b_cvtxd0_r
=
fChain
->GetBranch(
"cvtxd0_r"
);
618
b_dxy_r
=
fChain
->GetBranch(
"dxy_r"
);
619
b_dz_r
=
fChain
->GetBranch(
"dz_r"
);
620
b_psi_r
=
fChain
->GetBranch(
"psi_r"
);
621
b_rd0_d
=
fChain
->GetBranch(
"rd0_d"
);
622
b_drd0_d
=
fChain
->GetBranch(
"drd0_d"
);
623
b_rpd0_d
=
fChain
->GetBranch(
"rpd0_d"
);
624
b_drpd0_d
=
fChain
->GetBranch(
"drpd0_d"
);
625
b_rd0_t
=
fChain
->GetBranch(
"rd0_t"
);
626
b_drd0_t
=
fChain
->GetBranch(
"drd0_t"
);
627
b_rpd0_t
=
fChain
->GetBranch(
"rpd0_t"
);
628
b_drpd0_t
=
fChain
->GetBranch(
"drpd0_t"
);
629
b_rd0_dt
=
fChain
->GetBranch(
"rd0_dt"
);
630
b_drd0_dt
=
fChain
->GetBranch(
"drd0_dt"
);
631
b_prbr_dt
=
fChain
->GetBranch(
"prbr_dt"
);
632
b_prbz_dt
=
fChain
->GetBranch(
"prbz_dt"
);
633
b_rd0_tt
=
fChain
->GetBranch(
"rd0_tt"
);
634
b_drd0_tt
=
fChain
->GetBranch(
"drd0_tt"
);
635
b_prbr_tt
=
fChain
->GetBranch(
"prbr_tt"
);
636
b_prbz_tt
=
fChain
->GetBranch(
"prbz_tt"
);
637
b_ijetd0
=
fChain
->GetBranch(
"ijetd0"
);
638
b_ptr3d0_j
=
fChain
->GetBranch(
"ptr3d0_j"
);
639
b_ptr2d0_j
=
fChain
->GetBranch(
"ptr2d0_j"
);
640
b_ptr3d0_3
=
fChain
->GetBranch(
"ptr3d0_3"
);
641
b_ptr2d0_3
=
fChain
->GetBranch(
"ptr2d0_3"
);
642
b_ptr2d0_2
=
fChain
->GetBranch(
"ptr2d0_2"
);
643
b_Mimpds_r
=
fChain
->GetBranch(
"Mimpds_r"
);
644
b_Mimpbk_r
=
fChain
->GetBranch(
"Mimpbk_r"
);
645
b_ntracks
=
fChain
->GetBranch(
"ntracks"
);
646
b_pt
=
fChain
->GetBranch(
"pt"
);
647
b_kappa
=
fChain
->GetBranch(
"kappa"
);
648
b_phi
=
fChain
->GetBranch(
"phi"
);
649
b_theta
=
fChain
->GetBranch(
"theta"
);
650
b_dca
=
fChain
->GetBranch(
"dca"
);
651
b_z0
=
fChain
->GetBranch(
"z0"
);
652
b_covar
=
fChain
->GetBranch(
"covar"
);
653
b_nhitrp
=
fChain
->GetBranch(
"nhitrp"
);
654
b_prbrp
=
fChain
->GetBranch(
"prbrp"
);
655
b_nhitz
=
fChain
->GetBranch(
"nhitz"
);
656
b_prbz
=
fChain
->GetBranch(
"prbz"
);
657
b_rstart
=
fChain
->GetBranch(
"rstart"
);
658
b_rend
=
fChain
->GetBranch(
"rend"
);
659
b_lhk
=
fChain
->GetBranch(
"lhk"
);
660
b_lhpi
=
fChain
->GetBranch(
"lhpi"
);
661
b_nlhk
=
fChain
->GetBranch(
"nlhk"
);
662
b_nlhpi
=
fChain
->GetBranch(
"nlhpi"
);
663
b_dca_d
=
fChain
->GetBranch(
"dca_d"
);
664
b_ddca_d
=
fChain
->GetBranch(
"ddca_d"
);
665
b_dca_t
=
fChain
->GetBranch(
"dca_t"
);
666
b_ddca_t
=
fChain
->GetBranch(
"ddca_t"
);
667
b_muqual
=
fChain
->GetBranch(
"muqual"
);
668
b_imu
=
fChain
->GetBranch(
"imu"
);
669
b_imufe
=
fChain
->GetBranch(
"imufe"
);
670
b_njets
=
fChain
->GetBranch(
"njets"
);
671
b_E_j
=
fChain
->GetBranch(
"E_j"
);
672
b_pt_j
=
fChain
->GetBranch(
"pt_j"
);
673
b_theta_j
=
fChain
->GetBranch(
"theta_j"
);
674
b_eta_j
=
fChain
->GetBranch(
"eta_j"
);
675
b_phi_j
=
fChain
->GetBranch(
"phi_j"
);
676
b_m_j
=
fChain
->GetBranch(
"m_j"
);
677
b_thrust
=
fChain
->GetBranch(
"thrust"
);
678
b_pthrust
=
fChain
->GetBranch(
"pthrust"
);
679
b_thrust2
=
fChain
->GetBranch(
"thrust2"
);
680
b_pthrust2
=
fChain
->GetBranch(
"pthrust2"
);
681
b_spher
=
fChain
->GetBranch(
"spher"
);
682
b_aplan
=
fChain
->GetBranch(
"aplan"
);
683
b_plan
=
fChain
->GetBranch(
"plan"
);
684
b_nnout
=
fChain
->GetBranch(
"nnout"
);
685
return
kTRUE;
686
}
Generated by
1.8.4