-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfqEvent.h
835 lines (827 loc) · 28.3 KB
/
fqEvent.h
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
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Fri Sep 4 11:28:11 2015 by ROOT version 5.28/00c
// from TTree h1/DST
// found on file: jan14sk4_skdetsim13p90_neut532.reduc.081_fQv4r0.root
//////////////////////////////////////////////////////////
#ifndef fqEvent_h
#define fqEvent_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include <TMath.h>
#include "shared.h"
#include "TVector3.h"
#include <TString.h>
class fqEvent {
public :
TTree *fChain; //!pointer to the analyzed TTree or TChain
Int_t fCurrent; //!current Tree number in a TChain
// Declaration of leaf types
Int_t nring;
UInt_t nrun;
Int_t nev;
Int_t nsub;
UInt_t cate;
Float_t potot;
UInt_t nhit;
Float_t pomax;
Float_t potota;
UInt_t nhita;
UInt_t nhitac;
Float_t pomaxa;
Float_t wall;
Float_t evis;
Float_t rtsum;
Float_t rtmax;
Float_t wlen;
UInt_t ip[10]; //[nring]
Float_t pos[3];
Float_t dir[10][3]; //[nring]
Float_t dirtot[3];
Float_t ang[10]; //[nring]
Float_t rtot[10]; //[nring]
Float_t amom[10]; //[nring]
Float_t rtote[10]; //[nring]
Float_t amome[10]; //[nring]
Float_t rtotm[10]; //[nring]
Float_t amomm[10]; //[nring]
UInt_t nsube;
UInt_t ndcy;
UInt_t ngate;
UInt_t nbye;
Float_t probms[10][6]; //[nring]
Float_t prmslg[10][6]; //[nring]
Int_t date[3];
Int_t time[4];
Float_t elpsday;
Int_t numpo[10]; //[nring]
Float_t apos[3];
Float_t adir[3];
Float_t aang;
Float_t agood;
Float_t wgain;
Int_t nbad;
Int_t nbada;
Float_t msdir[10][3][6]; //[nring]
Float_t amomp[10];
Float_t ange[10];
Float_t angm[10];
Float_t angp[10];
Int_t ntot[10];
Float_t probth[10][6];
Float_t probpt[10][6];
Float_t pi0like[2];
Float_t pi0_e[2][2];
Float_t pi0_dir[2][2][3];
Float_t pi0mass[2];
Float_t evisold;
Float_t evisoldxe;
Float_t evisnew;
Int_t nmue;
UInt_t etype[10]; //[nmue]
Float_t etime[10]; //[nmue]
Float_t epos[10][3]; //[nmue]
Float_t edir[10][3]; //[nmue]
Float_t egood[10]; //[nmue]
Float_t ehit[10]; //[nmue]
Float_t mueprob[2];
Int_t nmue_sel;
Int_t Rnring;
Float_t Rdir[30][3]; //[Rnring]
Float_t Rang[30]; //[Rnring]
UInt_t Riring;
Float_t Rtwout[30]; //[Rnring]
Float_t Rtwith[30]; //[Rnring]
Float_t Alwout;
Float_t Alwith;
Float_t Qsmi;
Float_t Qsmo;
Float_t Qexi;
Float_t Qexo;
Float_t Pe5d;
Float_t En5d;
Float_t Eh5d;
Float_t Pe5do;
Float_t En5do;
Float_t Eh5do;
Float_t Rtadd;
Float_t Pdgeta;
Float_t Pd5d;
Float_t Pdthre;
Float_t Pd5do;
Float_t Delpd;
Float_t Ropena[30]; //[Rnring]
Int_t Maxth;
Float_t Pkang;
Float_t Qrfct;
Float_t Pdfct;
Float_t Pkfct;
Float_t Agfct;
Float_t Dlfct;
Int_t Iflag;
Float_t Pmfct;
Float_t Imfct;
Float_t Rilike;
Int_t ri_ver;
Float_t ri_pid;
Int_t ri_nring;
Float_t ri_flag[10]; //[ri_nring]
Float_t ri_dlfct[10]; //[ri_nring]
Float_t ri_pdfct[10]; //[ri_nring]
Float_t ri_pkfct[10]; //[ri_nring]
Float_t ri_vafct[10]; //[ri_nring]
Float_t ri_total[10]; //[ri_nring]
Float_t ri_dir[10][3]; //[ri_nring]
Float_t ri_imfct[10]; //[ri_nring]
Float_t ri_pmfct[10]; //[ri_nring]
Int_t npar;
Float_t wallv;
UInt_t ipv[50]; //[npar]
Float_t posv[3];
Float_t dirv[50][3]; //[npar]
Float_t pmomv[50]; //[npar]
Int_t light_flag[50]; //[npar]
Int_t npar2;
Float_t wallv2[50]; //[npar2]
UInt_t ipv2[50]; //[npar2]
UInt_t iorg[50]; //[npar2]
Float_t posv2[50][3]; //[npar2]
Float_t dirv2[50][3]; //[npar2]
Float_t pmomv2[50]; //[npar2]
Int_t numnu;
Int_t mode;
Int_t ipnu[50]; //[numnu]
Float_t pnu[50]; //[numnu]
Float_t dirnu[50][3]; //[numnu]
Float_t flxg[3];
Float_t flxh01[3];
Float_t kflux[4];
Float_t bs71[3];
Float_t bs74[3];
Float_t flxf[3];
Float_t flxh1d[3];
Float_t flxb03[3];
Float_t flxf03[3];
//Float_t flxh06[3];
// Float_t flxh11[3];
Int_t scan[2];
Int_t nuceff_version;
Int_t charge_exchange;
Int_t absorbed;
Int_t multipi_gen;
Int_t scattering;
Int_t piless_dcy;
Int_t nscndprt;
Int_t itrkscnd[1000]; //[nscndprt]
Int_t istakscnd[1000]; //[nscndprt]
Float_t vtxscnd[1000][3]; //[nscndprt]
Float_t pscnd[1000][3]; //[nscndprt]
Int_t iprtscnd[1000]; //[nscndprt]
Float_t tscnd[1000]; //[nscndprt]
Int_t iprntprt[1000]; //[nscndprt]
Int_t lmecscnd[1000]; //[nscndprt]
Int_t iprnttrk[1000]; //[nscndprt]
Int_t iorgprt[1000]; //[nscndprt]
Float_t pprnt[1000][3]; //[nscndprt]
Int_t iflgscnd[1000]; //[nscndprt]
Float_t pprntinit[1000][3]; //[nscndprt]
Float_t vtxprnt[1000][3]; //[nscndprt]
Int_t iprntidx[1000]; //[nscndprt]
Int_t nchilds[1000]; //[nscndprt]
Int_t ichildidx[1000]; //[nscndprt]
Int_t Npvcscnd;
Int_t Nchildsvc[100]; //[Npvcscnd]
Int_t Ichildidxvc[100]; //[Npvcscnd]
Int_t Neutmode;
Int_t Npne;
Int_t Ipne[100]; //[Npne]
Float_t Abspne[100]; //[Npne]
Float_t Pvecne[100][3]; //[Npne]
Int_t Npvc;
Int_t Ipvc[100]; //[Npvc]
Int_t Ichvc[100]; //[Npvc]
Int_t Iorgvc[100]; //[Npvc]
Int_t Iflvc[100]; //[Npvc]
Float_t Abspvc[100]; //[Npvc]
Float_t Pvc[100][3]; //[Npvc]
Float_t Crsx;
Float_t Crsy;
Float_t Crsz;
Float_t Crsphi;
Int_t Numbndn;
Int_t Numbndp;
Int_t Numfrep;
Int_t Numatom;
Int_t Ibound;
Int_t Neutinpmt;
Int_t Nvert;
Float_t Posvert[300][3]; //[Nvert]
Int_t Iflgvert[300]; //[Nvert]
Int_t Nvcvert;
Float_t Dirvert[900][3]; //[Nvcvert]
Float_t Abspvert[900]; //[Nvcvert]
Float_t Abstpvert[900]; //[Nvcvert]
Int_t Ipvert[900]; //[Nvcvert]
Int_t Iverti[900]; //[Nvcvert]
Int_t Ivertf[900]; //[Nvcvert]
Float_t Fsiprob;
Float_t Fsivarwt[24];
Int_t Nvertsk;
Float_t Posvertsk[300][3]; //[Nvertsk]
Int_t Iflgvertsk[300]; //[Nvertsk]
Int_t Nvcvertsk;
Float_t Dirvertsk[900][3]; //[Nvcvertsk]
Float_t Abspvertsk[900]; //[Nvcvertsk]
Float_t Abstpvertsk[900]; //[Nvcvertsk]
Int_t Ipvertsk[900]; //[Nvcvertsk]
Int_t Ivertisk[900]; //[Nvcvertsk]
Int_t Ivertfsk[900]; //[Nvcvertsk]
Float_t Fsiprobsk;
Float_t trgoff;
Int_t fqntwnd;
Int_t fqtwnd_iclstr[10]; //[fqntwnd]
Int_t fqtwnd_npeak[10]; //[fqntwnd]
Float_t fqtwnd_prftt0[10]; //[fqntwnd]
Float_t fqtwnd_prftpos[10][3]; //[fqntwnd]
Float_t fqtwnd[10][2]; //[fqntwnd]
Float_t fqtwnd_peakt0[10][10]; //[fqntwnd]
Float_t fqtwnd_peakiness[10][10]; //[fqntwnd]
Int_t fqnse;
Int_t fqitwnd[10]; //[fqnse]
Int_t fqipeak[10]; //[fqnse]
Int_t fqnhitpmt[10]; //[fqnse]
Float_t fqtotq[10]; //[fqnse]
Float_t fq0rtotmu[10]; //[fqnse]
Float_t fq0rnll[10]; //[fqnse]
Int_t fqn50[10]; //[fqnse]
Float_t fqq50[10]; //[fqnse]
Int_t fq1rpcflg[10][7]; //[fqnse]
Float_t fq1rmom[10][7]; //[fqnse]
Float_t fq1rt0[10][7]; //[fqnse]
Float_t fq1rtotmu[10][7]; //[fqnse]
Float_t fq1rnll[10][7]; //[fqnse]
Float_t fq1rpos[10][7][3]; //[fqnse]
Float_t fq1rdir[10][7][3]; //[fqnse]
Float_t fq1rdconv[10][7]; //[fqnse]
Float_t fq1reloss[10][7]; //[fqnse]
Float_t fq1renu[2];
Int_t fqpi0pcflg[2];
Float_t fqpi0mom1[2];
Float_t fqpi0mom2[2];
Float_t fqpi0momtot[2];
Float_t fqpi0dconv1[2];
Float_t fqpi0dconv2[2];
Float_t fqpi0t0[2];
Float_t fqpi0totmu[2];
Float_t fqpi0nll[2];
Float_t fqpi0mass[2];
Float_t fqpi0photangle[2];
Float_t fqpi0pos[2][3];
Float_t fqpi0dir1[2][3];
Float_t fqpi0dir2[2][3];
Float_t fqpi0dirtot[2][3];
Int_t fqnmrfit;
Int_t fqmrifit[32]; //[fqnmrfit]
Int_t fqmrnring[32]; //[fqnmrfit]
Int_t fqmrpcflg[32]; //[fqnmrfit]
Float_t fqmrnll[32]; //[fqnmrfit]
Float_t fqmrtotmu[32]; //[fqnmrfit]
Int_t fqmrpid[32][6]; //[fqnmrfit]
Float_t fqmrmom[32][6]; //[fqnmrfit]
Float_t fqmrdconv[32][6]; //[fqnmrfit]
Float_t fqmreloss[32][6]; //[fqnmrfit]
Float_t fqmrt0[32][6]; //[fqnmrfit]
Float_t fqmrpos[32][6][3]; //[fqnmrfit]
Float_t fqmrdir[32][6][3]; //[fqnmrfit]
Int_t fqmsnfit;
Int_t fqmspcflg[5]; //[fqmsnfit]
Int_t fqmsnseg[5]; //[fqmsnfit]
Int_t fqmspid[5]; //[fqmsnfit]
Int_t fqmsifit[5]; //[fqmsnfit]
Int_t fqmsimer[5]; //[fqmsnfit]
Float_t fqmstotmu[5]; //[fqmsnfit]
Float_t fqmsnll[5]; //[fqmsnfit]
Float_t fqmsmom[5][20]; //[fqmsnfit]
Float_t fqmseloss[5][20]; //[fqmsnfit]
Float_t fqmst0[5][20]; //[fqmsnfit]
Float_t fqmspos[5][20][3]; //[fqmsnfit]
Float_t fqmsdir[5][20][3]; //[fqmsnfit]
Float_t prid_ang;
Float_t prid_len;
Float_t prid_pmom;
Float_t prid_mang;
Float_t prid_plike;
Float_t prid_mlike;
Int_t prid_nused;
Int_t nn;
Int_t trgtype;
Int_t n200m;
Float_t t200m;
Float_t lasthit;
Float_t ntime[1000]; //[nn]
Float_t ngood[1000]; //[nn]
Float_t nvx[1000][3]; //[nn]
Float_t bvx[1000][3]; //[nn]
Float_t dirtotepi[3];
Float_t dirtotenpi[3];
Float_t dirtotmue[3];
Float_t dirsum[3];
Float_t etot;
Float_t etotepi;
Float_t etotenpi;
Float_t etotmue;
Float_t oscweight[2][4];
// Float_t oscwgt;
Float_t live;
Float_t sacth;
Float_t sactg;
Float_t sacth1d;
Float_t ccqelike;
Float_t mulike;
Float_t mproton;
Float_t outdir[3];
Int_t nused2;
Float_t vsum;
Float_t qsep;
Float_t qpeak;
Float_t qhigh;
Float_t qlow;
Int_t nzeros2;
Float_t moyenne2;
Float_t lproton;
Float_t qwin;
Float_t ent_pos[3];
Float_t ent_dir[3];
Float_t length;
Float_t tr_mom1;
Float_t A_ent_mom;
Float_t A_ent_pos[3];
Float_t A_ent_dir[3];
Float_t A_ext_mom;
Float_t A_ext_pos[3];
Float_t A_ext_dir[3];
Float_t Fit_pos[3];
Float_t Fit_dir[3];
Float_t Fit_len;
Float_t Fit_mom;
Int_t Fit_pid;
Int_t Um_ehit8m;
Int_t Um_ohit8m;
Float_t Um_qent;
Float_t Sh_chi1p;
Float_t Sh_delta;
Float_t Sh_mean;
Float_t Sh_meanq;
Int_t Sh_id;
Float_t Tr_stop[3];
Float_t Tr_mom;
Float_t Tr_len;
Float_t Tr_len1;
Int_t Pid_flg;
Float_t Crs1;
Float_t Crs2;
Int_t iclass;
Int_t mu_class;
Int_t mu_dec;
Float_t mu_dir[3];
Float_t mu_pos[3];
Float_t mu_good;
Int_t history;
Int_t Pdst;
Int_t idoff;
Float_t anthit;
Int_t idseq;
Float_t tstfrac;
Int_t judge;
Float_t Upcrs1;
Float_t Upcrs2;
Float_t lst;
Int_t jd;
Float_t fjd;
Float_t alt;
Float_t azi;
Float_t ra;
Float_t dec;
Float_t glat;
Float_t glong;
Int_t t2knuefs;
Int_t t2knuenpi0;
Int_t t2knueflag;
Double_t totwgt;
// from Xiaoyue's skimmed tree with atmospheric weights
Double_t wgtosc1[4];
Double_t wgtflx[4];
// from Shimpei's MC
Float_t oscwgt;
Float_t flxh11[3];
Float_t flxh06[3];
// List of branches
TBranch *b_nring; //!
TBranch *b_nrun; //!
TBranch *b_nev; //!
TBranch *b_nsub; //!
TBranch *b_cate; //!
TBranch *b_potot; //!
TBranch *b_nhit; //!
TBranch *b_pomax; //!
TBranch *b_potota; //!
TBranch *b_nhita; //!
TBranch *b_nhitac; //!
TBranch *b_pomaxa; //!
TBranch *b_wall; //!
TBranch *b_evis; //!
TBranch *b_rtsum; //!
TBranch *b_rtmax; //!
TBranch *b_wlen; //!
TBranch *b_ip; //!
TBranch *b_pos; //!
TBranch *b_dir; //!
TBranch *b_dirtot; //!
TBranch *b_ang; //!
TBranch *b_rtot; //!
TBranch *b_amom; //!
TBranch *b_rtote; //!
TBranch *b_amome; //!
TBranch *b_rtotm; //!
TBranch *b_amomm; //!
TBranch *b_nsube; //!
TBranch *b_ndcy; //!
TBranch *b_ngate; //!
TBranch *b_nbye; //!
TBranch *b_probms; //!
TBranch *b_prmslg; //!
TBranch *b_date; //!
TBranch *b_time; //!
TBranch *b_elpsday; //!
TBranch *b_numpo; //!
TBranch *b_apos; //!
TBranch *b_adir; //!
TBranch *b_aang; //!
TBranch *b_agood; //!
TBranch *b_wgain; //!
TBranch *b_nbad; //!
TBranch *b_nbada; //!
TBranch *b_msdir; //!
TBranch *b_amomp; //!
TBranch *b_ange; //!
TBranch *b_angm; //!
TBranch *b_angp; //!
TBranch *b_ntot; //!
TBranch *b_probth; //!
TBranch *b_probpt; //!
TBranch *b_pi0like; //!
TBranch *b_pi0_e; //!
TBranch *b_pi0_dir; //!
TBranch *b_pi0mass; //!
TBranch *b_evisold; //!
TBranch *b_evisoldxe; //!
TBranch *b_evisnew; //!
TBranch *b_nmue; //!
TBranch *b_etype; //!
TBranch *b_etime; //!
TBranch *b_epos; //!
TBranch *b_edir; //!
TBranch *b_egood; //!
TBranch *b_ehit; //!
TBranch *b_mueprob; //!
TBranch *b_nmue_sel; //!
TBranch *b_Rnring; //!
TBranch *b_Rdir; //!
TBranch *b_Rang; //!
TBranch *b_Riring; //!
TBranch *b_Rtwout; //!
TBranch *b_Rtwith; //!
TBranch *b_Alwout; //!
TBranch *b_Alwith; //!
TBranch *b_Qsmi; //!
TBranch *b_Qsmo; //!
TBranch *b_Qexi; //!
TBranch *b_Qexo; //!
TBranch *b_Pe5d; //!
TBranch *b_En5d; //!
TBranch *b_Eh5d; //!
TBranch *b_Pe5do; //!
TBranch *b_En5do; //!
TBranch *b_Eh5do; //!
TBranch *b_Rtadd; //!
TBranch *b_Pdgeta; //!
TBranch *b_Pd5d; //!
TBranch *b_Pdthre; //!
TBranch *b_Pd5do; //!
TBranch *b_Delpd; //!
TBranch *b_Ropena; //!
TBranch *b_Maxth; //!
TBranch *b_Pkang; //!
TBranch *b_Qrfct; //!
TBranch *b_Pdfct; //!
TBranch *b_Pkfct; //!
TBranch *b_Agfct; //!
TBranch *b_Dlfct; //!
TBranch *b_Iflag; //!
TBranch *b_Pmfct; //!
TBranch *b_Imfct; //!
TBranch *b_Rilike; //!
TBranch *b_ri_ver; //!
TBranch *b_ri_pid; //!
TBranch *b_ri_nring; //!
TBranch *b_ri_flag; //!
TBranch *b_ri_dlfct; //!
TBranch *b_ri_pdfct; //!
TBranch *b_ri_pkfct; //!
TBranch *b_ri_vafct; //!
TBranch *b_ri_total; //!
TBranch *b_ri_dir; //!
TBranch *b_ri_imfct; //!
TBranch *b_ri_pmfct; //!
TBranch *b_npar; //!
TBranch *b_wallv; //!
TBranch *b_ipv; //!
TBranch *b_posv; //!
TBranch *b_dirv; //!
TBranch *b_pmomv; //!
TBranch *b_light_flag; //!
TBranch *b_npar2; //!
TBranch *b_wallv2; //!
TBranch *b_ipv2; //!
TBranch *b_iorg; //!
TBranch *b_posv2; //!
TBranch *b_dirv2; //!
TBranch *b_pmomv2; //!
TBranch *b_numnu; //!
TBranch *b_mode; //!
TBranch *b_ipnu; //!
TBranch *b_pnu; //!
TBranch *b_dirnu; //!
TBranch *b_flxg; //!
TBranch *b_flxh01; //!
TBranch *b_kflux; //!
TBranch *b_bs71; //!
TBranch *b_bs74; //!
TBranch *b_flxf; //!
TBranch *b_flxh1d; //!
TBranch *b_flxb03; //!
TBranch *b_flxf03; //!
TBranch *b_flxh06; //!
TBranch *b_flxh11; //!
TBranch *b_scan; //!
TBranch *b_nuceff_version; //!
TBranch *b_charge_exchange; //!
TBranch *b_absorbed; //!
TBranch *b_multipi_gen; //!
TBranch *b_scattering; //!
TBranch *b_piless_dcy; //!
TBranch *b_nscndprt; //!
TBranch *b_itrkscnd; //!
TBranch *b_istakscnd; //!
TBranch *b_vtxscnd; //!
TBranch *b_pscnd; //!
TBranch *b_iprtscnd; //!
TBranch *b_tscnd; //!
TBranch *b_iprntprt; //!
TBranch *b_lmecscnd; //!
TBranch *b_iprnttrk; //!
TBranch *b_iorgprt; //!
TBranch *b_pprnt; //!
TBranch *b_iflgscnd; //!
TBranch *b_pprntinit; //!
TBranch *b_vtxprnt; //!
TBranch *b_iprntidx; //!
TBranch *b_nchilds; //!
TBranch *b_ichildidx; //!
TBranch *b_Npvcscnd; //!
TBranch *b_Nchildsvc; //!
TBranch *b_Ichildidxvc; //!
TBranch *b_Neutmode; //!
TBranch *b_Npne; //!
TBranch *b_Ipne; //!
TBranch *b_Abspne; //!
TBranch *b_Pvecne; //!
TBranch *b_Npvc; //!
TBranch *b_Ipvc; //!
TBranch *b_Ichvc; //!
TBranch *b_Iorgvc; //!
TBranch *b_Iflvc; //!
TBranch *b_Abspvc; //!
TBranch *b_Pvc; //!
TBranch *b_Crsx; //!
TBranch *b_Crsy; //!
TBranch *b_Crsz; //!
TBranch *b_Crsphi; //!
TBranch *b_Numbndn; //!
TBranch *b_Numbndp; //!
TBranch *b_Numfrep; //!
TBranch *b_Numatom; //!
TBranch *b_Ibound; //!
TBranch *b_Neutinpmt; //!
TBranch *b_Nvert; //!
TBranch *b_Posvert; //!
TBranch *b_Iflgvert; //!
TBranch *b_Nvcvert; //!
TBranch *b_Dirvert; //!
TBranch *b_Abspvert; //!
TBranch *b_Abstpvert; //!
TBranch *b_Ipvert; //!
TBranch *b_Iverti; //!
TBranch *b_Ivertf; //!
TBranch *b_Fsiprob; //!
TBranch *b_Fsivarwt; //!
TBranch *b_Nvertsk; //!
TBranch *b_Posvertsk; //!
TBranch *b_Iflgvertsk; //!
TBranch *b_Nvcvertsk; //!
TBranch *b_Dirvertsk; //!
TBranch *b_Abspvertsk; //!
TBranch *b_Abstpvertsk; //!
TBranch *b_Ipvertsk; //!
TBranch *b_Ivertisk; //!
TBranch *b_Ivertfsk; //!
TBranch *b_Fsiprobsk; //!
TBranch *b_trgoff; //!
TBranch *b_fqntwnd; //!
TBranch *b_fqtwnd_iclstr; //!
TBranch *b_fqtwnd_npeak; //!
TBranch *b_fqtwnd_prftt0; //!
TBranch *b_fqtwnd_prftpos; //!
TBranch *b_fqtwnd; //!
TBranch *b_fqtwnd_peakt0; //!
TBranch *b_fqtwnd_peakiness; //!
TBranch *b_fqnse; //!
TBranch *b_fqitwnd; //!
TBranch *b_fqipeak; //!
TBranch *b_fqnhitpmt; //!
TBranch *b_fqtotq; //!
TBranch *b_fq0rtotmu; //!
TBranch *b_fq0rnll; //!
TBranch *b_fqn50; //!
TBranch *b_fqq50; //!
TBranch *b_fq1rpcflg; //!
TBranch *b_fq1rmom; //!
TBranch *b_fq1rt0; //!
TBranch *b_fq1rtotmu; //!
TBranch *b_fq1rnll; //!
TBranch *b_fq1rpos; //!
TBranch *b_fq1rdir; //!
TBranch *b_fq1rdconv; //!
TBranch *b_fq1reloss; //!
TBranch *b_fqpi0pcflg; //!
TBranch *b_fqpi0mom1; //!
TBranch *b_fqpi0mom2; //!
TBranch *b_fqpi0momtot; //!
TBranch *b_fqpi0dconv1; //!
TBranch *b_fqpi0dconv2; //!
TBranch *b_fqpi0t0; //!
TBranch *b_fqpi0totmu; //!
TBranch *b_fqpi0nll; //!
TBranch *b_fqpi0mass; //!
TBranch *b_fqpi0photangle; //!
TBranch *b_fqpi0pos; //!
TBranch *b_fqpi0dir1; //!
TBranch *b_fqpi0dir2; //!
TBranch *b_fqpi0dirtot; //!
TBranch *b_fqnmrfit; //!
TBranch *b_fqmrifit; //!
TBranch *b_fqmrnring; //!
TBranch *b_fqmrpcflg; //!
TBranch *b_fqmrnll; //!
TBranch *b_fqmrtotmu; //!
TBranch *b_fqmrpid; //!
TBranch *b_fqmrmom; //!
TBranch *b_fqmrdconv; //!
TBranch *b_fqmreloss; //!
TBranch *b_fqmrt0; //!
TBranch *b_fqmrpos; //!
TBranch *b_fqmrdir; //!
TBranch *b_fqmsnfit; //!
TBranch *b_fqmspcflg; //!
TBranch *b_fqmsnseg; //!
TBranch *b_fqmspid; //!
TBranch *b_fqmsifit; //!
TBranch *b_fqmsimer; //!
TBranch *b_fqmstotmu; //!
TBranch *b_fqmsnll; //!
TBranch *b_fqmsmom; //!
TBranch *b_fqmseloss; //!
TBranch *b_fqmst0; //!
TBranch *b_fqmspos; //!
TBranch *b_fqmsdir; //!
TBranch *b_prid_ang; //!
TBranch *b_prid_len; //!
TBranch *b_prid_pmom; //!
TBranch *b_prid_mang; //!
TBranch *b_prid_plike; //!
TBranch *b_prid_mlike; //!
TBranch *b_prid_nused; //!
TBranch *b_nn; //!
TBranch *b_trgtype; //!
TBranch *b_n200m; //!
TBranch *b_t200m; //!
TBranch *b_lasthit; //!
TBranch *b_ntime; //!
TBranch *b_ngood; //!
TBranch *b_nvx; //!
TBranch *b_bvx; //!
TBranch *b_dirtotepi; //!
TBranch *b_dirtotenpi; //!
TBranch *b_dirtotmue; //!
TBranch *b_dirsum; //!
TBranch *b_etot; //!
TBranch *b_etotepi; //!
TBranch *b_etotenpi; //!
TBranch *b_etotmue; //!
TBranch *b_oscweight; //!
TBranch *b_oscwgt; //!
TBranch *b_live; //!
TBranch *b_sacth; //!
TBranch *b_sactg; //!
TBranch *b_sacth1d; //!
TBranch *b_ccqelike; //!
TBranch *b_mulike; //!
TBranch *b_mproton; //!
TBranch *b_outdir; //!
TBranch *b_nused2; //!
TBranch *b_vsum; //!
TBranch *b_qsep; //!
TBranch *b_qpeak; //!
TBranch *b_qhigh; //!
TBranch *b_qlow; //!
TBranch *b_nzeros2; //!
TBranch *b_moyenne2; //!
TBranch *b_lproton; //!
TBranch *b_qwin; //!
TBranch *b_ent_pos; //!
TBranch *b_ent_dir; //!
TBranch *b_length; //!
TBranch *b_tr_mom1; //!
TBranch *b_A_ent_mom; //!
TBranch *b_A_ent_pos; //!
TBranch *b_A_ent_dir; //!
TBranch *b_A_ext_mom; //!
TBranch *b_A_ext_pos; //!
TBranch *b_A_ext_dir; //!
TBranch *b_Fit_pos; //!
TBranch *b_Fit_dir; //!
TBranch *b_Fit_len; //!
TBranch *b_Fit_mom; //!
TBranch *b_Fit_pid; //!
TBranch *b_Um_ehit8m; //!
TBranch *b_Um_ohit8m; //!
TBranch *b_Um_qent; //!
TBranch *b_Sh_chi1p; //!
TBranch *b_Sh_delta; //!
TBranch *b_Sh_mean; //!
TBranch *b_Sh_meanq; //!
TBranch *b_Sh_id; //!
TBranch *b_Tr_stop; //!
TBranch *b_Tr_mom; //!
TBranch *b_Tr_len; //!
TBranch *b_Tr_len1; //!
TBranch *b_Pid_flg; //!
TBranch *b_Crs1; //!
TBranch *b_Crs2; //!
TBranch *b_iclass; //!
TBranch *b_mu_class; //!
TBranch *b_mu_dec; //!
TBranch *b_mu_dir; //!
TBranch *b_mu_pos; //!
TBranch *b_mu_good; //!
TBranch *b_history; //!
TBranch *b_Pdst; //!
TBranch *b_idoff; //!
TBranch *b_anthit; //!
TBranch *b_idseq; //!
TBranch *b_tstfrac; //!
TBranch *b_judge; //!
TBranch *b_Upcrs1; //!
TBranch *b_Upcrs2; //!
TBranch *b_lst; //!
TBranch *b_jd; //!
TBranch *b_fjd; //!
TBranch *b_alt; //!
TBranch *b_azi; //!
TBranch *b_ra; //!
TBranch *b_dec; //!
TBranch *b_glat; //!
TBranch *b_glong; //!
TBranch *b_t2knuefs; //!
TBranch *b_t2knuenpi0; //!
TBranch *b_t2knueflag; //!
TBranch *b_totwgt; //!
// for skimmed trees
TBranch *b_wgtosc1; //!
TBranch *b_wgtflx; //!
TString ntupleType;
float calcEnu();
fqEvent(TTree *tree=0,const char* ntuple_type = "");
virtual ~fqEvent();
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,const char* ntuple_type = "");
virtual Bool_t Notify();
virtual void Show(Long64_t entry = -1);
};
#ifdef CINTMODE
#include "fqEvent.cxx"
#endif
#endif