-
Notifications
You must be signed in to change notification settings - Fork 0
/
chkcaldata.hh
734 lines (713 loc) · 44.8 KB
/
chkcaldata.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Mon May 28 14:29:46 2018 by ROOT version 5.34/18
// from TTree CalibrxTree/Go4FileStore
// found on file: pd14Jul0181_CAL.root
//////////////////////////////////////////////////////////
#ifndef chkcaldata_h
#define chkcaldata_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
// Header file for the classes stored in the TTree if any.
//#include "./TFRSCalibrEvent.h"
#include <TObject.h>
#include <TNamed.h>
//#include "./Go4Event/TGo4EventElement.h"
// Fixed size dimensions of array or collections stored in the TTree if any.
const Int_t kMaxFRSCalibrEvent = 1;
TH1F hMWDC_X;
TH1F hMWDC_A;
TH1F hMWDC_Y;
TH1F hMWDC_B;
TH2F hMWDC_XA;
TH2F hMWDC_focXA;
TH2F hMWDC_YB;
TH2F hMWDC_XY;
TH2F hMWDC_AB;
TH1F hSci41L_Q;
TH1F hSci41R_Q;
TH1F hSci41_Qave;
TH1F hSci41L_T;
TH1F hSci41R_T;
TH1F hSci41_Tave;
TH1F hTOF41L_T;
TH1F hTOF41R_T;
TH1F hTOF41_Tave;
TH1F hTOF42L_T;
TH1F hTOF42R_T;
TH1F hTOF42_Tave;
TH1F hTOF43L_T;
TH1F hTOF43R_T;
TH1F hTOF43_Tave;
TH1F hTOF1;
TH1F hTOF2;
TH2F hTOF1dE;
TH2F hTOF2dE;
TH1F hTOF;
TH2F hTOFdE;
TH2F hTOF1xfoc;
class chkcaldata {
public :
TTree *fChain; //!pointer to the analyzed TTree or TChain
Int_t fCurrent; //!current Tree number in a TChain
// Declaration of leaf types
//TFRSCalibrEvent *FRSCalibrEvent_;
// UInt_t FRSCalibrEvent_TGo4EventElement_fUniqueID;
// UInt_t FRSCalibrEvent_TGo4EventElement_fBits;
// TString FRSCalibrEvent_TGo4EventElement_fName;
// TString FRSCalibrEvent_TGo4EventElement_fTitle;
// Bool_t FRSCalibrEvent_TGo4EventElement_fbIsValid;
// Short_t FRSCalibrEvent_TGo4EventElement_fIdentifier;
UInt_t FRSCalibrEvent_freeTrig;
UInt_t FRSCalibrEvent_acptTrig;
UInt_t FRSCalibrEvent_mon_inc[64];
Int_t FRSCalibrEvent_seconds;
Int_t FRSCalibrEvent_tenthsecs;
Int_t FRSCalibrEvent_hundrethsecs;
Int_t FRSCalibrEvent_extraction_cycle;
Int_t FRSCalibrEvent_coin[16];
Float_t FRSCalibrEvent_seetram;
Float_t FRSCalibrEvent_mw_xsum[13];
Float_t FRSCalibrEvent_mw_ysum[13];
Float_t FRSCalibrEvent_mw_x[13];
Float_t FRSCalibrEvent_mw_y[13];
Float_t FRSCalibrEvent_mw_wire[13];
Float_t FRSCalibrEvent_z_x_s2;
Float_t FRSCalibrEvent_z_y_s2;
Float_t FRSCalibrEvent_z_x_s4;
Float_t FRSCalibrEvent_z_y_s4;
Float_t FRSCalibrEvent_z_x_s8;
Float_t FRSCalibrEvent_z_y_s8;
Bool_t FRSCalibrEvent_b_mw_xsum[13];
Bool_t FRSCalibrEvent_b_mw_ysum[13];
Float_t FRSCalibrEvent_focx_s2;
Float_t FRSCalibrEvent_focy_s2;
Float_t FRSCalibrEvent_focx_s4;
Float_t FRSCalibrEvent_focy_s4;
Float_t FRSCalibrEvent_focx_s8;
Float_t FRSCalibrEvent_focy_s8;
Float_t FRSCalibrEvent_angle_x_s2;
Float_t FRSCalibrEvent_angle_y_s2;
Float_t FRSCalibrEvent_angle_x_s4;
Float_t FRSCalibrEvent_angle_y_s4;
Float_t FRSCalibrEvent_angle_x_s8;
Float_t FRSCalibrEvent_angle_y_s8;
Int_t FRSCalibrEvent_tpc_csum[6][4];
Float_t FRSCalibrEvent_tpc_x[6];
Float_t FRSCalibrEvent_tpc_y[6];
Bool_t FRSCalibrEvent_b_tpc_csum[6][4];
Bool_t FRSCalibrEvent_b_tpc_xy[6];
Float_t FRSCalibrEvent_tpc_x_s2_foc;
Float_t FRSCalibrEvent_tpc_y_s2_foc;
Float_t FRSCalibrEvent_tpc_angle_x_s2_foc;
Float_t FRSCalibrEvent_tpc_angle_y_s2_foc;
Float_t FRSCalibrEvent_tpc_x_s4;
Float_t FRSCalibrEvent_tpc_y_s4;
Float_t FRSCalibrEvent_tpc_angle_x_s4;
Float_t FRSCalibrEvent_tpc_angle_y_s4;
Float_t FRSCalibrEvent_tpc_x_s4_target1;
Float_t FRSCalibrEvent_tpc_y_s4_target1;
Float_t FRSCalibrEvent_tpc_x_s4_target2;
Float_t FRSCalibrEvent_tpc_y_s4_target2;
Float_t FRSCalibrEvent_tpc_angle_x_s4_target2;
Float_t FRSCalibrEvent_tpc_angle_y_s4_target2;
Float_t FRSCalibrEvent_tpc_sc21_x;
Float_t FRSCalibrEvent_tpc_sc41_x;
Float_t FRSCalibrEvent_tpc_sc21_y;
Float_t FRSCalibrEvent_tpc_sc41_y;
Float_t FRSCalibrEvent_sc21_x;
Float_t FRSCalibrEvent_sc22_x;
Float_t FRSCalibrEvent_itag_stopper_x;
Float_t FRSCalibrEvent_sc21_y;
Float_t FRSCalibrEvent_sc81_x;
Float_t FRSCalibrEvent_music1_x1;
Float_t FRSCalibrEvent_music1_x2;
Float_t FRSCalibrEvent_music1_x3;
Float_t FRSCalibrEvent_music1_x4;
Float_t FRSCalibrEvent_music2_x;
Long_t FRSCalibrEvent_etap_scaler[64];
Int_t FRSCalibrEvent_etap_scaler_increase[64];
Float_t FRSCalibrEvent_etap_scaler_normalized[64];
Int_t FRSCalibrEvent_mh_scaler[64];
Int_t FRSCalibrEvent_mh_scaler_increase[64];
Float_t FRSCalibrEvent_mh_scaler_normalized[64];
Float_t FRSCalibrEvent_s4cor_x;
Float_t FRSCalibrEvent_s4cor_y;
Float_t FRSCalibrEvent_s4cor_a;
Float_t FRSCalibrEvent_s4cor_b;
Float_t FRSCalibrEvent_s4foc_x;
Float_t FRSCalibrEvent_s4foc_y;
Float_t FRSCalibrEvent_s4foc_a;
Float_t FRSCalibrEvent_s4foc_b;
Float_t FRSCalibrEvent_sc41_x;
Float_t FRSCalibrEvent_sc41_y;
Float_t FRSCalibrEvent_sc41_a;
Float_t FRSCalibrEvent_sc41_b;
Float_t FRSCalibrEvent_sc42_x;
Float_t FRSCalibrEvent_sc42_y;
Float_t FRSCalibrEvent_sc42_a;
Float_t FRSCalibrEvent_sc42_b;
Float_t FRSCalibrEvent_hirac_x;
Float_t FRSCalibrEvent_hirac_y;
Float_t FRSCalibrEvent_hirac_a;
Float_t FRSCalibrEvent_hirac_b;
Float_t FRSCalibrEvent_torch_x;
Float_t FRSCalibrEvent_torch_y;
Float_t FRSCalibrEvent_torch_a;
Float_t FRSCalibrEvent_torch_b;
Bool_t FRSCalibrEvent_etap_trig[4];
Int_t FRSCalibrEvent_mwdc_numhit[16];
Float_t FRSCalibrEvent_mwdc_tot[16][64];
Float_t FRSCalibrEvent_mwdc_time[16][64];
Float_t FRSCalibrEvent_mwdc_time_asd[16][64][3];
Float_t FRSCalibrEvent_mwdc_time_wMaxToT[16];
Int_t FRSCalibrEvent_mwdc_wireid[16][64];
Float_t FRSCalibrEvent_mwdc_wirepos[16][64];
Float_t FRSCalibrEvent_mwdc_length[16][64];
Float_t FRSCalibrEvent_mwdc_length_asd[16][64][3];
Int_t FRSCalibrEvent_mwdc_numtrack;
Int_t FRSCalibrEvent_mwdc_numtrack_estimate[2];
Float_t FRSCalibrEvent_mwdc_chi2;
Float_t FRSCalibrEvent_mwdc_x;
Float_t FRSCalibrEvent_mwdc_y;
Float_t FRSCalibrEvent_mwdc_a;
Float_t FRSCalibrEvent_mwdc_b;
Float_t FRSCalibrEvent_mwdc_res[16];
Float_t FRSCalibrEvent_mwdc_x_ex[16];
Float_t FRSCalibrEvent_mwdc_res_ex[16];
Float_t FRSCalibrEvent_mwdc_chi2_test[2];
Float_t FRSCalibrEvent_mwdc_x_test[2];
Float_t FRSCalibrEvent_mwdc_y_test[2];
Float_t FRSCalibrEvent_mwdc_a_test[2];
Float_t FRSCalibrEvent_mwdc_b_test[2];
Float_t FRSCalibrEvent_mwdc_res_test[2][8];
Float_t FRSCalibrEvent_focal_plane;
Float_t FRSCalibrEvent_mwdc_x_corr;
Int_t FRSCalibrEvent_qdcvalid;
Bool_t FRSCalibrEvent_Deuteron;
Bool_t FRSCalibrEvent_Trig[4];
Float_t FRSCalibrEvent_sci_qdc[16][2];
Float_t FRSCalibrEvent_sci_tdc[16][2];
Int_t FRSCalibrEvent_sci_ml[16][2];
Int_t FRSCalibrEvent_sci_mt[16][2];
Float_t FRSCalibrEvent_sci_t0_tdc[16][2];
Float_t FRSCalibrEvent_sci_time[16][2];
Float_t FRSCalibrEvent_sci_timeave[16];
Float_t FRSCalibrEvent_sci_timedif[16];
Float_t FRSCalibrEvent_sci_de[16];
Float_t FRSCalibrEvent_tof_21l_41l;
Float_t FRSCalibrEvent_tof_21r_41r;
Float_t FRSCalibrEvent_tof_21_41;
Float_t FRSCalibrEvent_tof_41l_42l;
Float_t FRSCalibrEvent_tof_41r_42r;
Float_t FRSCalibrEvent_tof_41_42;
Float_t FRSCalibrEvent_tof_2hl_41l;
Float_t FRSCalibrEvent_tof_2hr_41r;
Float_t FRSCalibrEvent_tof_2h_41;
Float_t FRSCalibrEvent_tof_2vu_41l;
Float_t FRSCalibrEvent_tof_2vd_41r;
Float_t FRSCalibrEvent_tof_2v_41;
Float_t FRSCalibrEvent_mini_qdc[2];
Float_t FRSCalibrEvent_mini_qdc_cor[2];
Float_t FRSCalibrEvent_mini_tdc[2];
Float_t FRSCalibrEvent_mini_time[2];
Float_t FRSCalibrEvent_mini_pe[2];
Float_t FRSCalibrEvent_mini_pesum;
Float_t FRSCalibrEvent_mini_la_qdc;
Float_t FRSCalibrEvent_mini_baseline;
Float_t FRSCalibrEvent_mini_x_average;
Float_t FRSCalibrEvent_mini_x_cor;
Int_t FRSCalibrEvent_mini_numhit;
Float_t FRSCalibrEvent_hirac_qdc[8];
Float_t FRSCalibrEvent_hirac_qdc_cor[8];
Float_t FRSCalibrEvent_hirac_tdc[8];
Float_t FRSCalibrEvent_hirac_time[8];
Float_t FRSCalibrEvent_hirac_pe[8];
Float_t FRSCalibrEvent_hirac_pesum;
Float_t FRSCalibrEvent_hirac_x_average;
Float_t FRSCalibrEvent_hirac_baseline;
Float_t FRSCalibrEvent_hirac_la_qdc;
Float_t FRSCalibrEvent_hirac_x_cor;
Int_t FRSCalibrEvent_hirac_numhit;
Float_t FRSCalibrEvent_torch_qdc[6];
Float_t FRSCalibrEvent_torch_qdc_cor[6];
Float_t FRSCalibrEvent_torch_tdc[6];
Float_t FRSCalibrEvent_torch_time[6];
Float_t FRSCalibrEvent_torch_pe[6];
Float_t FRSCalibrEvent_torch_pesum;
Float_t FRSCalibrEvent_torch_x_average;
Float_t FRSCalibrEvent_torch_la_qdc;
Float_t FRSCalibrEvent_torch_baseline;
Float_t FRSCalibrEvent_torch_x_cor;
Int_t FRSCalibrEvent_torch_numhit;
Bool_t FRSCalibrEvent_b_pi[5];
// List of branches
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fUniqueID; //!
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fBits; //!
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fName; //!
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fTitle; //!
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fbIsValid; //!
// TBranch *b_FRSCalibrEvent_TGo4EventElement_fIdentifier; //!
TBranch *b_FRSCalibrEvent_freeTrig; //!
TBranch *b_FRSCalibrEvent_acptTrig; //!
TBranch *b_FRSCalibrEvent_mon_inc; //!
TBranch *b_FRSCalibrEvent_seconds; //!
TBranch *b_FRSCalibrEvent_tenthsecs; //!
TBranch *b_FRSCalibrEvent_hundrethsecs; //!
TBranch *b_FRSCalibrEvent_extraction_cycle; //!
TBranch *b_FRSCalibrEvent_coin; //!
TBranch *b_FRSCalibrEvent_seetram; //!
TBranch *b_FRSCalibrEvent_mw_xsum; //!
TBranch *b_FRSCalibrEvent_mw_ysum; //!
TBranch *b_FRSCalibrEvent_mw_x; //!
TBranch *b_FRSCalibrEvent_mw_y; //!
TBranch *b_FRSCalibrEvent_mw_wire; //!
TBranch *b_FRSCalibrEvent_z_x_s2; //!
TBranch *b_FRSCalibrEvent_z_y_s2; //!
TBranch *b_FRSCalibrEvent_z_x_s4; //!
TBranch *b_FRSCalibrEvent_z_y_s4; //!
TBranch *b_FRSCalibrEvent_z_x_s8; //!
TBranch *b_FRSCalibrEvent_z_y_s8; //!
TBranch *b_FRSCalibrEvent_b_mw_xsum; //!
TBranch *b_FRSCalibrEvent_b_mw_ysum; //!
TBranch *b_FRSCalibrEvent_focx_s2; //!
TBranch *b_FRSCalibrEvent_focy_s2; //!
TBranch *b_FRSCalibrEvent_focx_s4; //!
TBranch *b_FRSCalibrEvent_focy_s4; //!
TBranch *b_FRSCalibrEvent_focx_s8; //!
TBranch *b_FRSCalibrEvent_focy_s8; //!
TBranch *b_FRSCalibrEvent_angle_x_s2; //!
TBranch *b_FRSCalibrEvent_angle_y_s2; //!
TBranch *b_FRSCalibrEvent_angle_x_s4; //!
TBranch *b_FRSCalibrEvent_angle_y_s4; //!
TBranch *b_FRSCalibrEvent_angle_x_s8; //!
TBranch *b_FRSCalibrEvent_angle_y_s8; //!
TBranch *b_FRSCalibrEvent_tpc_csum; //!
TBranch *b_FRSCalibrEvent_tpc_x; //!
TBranch *b_FRSCalibrEvent_tpc_y; //!
TBranch *b_FRSCalibrEvent_b_tpc_csum; //!
TBranch *b_FRSCalibrEvent_b_tpc_xy; //!
TBranch *b_FRSCalibrEvent_tpc_x_s2_foc; //!
TBranch *b_FRSCalibrEvent_tpc_y_s2_foc; //!
TBranch *b_FRSCalibrEvent_tpc_angle_x_s2_foc; //!
TBranch *b_FRSCalibrEvent_tpc_angle_y_s2_foc; //!
TBranch *b_FRSCalibrEvent_tpc_x_s4; //!
TBranch *b_FRSCalibrEvent_tpc_y_s4; //!
TBranch *b_FRSCalibrEvent_tpc_angle_x_s4; //!
TBranch *b_FRSCalibrEvent_tpc_angle_y_s4; //!
TBranch *b_FRSCalibrEvent_tpc_x_s4_target1; //!
TBranch *b_FRSCalibrEvent_tpc_y_s4_target1; //!
TBranch *b_FRSCalibrEvent_tpc_x_s4_target2; //!
TBranch *b_FRSCalibrEvent_tpc_y_s4_target2; //!
TBranch *b_FRSCalibrEvent_tpc_angle_x_s4_target2; //!
TBranch *b_FRSCalibrEvent_tpc_angle_y_s4_target2; //!
TBranch *b_FRSCalibrEvent_tpc_sc21_x; //!
TBranch *b_FRSCalibrEvent_tpc_sc41_x; //!
TBranch *b_FRSCalibrEvent_tpc_sc21_y; //!
TBranch *b_FRSCalibrEvent_tpc_sc41_y; //!
TBranch *b_FRSCalibrEvent_sc21_x; //!
TBranch *b_FRSCalibrEvent_sc22_x; //!
TBranch *b_FRSCalibrEvent_itag_stopper_x; //!
TBranch *b_FRSCalibrEvent_sc21_y; //!
TBranch *b_FRSCalibrEvent_sc81_x; //!
TBranch *b_FRSCalibrEvent_music1_x1; //!
TBranch *b_FRSCalibrEvent_music1_x2; //!
TBranch *b_FRSCalibrEvent_music1_x3; //!
TBranch *b_FRSCalibrEvent_music1_x4; //!
TBranch *b_FRSCalibrEvent_music2_x; //!
TBranch *b_FRSCalibrEvent_etap_scaler; //!
TBranch *b_FRSCalibrEvent_etap_scaler_increase; //!
TBranch *b_FRSCalibrEvent_etap_scaler_normalized; //!
TBranch *b_FRSCalibrEvent_mh_scaler; //!
TBranch *b_FRSCalibrEvent_mh_scaler_increase; //!
TBranch *b_FRSCalibrEvent_mh_scaler_normalized; //!
TBranch *b_FRSCalibrEvent_s4cor_x; //!
TBranch *b_FRSCalibrEvent_s4cor_y; //!
TBranch *b_FRSCalibrEvent_s4cor_a; //!
TBranch *b_FRSCalibrEvent_s4cor_b; //!
TBranch *b_FRSCalibrEvent_s4foc_x; //!
TBranch *b_FRSCalibrEvent_s4foc_y; //!
TBranch *b_FRSCalibrEvent_s4foc_a; //!
TBranch *b_FRSCalibrEvent_s4foc_b; //!
TBranch *b_FRSCalibrEvent_sc41_x; //!
TBranch *b_FRSCalibrEvent_sc41_y; //!
TBranch *b_FRSCalibrEvent_sc41_a; //!
TBranch *b_FRSCalibrEvent_sc41_b; //!
TBranch *b_FRSCalibrEvent_sc42_x; //!
TBranch *b_FRSCalibrEvent_sc42_y; //!
TBranch *b_FRSCalibrEvent_sc42_a; //!
TBranch *b_FRSCalibrEvent_sc42_b; //!
TBranch *b_FRSCalibrEvent_hirac_x; //!
TBranch *b_FRSCalibrEvent_hirac_y; //!
TBranch *b_FRSCalibrEvent_hirac_a; //!
TBranch *b_FRSCalibrEvent_hirac_b; //!
TBranch *b_FRSCalibrEvent_torch_x; //!
TBranch *b_FRSCalibrEvent_torch_y; //!
TBranch *b_FRSCalibrEvent_torch_a; //!
TBranch *b_FRSCalibrEvent_torch_b; //!
TBranch *b_FRSCalibrEvent_etap_trig; //!
TBranch *b_FRSCalibrEvent_mwdc_numhit; //!
TBranch *b_FRSCalibrEvent_mwdc_tot; //!
TBranch *b_FRSCalibrEvent_mwdc_time; //!
TBranch *b_FRSCalibrEvent_mwdc_time_asd; //!
TBranch *b_FRSCalibrEvent_mwdc_time_wMaxToT; //!
TBranch *b_FRSCalibrEvent_mwdc_wireid; //!
TBranch *b_FRSCalibrEvent_mwdc_wirepos; //!
TBranch *b_FRSCalibrEvent_mwdc_length; //!
TBranch *b_FRSCalibrEvent_mwdc_length_asd; //!
TBranch *b_FRSCalibrEvent_mwdc_numtrack; //!
TBranch *b_FRSCalibrEvent_mwdc_numtrack_estimate; //!
TBranch *b_FRSCalibrEvent_mwdc_chi2; //!
TBranch *b_FRSCalibrEvent_mwdc_x; //!
TBranch *b_FRSCalibrEvent_mwdc_y; //!
TBranch *b_FRSCalibrEvent_mwdc_a; //!
TBranch *b_FRSCalibrEvent_mwdc_b; //!
TBranch *b_FRSCalibrEvent_mwdc_res; //!
TBranch *b_FRSCalibrEvent_mwdc_x_ex; //!
TBranch *b_FRSCalibrEvent_mwdc_res_ex; //!
TBranch *b_FRSCalibrEvent_mwdc_chi2_test; //!
TBranch *b_FRSCalibrEvent_mwdc_x_test; //!
TBranch *b_FRSCalibrEvent_mwdc_y_test; //!
TBranch *b_FRSCalibrEvent_mwdc_a_test; //!
TBranch *b_FRSCalibrEvent_mwdc_b_test; //!
TBranch *b_FRSCalibrEvent_mwdc_res_test; //!
TBranch *b_FRSCalibrEvent_focal_plane; //!
TBranch *b_FRSCalibrEvent_mwdc_x_corr; //!
TBranch *b_FRSCalibrEvent_qdcvalid; //!
TBranch *b_FRSCalibrEvent_Deuteron; //!
TBranch *b_FRSCalibrEvent_Trig; //!
TBranch *b_FRSCalibrEvent_sci_qdc; //!
TBranch *b_FRSCalibrEvent_sci_tdc; //!
TBranch *b_FRSCalibrEvent_sci_ml; //!
TBranch *b_FRSCalibrEvent_sci_mt; //!
TBranch *b_FRSCalibrEvent_sci_t0_tdc; //!
TBranch *b_FRSCalibrEvent_sci_time; //!
TBranch *b_FRSCalibrEvent_sci_timeave; //!
TBranch *b_FRSCalibrEvent_sci_timedif; //!
TBranch *b_FRSCalibrEvent_sci_de; //!
TBranch *b_FRSCalibrEvent_tof_21l_41l; //!
TBranch *b_FRSCalibrEvent_tof_21r_41r; //!
TBranch *b_FRSCalibrEvent_tof_21_41; //!
TBranch *b_FRSCalibrEvent_tof_41l_42l; //!
TBranch *b_FRSCalibrEvent_tof_41r_42r; //!
TBranch *b_FRSCalibrEvent_tof_41_42; //!
TBranch *b_FRSCalibrEvent_tof_2hl_41l; //!
TBranch *b_FRSCalibrEvent_tof_2hr_41r; //!
TBranch *b_FRSCalibrEvent_tof_2h_41; //!
TBranch *b_FRSCalibrEvent_tof_2vu_41l; //!
TBranch *b_FRSCalibrEvent_tof_2vd_41r; //!
TBranch *b_FRSCalibrEvent_tof_2v_41; //!
TBranch *b_FRSCalibrEvent_mini_qdc; //!
TBranch *b_FRSCalibrEvent_mini_qdc_cor; //!
TBranch *b_FRSCalibrEvent_mini_tdc; //!
TBranch *b_FRSCalibrEvent_mini_time; //!
TBranch *b_FRSCalibrEvent_mini_pe; //!
TBranch *b_FRSCalibrEvent_mini_pesum; //!
TBranch *b_FRSCalibrEvent_mini_la_qdc; //!
TBranch *b_FRSCalibrEvent_mini_baseline; //!
TBranch *b_FRSCalibrEvent_mini_x_average; //!
TBranch *b_FRSCalibrEvent_mini_x_cor; //!
TBranch *b_FRSCalibrEvent_mini_numhit; //!
TBranch *b_FRSCalibrEvent_hirac_qdc; //!
TBranch *b_FRSCalibrEvent_hirac_qdc_cor; //!
TBranch *b_FRSCalibrEvent_hirac_tdc; //!
TBranch *b_FRSCalibrEvent_hirac_time; //!
TBranch *b_FRSCalibrEvent_hirac_pe; //!
TBranch *b_FRSCalibrEvent_hirac_pesum; //!
TBranch *b_FRSCalibrEvent_hirac_x_average; //!
TBranch *b_FRSCalibrEvent_hirac_baseline; //!
TBranch *b_FRSCalibrEvent_hirac_la_qdc; //!
TBranch *b_FRSCalibrEvent_hirac_x_cor; //!
TBranch *b_FRSCalibrEvent_hirac_numhit; //!
TBranch *b_FRSCalibrEvent_torch_qdc; //!
TBranch *b_FRSCalibrEvent_torch_qdc_cor; //!
TBranch *b_FRSCalibrEvent_torch_tdc; //!
TBranch *b_FRSCalibrEvent_torch_time; //!
TBranch *b_FRSCalibrEvent_torch_pe; //!
TBranch *b_FRSCalibrEvent_torch_pesum; //!
TBranch *b_FRSCalibrEvent_torch_x_average; //!
TBranch *b_FRSCalibrEvent_torch_la_qdc; //!
TBranch *b_FRSCalibrEvent_torch_baseline; //!
TBranch *b_FRSCalibrEvent_torch_x_cor; //!
TBranch *b_FRSCalibrEvent_torch_numhit; //!
TBranch *b_FRSCalibrEvent_b_pi; //!
chkcaldata(TTree *tree=0);
virtual ~chkcaldata();
virtual Int_t Cut(Long64_t entry);
virtual Int_t GetEntry(Long64_t entry);
virtual Long64_t LoadTree(Long64_t entry);
virtual void Init(TTree *tree);
virtual void Loop();
virtual Bool_t Notify();
virtual void Show(Long64_t entry = -1);
};
#endif
#ifdef chkcaldata_cxx
chkcaldata::chkcaldata(TTree *tree) : fChain(0)
{
// if parameter tree is not specified (or zero), connect the file
// used to generate this class and read the Tree.
if (tree == 0) {
// TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("root/pd14Jul0181_CAL.root")
TFile *f = (TFile*)gROOT->GetListOfFiles()->FindObject("calFile.root");
if (!f || !f->IsOpen()) {
// f = new TFile("root/pd14Jul0181_CAL.root");
f = new TFile("calFile.root");
}
f->GetObject("CalibrxTree",tree);
}
Init(tree);
}
chkcaldata::~chkcaldata()
{
if (!fChain) return;
delete fChain->GetCurrentFile();
}
Int_t chkcaldata::GetEntry(Long64_t entry)
{
// Read contents of entry.
if (!fChain) return 0;
return fChain->GetEntry(entry);
}
Long64_t chkcaldata::LoadTree(Long64_t entry)
{
// Set the environment to read one entry
if (!fChain) return -5;
Long64_t centry = fChain->LoadTree(entry);
if (centry < 0) return centry;
if (fChain->GetTreeNumber() != fCurrent) {
fCurrent = fChain->GetTreeNumber();
Notify();
}
return centry;
}
void chkcaldata::Init(TTree *tree)
{
// The Init() function is called when the selector needs to initialize
// a new tree or chain. Typically here the branch addresses and branch
// pointers of the tree will be set.
// It is normally not necessary to make changes to the generated
// code, but the routine can be extended by the user if needed.
// Init() will be called many times when running on PROOF
// (once per file to be processed).
// Set branch addresses and branch pointers
if (!tree) return;
fChain = tree;
fCurrent = -1;
fChain->SetMakeClass(1);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fUniqueID", &FRSCalibrEvent_TGo4EventElement_fUniqueID, &b_FRSCalibrEvent_TGo4EventElement_fUniqueID);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fBits", &FRSCalibrEvent_TGo4EventElement_fBits, &b_FRSCalibrEvent_TGo4EventElement_fBits);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fName", &FRSCalibrEvent_TGo4EventElement_fName, &b_FRSCalibrEvent_TGo4EventElement_fName);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fTitle", &FRSCalibrEvent_TGo4EventElement_fTitle, &b_FRSCalibrEvent_TGo4EventElement_fTitle);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fbIsValid", &FRSCalibrEvent_TGo4EventElement_fbIsValid, &b_FRSCalibrEvent_TGo4EventElement_fbIsValid);
// fChain->SetBranchAddress("FRSCalibrEvent.TGo4EventElement.fIdentifier", &FRSCalibrEvent_TGo4EventElement_fIdentifier, &b_FRSCalibrEvent_TGo4EventElement_fIdentifier);
fChain->SetBranchAddress("FRSCalibrEvent.freeTrig", &FRSCalibrEvent_freeTrig, &b_FRSCalibrEvent_freeTrig);
fChain->SetBranchAddress("FRSCalibrEvent.acptTrig", &FRSCalibrEvent_acptTrig, &b_FRSCalibrEvent_acptTrig);
fChain->SetBranchAddress("FRSCalibrEvent.mon_inc[64]", FRSCalibrEvent_mon_inc, &b_FRSCalibrEvent_mon_inc);
fChain->SetBranchAddress("FRSCalibrEvent.seconds", &FRSCalibrEvent_seconds, &b_FRSCalibrEvent_seconds);
fChain->SetBranchAddress("FRSCalibrEvent.tenthsecs", &FRSCalibrEvent_tenthsecs, &b_FRSCalibrEvent_tenthsecs);
fChain->SetBranchAddress("FRSCalibrEvent.hundrethsecs", &FRSCalibrEvent_hundrethsecs, &b_FRSCalibrEvent_hundrethsecs);
fChain->SetBranchAddress("FRSCalibrEvent.extraction_cycle", &FRSCalibrEvent_extraction_cycle, &b_FRSCalibrEvent_extraction_cycle);
fChain->SetBranchAddress("FRSCalibrEvent.coin[16]", FRSCalibrEvent_coin, &b_FRSCalibrEvent_coin);
fChain->SetBranchAddress("FRSCalibrEvent.seetram", &FRSCalibrEvent_seetram, &b_FRSCalibrEvent_seetram);
fChain->SetBranchAddress("FRSCalibrEvent.mw_xsum[13]", FRSCalibrEvent_mw_xsum, &b_FRSCalibrEvent_mw_xsum);
fChain->SetBranchAddress("FRSCalibrEvent.mw_ysum[13]", FRSCalibrEvent_mw_ysum, &b_FRSCalibrEvent_mw_ysum);
fChain->SetBranchAddress("FRSCalibrEvent.mw_x[13]", FRSCalibrEvent_mw_x, &b_FRSCalibrEvent_mw_x);
fChain->SetBranchAddress("FRSCalibrEvent.mw_y[13]", FRSCalibrEvent_mw_y, &b_FRSCalibrEvent_mw_y);
fChain->SetBranchAddress("FRSCalibrEvent.mw_wire[13]", FRSCalibrEvent_mw_wire, &b_FRSCalibrEvent_mw_wire);
fChain->SetBranchAddress("FRSCalibrEvent.z_x_s2", &FRSCalibrEvent_z_x_s2, &b_FRSCalibrEvent_z_x_s2);
fChain->SetBranchAddress("FRSCalibrEvent.z_y_s2", &FRSCalibrEvent_z_y_s2, &b_FRSCalibrEvent_z_y_s2);
fChain->SetBranchAddress("FRSCalibrEvent.z_x_s4", &FRSCalibrEvent_z_x_s4, &b_FRSCalibrEvent_z_x_s4);
fChain->SetBranchAddress("FRSCalibrEvent.z_y_s4", &FRSCalibrEvent_z_y_s4, &b_FRSCalibrEvent_z_y_s4);
fChain->SetBranchAddress("FRSCalibrEvent.z_x_s8", &FRSCalibrEvent_z_x_s8, &b_FRSCalibrEvent_z_x_s8);
fChain->SetBranchAddress("FRSCalibrEvent.z_y_s8", &FRSCalibrEvent_z_y_s8, &b_FRSCalibrEvent_z_y_s8);
fChain->SetBranchAddress("FRSCalibrEvent.b_mw_xsum[13]", FRSCalibrEvent_b_mw_xsum, &b_FRSCalibrEvent_b_mw_xsum);
fChain->SetBranchAddress("FRSCalibrEvent.b_mw_ysum[13]", FRSCalibrEvent_b_mw_ysum, &b_FRSCalibrEvent_b_mw_ysum);
fChain->SetBranchAddress("FRSCalibrEvent.focx_s2", &FRSCalibrEvent_focx_s2, &b_FRSCalibrEvent_focx_s2);
fChain->SetBranchAddress("FRSCalibrEvent.focy_s2", &FRSCalibrEvent_focy_s2, &b_FRSCalibrEvent_focy_s2);
fChain->SetBranchAddress("FRSCalibrEvent.focx_s4", &FRSCalibrEvent_focx_s4, &b_FRSCalibrEvent_focx_s4);
fChain->SetBranchAddress("FRSCalibrEvent.focy_s4", &FRSCalibrEvent_focy_s4, &b_FRSCalibrEvent_focy_s4);
fChain->SetBranchAddress("FRSCalibrEvent.focx_s8", &FRSCalibrEvent_focx_s8, &b_FRSCalibrEvent_focx_s8);
fChain->SetBranchAddress("FRSCalibrEvent.focy_s8", &FRSCalibrEvent_focy_s8, &b_FRSCalibrEvent_focy_s8);
fChain->SetBranchAddress("FRSCalibrEvent.angle_x_s2", &FRSCalibrEvent_angle_x_s2, &b_FRSCalibrEvent_angle_x_s2);
fChain->SetBranchAddress("FRSCalibrEvent.angle_y_s2", &FRSCalibrEvent_angle_y_s2, &b_FRSCalibrEvent_angle_y_s2);
fChain->SetBranchAddress("FRSCalibrEvent.angle_x_s4", &FRSCalibrEvent_angle_x_s4, &b_FRSCalibrEvent_angle_x_s4);
fChain->SetBranchAddress("FRSCalibrEvent.angle_y_s4", &FRSCalibrEvent_angle_y_s4, &b_FRSCalibrEvent_angle_y_s4);
fChain->SetBranchAddress("FRSCalibrEvent.angle_x_s8", &FRSCalibrEvent_angle_x_s8, &b_FRSCalibrEvent_angle_x_s8);
fChain->SetBranchAddress("FRSCalibrEvent.angle_y_s8", &FRSCalibrEvent_angle_y_s8, &b_FRSCalibrEvent_angle_y_s8);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_csum[6][4]", FRSCalibrEvent_tpc_csum, &b_FRSCalibrEvent_tpc_csum);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_x[6]", FRSCalibrEvent_tpc_x, &b_FRSCalibrEvent_tpc_x);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_y[6]", FRSCalibrEvent_tpc_y, &b_FRSCalibrEvent_tpc_y);
fChain->SetBranchAddress("FRSCalibrEvent.b_tpc_csum[6][4]", FRSCalibrEvent_b_tpc_csum, &b_FRSCalibrEvent_b_tpc_csum);
fChain->SetBranchAddress("FRSCalibrEvent.b_tpc_xy[6]", FRSCalibrEvent_b_tpc_xy, &b_FRSCalibrEvent_b_tpc_xy);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_x_s2_foc", &FRSCalibrEvent_tpc_x_s2_foc, &b_FRSCalibrEvent_tpc_x_s2_foc);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_y_s2_foc", &FRSCalibrEvent_tpc_y_s2_foc, &b_FRSCalibrEvent_tpc_y_s2_foc);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_x_s2_foc", &FRSCalibrEvent_tpc_angle_x_s2_foc, &b_FRSCalibrEvent_tpc_angle_x_s2_foc);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_y_s2_foc", &FRSCalibrEvent_tpc_angle_y_s2_foc, &b_FRSCalibrEvent_tpc_angle_y_s2_foc);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_x_s4", &FRSCalibrEvent_tpc_x_s4, &b_FRSCalibrEvent_tpc_x_s4);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_y_s4", &FRSCalibrEvent_tpc_y_s4, &b_FRSCalibrEvent_tpc_y_s4);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_x_s4", &FRSCalibrEvent_tpc_angle_x_s4, &b_FRSCalibrEvent_tpc_angle_x_s4);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_y_s4", &FRSCalibrEvent_tpc_angle_y_s4, &b_FRSCalibrEvent_tpc_angle_y_s4);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_x_s4_target1", &FRSCalibrEvent_tpc_x_s4_target1, &b_FRSCalibrEvent_tpc_x_s4_target1);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_y_s4_target1", &FRSCalibrEvent_tpc_y_s4_target1, &b_FRSCalibrEvent_tpc_y_s4_target1);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_x_s4_target2", &FRSCalibrEvent_tpc_x_s4_target2, &b_FRSCalibrEvent_tpc_x_s4_target2);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_y_s4_target2", &FRSCalibrEvent_tpc_y_s4_target2, &b_FRSCalibrEvent_tpc_y_s4_target2);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_x_s4_target2", &FRSCalibrEvent_tpc_angle_x_s4_target2, &b_FRSCalibrEvent_tpc_angle_x_s4_target2);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_angle_y_s4_target2", &FRSCalibrEvent_tpc_angle_y_s4_target2, &b_FRSCalibrEvent_tpc_angle_y_s4_target2);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_sc21_x", &FRSCalibrEvent_tpc_sc21_x, &b_FRSCalibrEvent_tpc_sc21_x);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_sc41_x", &FRSCalibrEvent_tpc_sc41_x, &b_FRSCalibrEvent_tpc_sc41_x);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_sc21_y", &FRSCalibrEvent_tpc_sc21_y, &b_FRSCalibrEvent_tpc_sc21_y);
fChain->SetBranchAddress("FRSCalibrEvent.tpc_sc41_y", &FRSCalibrEvent_tpc_sc41_y, &b_FRSCalibrEvent_tpc_sc41_y);
fChain->SetBranchAddress("FRSCalibrEvent.sc21_x", &FRSCalibrEvent_sc21_x, &b_FRSCalibrEvent_sc21_x);
fChain->SetBranchAddress("FRSCalibrEvent.sc22_x", &FRSCalibrEvent_sc22_x, &b_FRSCalibrEvent_sc22_x);
fChain->SetBranchAddress("FRSCalibrEvent.itag_stopper_x", &FRSCalibrEvent_itag_stopper_x, &b_FRSCalibrEvent_itag_stopper_x);
fChain->SetBranchAddress("FRSCalibrEvent.sc21_y", &FRSCalibrEvent_sc21_y, &b_FRSCalibrEvent_sc21_y);
fChain->SetBranchAddress("FRSCalibrEvent.sc81_x", &FRSCalibrEvent_sc81_x, &b_FRSCalibrEvent_sc81_x);
fChain->SetBranchAddress("FRSCalibrEvent.music1_x1", &FRSCalibrEvent_music1_x1, &b_FRSCalibrEvent_music1_x1);
fChain->SetBranchAddress("FRSCalibrEvent.music1_x2", &FRSCalibrEvent_music1_x2, &b_FRSCalibrEvent_music1_x2);
fChain->SetBranchAddress("FRSCalibrEvent.music1_x3", &FRSCalibrEvent_music1_x3, &b_FRSCalibrEvent_music1_x3);
fChain->SetBranchAddress("FRSCalibrEvent.music1_x4", &FRSCalibrEvent_music1_x4, &b_FRSCalibrEvent_music1_x4);
fChain->SetBranchAddress("FRSCalibrEvent.music2_x", &FRSCalibrEvent_music2_x, &b_FRSCalibrEvent_music2_x);
fChain->SetBranchAddress("FRSCalibrEvent.etap_scaler[64]", FRSCalibrEvent_etap_scaler, &b_FRSCalibrEvent_etap_scaler);
fChain->SetBranchAddress("FRSCalibrEvent.etap_scaler_increase[64]", FRSCalibrEvent_etap_scaler_increase, &b_FRSCalibrEvent_etap_scaler_increase);
fChain->SetBranchAddress("FRSCalibrEvent.etap_scaler_normalized[64]", FRSCalibrEvent_etap_scaler_normalized, &b_FRSCalibrEvent_etap_scaler_normalized);
fChain->SetBranchAddress("FRSCalibrEvent.mh_scaler[64]", FRSCalibrEvent_mh_scaler, &b_FRSCalibrEvent_mh_scaler);
fChain->SetBranchAddress("FRSCalibrEvent.mh_scaler_increase[64]", FRSCalibrEvent_mh_scaler_increase, &b_FRSCalibrEvent_mh_scaler_increase);
fChain->SetBranchAddress("FRSCalibrEvent.mh_scaler_normalized[64]", FRSCalibrEvent_mh_scaler_normalized, &b_FRSCalibrEvent_mh_scaler_normalized);
fChain->SetBranchAddress("FRSCalibrEvent.s4cor_x", &FRSCalibrEvent_s4cor_x, &b_FRSCalibrEvent_s4cor_x);
fChain->SetBranchAddress("FRSCalibrEvent.s4cor_y", &FRSCalibrEvent_s4cor_y, &b_FRSCalibrEvent_s4cor_y);
fChain->SetBranchAddress("FRSCalibrEvent.s4cor_a", &FRSCalibrEvent_s4cor_a, &b_FRSCalibrEvent_s4cor_a);
fChain->SetBranchAddress("FRSCalibrEvent.s4cor_b", &FRSCalibrEvent_s4cor_b, &b_FRSCalibrEvent_s4cor_b);
fChain->SetBranchAddress("FRSCalibrEvent.s4foc_x", &FRSCalibrEvent_s4foc_x, &b_FRSCalibrEvent_s4foc_x);
fChain->SetBranchAddress("FRSCalibrEvent.s4foc_y", &FRSCalibrEvent_s4foc_y, &b_FRSCalibrEvent_s4foc_y);
fChain->SetBranchAddress("FRSCalibrEvent.s4foc_a", &FRSCalibrEvent_s4foc_a, &b_FRSCalibrEvent_s4foc_a);
fChain->SetBranchAddress("FRSCalibrEvent.s4foc_b", &FRSCalibrEvent_s4foc_b, &b_FRSCalibrEvent_s4foc_b);
fChain->SetBranchAddress("FRSCalibrEvent.sc41_x", &FRSCalibrEvent_sc41_x, &b_FRSCalibrEvent_sc41_x);
fChain->SetBranchAddress("FRSCalibrEvent.sc41_y", &FRSCalibrEvent_sc41_y, &b_FRSCalibrEvent_sc41_y);
fChain->SetBranchAddress("FRSCalibrEvent.sc41_a", &FRSCalibrEvent_sc41_a, &b_FRSCalibrEvent_sc41_a);
fChain->SetBranchAddress("FRSCalibrEvent.sc41_b", &FRSCalibrEvent_sc41_b, &b_FRSCalibrEvent_sc41_b);
fChain->SetBranchAddress("FRSCalibrEvent.sc42_x", &FRSCalibrEvent_sc42_x, &b_FRSCalibrEvent_sc42_x);
fChain->SetBranchAddress("FRSCalibrEvent.sc42_y", &FRSCalibrEvent_sc42_y, &b_FRSCalibrEvent_sc42_y);
fChain->SetBranchAddress("FRSCalibrEvent.sc42_a", &FRSCalibrEvent_sc42_a, &b_FRSCalibrEvent_sc42_a);
fChain->SetBranchAddress("FRSCalibrEvent.sc42_b", &FRSCalibrEvent_sc42_b, &b_FRSCalibrEvent_sc42_b);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_x", &FRSCalibrEvent_hirac_x, &b_FRSCalibrEvent_hirac_x);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_y", &FRSCalibrEvent_hirac_y, &b_FRSCalibrEvent_hirac_y);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_a", &FRSCalibrEvent_hirac_a, &b_FRSCalibrEvent_hirac_a);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_b", &FRSCalibrEvent_hirac_b, &b_FRSCalibrEvent_hirac_b);
fChain->SetBranchAddress("FRSCalibrEvent.torch_x", &FRSCalibrEvent_torch_x, &b_FRSCalibrEvent_torch_x);
fChain->SetBranchAddress("FRSCalibrEvent.torch_y", &FRSCalibrEvent_torch_y, &b_FRSCalibrEvent_torch_y);
fChain->SetBranchAddress("FRSCalibrEvent.torch_a", &FRSCalibrEvent_torch_a, &b_FRSCalibrEvent_torch_a);
fChain->SetBranchAddress("FRSCalibrEvent.torch_b", &FRSCalibrEvent_torch_b, &b_FRSCalibrEvent_torch_b);
fChain->SetBranchAddress("FRSCalibrEvent.etap_trig[4]", FRSCalibrEvent_etap_trig, &b_FRSCalibrEvent_etap_trig);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_numhit[16]", FRSCalibrEvent_mwdc_numhit, &b_FRSCalibrEvent_mwdc_numhit);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_tot[16][64]", FRSCalibrEvent_mwdc_tot, &b_FRSCalibrEvent_mwdc_tot);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_time[16][64]", FRSCalibrEvent_mwdc_time, &b_FRSCalibrEvent_mwdc_time);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_time_asd[16][64][3]", FRSCalibrEvent_mwdc_time_asd, &b_FRSCalibrEvent_mwdc_time_asd);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_time_wMaxToT[16]", FRSCalibrEvent_mwdc_time_wMaxToT, &b_FRSCalibrEvent_mwdc_time_wMaxToT);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_wireid[16][64]", FRSCalibrEvent_mwdc_wireid, &b_FRSCalibrEvent_mwdc_wireid);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_wirepos[16][64]", FRSCalibrEvent_mwdc_wirepos, &b_FRSCalibrEvent_mwdc_wirepos);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_length[16][64]", FRSCalibrEvent_mwdc_length, &b_FRSCalibrEvent_mwdc_length);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_length_asd[16][64][3]", FRSCalibrEvent_mwdc_length_asd, &b_FRSCalibrEvent_mwdc_length_asd);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_numtrack", &FRSCalibrEvent_mwdc_numtrack, &b_FRSCalibrEvent_mwdc_numtrack);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_numtrack_estimate[2]", FRSCalibrEvent_mwdc_numtrack_estimate, &b_FRSCalibrEvent_mwdc_numtrack_estimate);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_chi2", &FRSCalibrEvent_mwdc_chi2, &b_FRSCalibrEvent_mwdc_chi2);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_x", &FRSCalibrEvent_mwdc_x, &b_FRSCalibrEvent_mwdc_x);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_y", &FRSCalibrEvent_mwdc_y, &b_FRSCalibrEvent_mwdc_y);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_a", &FRSCalibrEvent_mwdc_a, &b_FRSCalibrEvent_mwdc_a);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_b", &FRSCalibrEvent_mwdc_b, &b_FRSCalibrEvent_mwdc_b);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_res[16]", FRSCalibrEvent_mwdc_res, &b_FRSCalibrEvent_mwdc_res);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_x_ex[16]", FRSCalibrEvent_mwdc_x_ex, &b_FRSCalibrEvent_mwdc_x_ex);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_res_ex[16]", FRSCalibrEvent_mwdc_res_ex, &b_FRSCalibrEvent_mwdc_res_ex);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_chi2_test[2]", FRSCalibrEvent_mwdc_chi2_test, &b_FRSCalibrEvent_mwdc_chi2_test);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_x_test[2]", FRSCalibrEvent_mwdc_x_test, &b_FRSCalibrEvent_mwdc_x_test);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_y_test[2]", FRSCalibrEvent_mwdc_y_test, &b_FRSCalibrEvent_mwdc_y_test);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_a_test[2]", FRSCalibrEvent_mwdc_a_test, &b_FRSCalibrEvent_mwdc_a_test);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_b_test[2]", FRSCalibrEvent_mwdc_b_test, &b_FRSCalibrEvent_mwdc_b_test);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_res_test[2][8]", FRSCalibrEvent_mwdc_res_test, &b_FRSCalibrEvent_mwdc_res_test);
fChain->SetBranchAddress("FRSCalibrEvent.focal_plane", &FRSCalibrEvent_focal_plane, &b_FRSCalibrEvent_focal_plane);
fChain->SetBranchAddress("FRSCalibrEvent.mwdc_x_corr", &FRSCalibrEvent_mwdc_x_corr, &b_FRSCalibrEvent_mwdc_x_corr);
fChain->SetBranchAddress("FRSCalibrEvent.qdcvalid", &FRSCalibrEvent_qdcvalid, &b_FRSCalibrEvent_qdcvalid);
fChain->SetBranchAddress("FRSCalibrEvent.Deuteron", &FRSCalibrEvent_Deuteron, &b_FRSCalibrEvent_Deuteron);
fChain->SetBranchAddress("FRSCalibrEvent.Trig[4]", FRSCalibrEvent_Trig, &b_FRSCalibrEvent_Trig);
fChain->SetBranchAddress("FRSCalibrEvent.sci_qdc[16][2]", FRSCalibrEvent_sci_qdc, &b_FRSCalibrEvent_sci_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.sci_tdc[16][2]", FRSCalibrEvent_sci_tdc, &b_FRSCalibrEvent_sci_tdc);
fChain->SetBranchAddress("FRSCalibrEvent.sci_ml[16][2]", FRSCalibrEvent_sci_ml, &b_FRSCalibrEvent_sci_ml);
fChain->SetBranchAddress("FRSCalibrEvent.sci_mt[16][2]", FRSCalibrEvent_sci_mt, &b_FRSCalibrEvent_sci_mt);
fChain->SetBranchAddress("FRSCalibrEvent.sci_t0_tdc[16][2]", FRSCalibrEvent_sci_t0_tdc, &b_FRSCalibrEvent_sci_t0_tdc);
fChain->SetBranchAddress("FRSCalibrEvent.sci_time[16][2]", FRSCalibrEvent_sci_time, &b_FRSCalibrEvent_sci_time);
fChain->SetBranchAddress("FRSCalibrEvent.sci_timeave[16]", FRSCalibrEvent_sci_timeave, &b_FRSCalibrEvent_sci_timeave);
fChain->SetBranchAddress("FRSCalibrEvent.sci_timedif[16]", FRSCalibrEvent_sci_timedif, &b_FRSCalibrEvent_sci_timedif);
fChain->SetBranchAddress("FRSCalibrEvent.sci_de[16]", FRSCalibrEvent_sci_de, &b_FRSCalibrEvent_sci_de);
fChain->SetBranchAddress("FRSCalibrEvent.tof_21l_41l", &FRSCalibrEvent_tof_21l_41l, &b_FRSCalibrEvent_tof_21l_41l);
fChain->SetBranchAddress("FRSCalibrEvent.tof_21r_41r", &FRSCalibrEvent_tof_21r_41r, &b_FRSCalibrEvent_tof_21r_41r);
fChain->SetBranchAddress("FRSCalibrEvent.tof_21_41", &FRSCalibrEvent_tof_21_41, &b_FRSCalibrEvent_tof_21_41);
fChain->SetBranchAddress("FRSCalibrEvent.tof_41l_42l", &FRSCalibrEvent_tof_41l_42l, &b_FRSCalibrEvent_tof_41l_42l);
fChain->SetBranchAddress("FRSCalibrEvent.tof_41r_42r", &FRSCalibrEvent_tof_41r_42r, &b_FRSCalibrEvent_tof_41r_42r);
fChain->SetBranchAddress("FRSCalibrEvent.tof_41_42", &FRSCalibrEvent_tof_41_42, &b_FRSCalibrEvent_tof_41_42);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2hl_41l", &FRSCalibrEvent_tof_2hl_41l, &b_FRSCalibrEvent_tof_2hl_41l);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2hr_41r", &FRSCalibrEvent_tof_2hr_41r, &b_FRSCalibrEvent_tof_2hr_41r);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2h_41", &FRSCalibrEvent_tof_2h_41, &b_FRSCalibrEvent_tof_2h_41);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2vu_41l", &FRSCalibrEvent_tof_2vu_41l, &b_FRSCalibrEvent_tof_2vu_41l);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2vd_41r", &FRSCalibrEvent_tof_2vd_41r, &b_FRSCalibrEvent_tof_2vd_41r);
fChain->SetBranchAddress("FRSCalibrEvent.tof_2v_41", &FRSCalibrEvent_tof_2v_41, &b_FRSCalibrEvent_tof_2v_41);
fChain->SetBranchAddress("FRSCalibrEvent.mini_qdc[2]", FRSCalibrEvent_mini_qdc, &b_FRSCalibrEvent_mini_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.mini_qdc_cor[2]", FRSCalibrEvent_mini_qdc_cor, &b_FRSCalibrEvent_mini_qdc_cor);
fChain->SetBranchAddress("FRSCalibrEvent.mini_tdc[2]", FRSCalibrEvent_mini_tdc, &b_FRSCalibrEvent_mini_tdc);
fChain->SetBranchAddress("FRSCalibrEvent.mini_time[2]", FRSCalibrEvent_mini_time, &b_FRSCalibrEvent_mini_time);
fChain->SetBranchAddress("FRSCalibrEvent.mini_pe[2]", FRSCalibrEvent_mini_pe, &b_FRSCalibrEvent_mini_pe);
fChain->SetBranchAddress("FRSCalibrEvent.mini_pesum", &FRSCalibrEvent_mini_pesum, &b_FRSCalibrEvent_mini_pesum);
fChain->SetBranchAddress("FRSCalibrEvent.mini_la_qdc", &FRSCalibrEvent_mini_la_qdc, &b_FRSCalibrEvent_mini_la_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.mini_baseline", &FRSCalibrEvent_mini_baseline, &b_FRSCalibrEvent_mini_baseline);
fChain->SetBranchAddress("FRSCalibrEvent.mini_x_average", &FRSCalibrEvent_mini_x_average, &b_FRSCalibrEvent_mini_x_average);
fChain->SetBranchAddress("FRSCalibrEvent.mini_x_cor", &FRSCalibrEvent_mini_x_cor, &b_FRSCalibrEvent_mini_x_cor);
fChain->SetBranchAddress("FRSCalibrEvent.mini_numhit", &FRSCalibrEvent_mini_numhit, &b_FRSCalibrEvent_mini_numhit);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_qdc[8]", FRSCalibrEvent_hirac_qdc, &b_FRSCalibrEvent_hirac_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_qdc_cor[8]", FRSCalibrEvent_hirac_qdc_cor, &b_FRSCalibrEvent_hirac_qdc_cor);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_tdc[8]", FRSCalibrEvent_hirac_tdc, &b_FRSCalibrEvent_hirac_tdc);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_time[8]", FRSCalibrEvent_hirac_time, &b_FRSCalibrEvent_hirac_time);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_pe[8]", FRSCalibrEvent_hirac_pe, &b_FRSCalibrEvent_hirac_pe);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_pesum", &FRSCalibrEvent_hirac_pesum, &b_FRSCalibrEvent_hirac_pesum);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_x_average", &FRSCalibrEvent_hirac_x_average, &b_FRSCalibrEvent_hirac_x_average);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_baseline", &FRSCalibrEvent_hirac_baseline, &b_FRSCalibrEvent_hirac_baseline);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_la_qdc", &FRSCalibrEvent_hirac_la_qdc, &b_FRSCalibrEvent_hirac_la_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_x_cor", &FRSCalibrEvent_hirac_x_cor, &b_FRSCalibrEvent_hirac_x_cor);
fChain->SetBranchAddress("FRSCalibrEvent.hirac_numhit", &FRSCalibrEvent_hirac_numhit, &b_FRSCalibrEvent_hirac_numhit);
fChain->SetBranchAddress("FRSCalibrEvent.torch_qdc[6]", FRSCalibrEvent_torch_qdc, &b_FRSCalibrEvent_torch_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.torch_qdc_cor[6]", FRSCalibrEvent_torch_qdc_cor, &b_FRSCalibrEvent_torch_qdc_cor);
fChain->SetBranchAddress("FRSCalibrEvent.torch_tdc[6]", FRSCalibrEvent_torch_tdc, &b_FRSCalibrEvent_torch_tdc);
fChain->SetBranchAddress("FRSCalibrEvent.torch_time[6]", FRSCalibrEvent_torch_time, &b_FRSCalibrEvent_torch_time);
fChain->SetBranchAddress("FRSCalibrEvent.torch_pe[6]", FRSCalibrEvent_torch_pe, &b_FRSCalibrEvent_torch_pe);
fChain->SetBranchAddress("FRSCalibrEvent.torch_pesum", &FRSCalibrEvent_torch_pesum, &b_FRSCalibrEvent_torch_pesum);
fChain->SetBranchAddress("FRSCalibrEvent.torch_x_average", &FRSCalibrEvent_torch_x_average, &b_FRSCalibrEvent_torch_x_average);
fChain->SetBranchAddress("FRSCalibrEvent.torch_la_qdc", &FRSCalibrEvent_torch_la_qdc, &b_FRSCalibrEvent_torch_la_qdc);
fChain->SetBranchAddress("FRSCalibrEvent.torch_baseline", &FRSCalibrEvent_torch_baseline, &b_FRSCalibrEvent_torch_baseline);
fChain->SetBranchAddress("FRSCalibrEvent.torch_x_cor", &FRSCalibrEvent_torch_x_cor, &b_FRSCalibrEvent_torch_x_cor);
fChain->SetBranchAddress("FRSCalibrEvent.torch_numhit", &FRSCalibrEvent_torch_numhit, &b_FRSCalibrEvent_torch_numhit);
fChain->SetBranchAddress("FRSCalibrEvent.b_pi[5]", FRSCalibrEvent_b_pi, &b_FRSCalibrEvent_b_pi);
Notify();
}
Bool_t chkcaldata::Notify()
{
// The Notify() function is called when a new file is opened. This
// can be either for a new TTree in a TChain or when when a new TTree
// is started when using PROOF. It is normally not necessary to make changes
// to the generated code, but the routine can be extended by the
// user if needed. The return value is currently not used.
return kTRUE;
}
void chkcaldata::Show(Long64_t entry)
{
// Print contents of entry.
// If entry is not specified, print current entry
if (!fChain) return;
fChain->Show(entry);
}
Int_t chkcaldata::Cut(Long64_t entry)
{
// This function may be called from Loop.
// returns 1 if entry is accepted.
// returns -1 otherwise.
return 1;
}
#endif // #ifdef chkcaldata_cxx