-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathanatree.h
874 lines (851 loc) · 48 KB
/
anatree.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
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue Jul 28 13:25:55 2015 by ROOT version 5.34/22
// from TTree anatree/analysis tree
// found on file: gamma_uniform_MCShowers_anatree.root
//////////////////////////////////////////////////////////
#ifndef anatree_h
#define anatree_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
// Header file for the classes stored in the TTree if any.
#include <vector>
// Fixed size dimensions of array or collections stored in the TTree if any.
class anatree {
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 run;
Int_t subrun;
Int_t event;
Double_t evttime;
Double_t beamtime;
Double_t pot;
Char_t isdata;
Double_t taulife;
Int_t no_hits;
Short_t hit_plane[3860]; //[no_hits]
Short_t hit_wire[3860]; //[no_hits]
Short_t hit_channel[3860]; //[no_hits]
Float_t hit_peakT[3860]; //[no_hits]
Float_t hit_charge[3860]; //[no_hits]
Float_t hit_ph[3860]; //[no_hits]
Float_t hit_startT[3860]; //[no_hits]
Float_t hit_endT[3860]; //[no_hits]
Float_t hit_trueX[3860]; //[no_hits]
Float_t hit_goodnessOfFit[3860]; //[no_hits]
Short_t hit_multiplicity[3860]; //[no_hits]
Short_t hit_trkid[3860]; //[no_hits]
Float_t hit_nelec[3860]; //[no_hits]
Float_t hit_energy[3860]; //[no_hits]
Short_t nvtx;
Float_t vtx[1][3]; //[nvtx]
Int_t no_flashes;
Float_t flash_time[68]; //[no_flashes]
Float_t flash_pe[68]; //[no_flashes]
Float_t flash_ycenter[68]; //[no_flashes]
Float_t flash_zcenter[68]; //[no_flashes]
Short_t nshowers;
Int_t showerID[4]; //[nshowers]
Int_t shwr_bestplane[4]; //[nshowers]
Float_t shwr_length[4]; //[nshowers]
Float_t shwr_startdcosx[4]; //[nshowers]
Float_t shwr_startdcosy[4]; //[nshowers]
Float_t shwr_startdcosz[4]; //[nshowers]
Float_t shwr_startx[4]; //[nshowers]
Float_t shwr_starty[4]; //[nshowers]
Float_t shwr_startz[4]; //[nshowers]
Float_t shwr_totEng[4][3]; //[nshowers]
Float_t shwr_dedx[4][3]; //[nshowers]
Float_t shwr_mipEng[4][3]; //[nshowers]
Char_t kNTracker;
Int_t mcevts_truth;
Int_t nuPDG_truth[1]; //[mcevts_truth]
Int_t ccnc_truth[1]; //[mcevts_truth]
Int_t mode_truth[1]; //[mcevts_truth]
Float_t enu_truth[1]; //[mcevts_truth]
Float_t Q2_truth[1]; //[mcevts_truth]
Float_t W_truth[1]; //[mcevts_truth]
Float_t X_truth[1]; //[mcevts_truth]
Float_t Y_truth[1]; //[mcevts_truth]
Int_t hitnuc_truth[1]; //[mcevts_truth]
Float_t nuvtxx_truth[1]; //[mcevts_truth]
Float_t nuvtxy_truth[1]; //[mcevts_truth]
Float_t nuvtxz_truth[1]; //[mcevts_truth]
Float_t nu_dcosx_truth[1]; //[mcevts_truth]
Float_t nu_dcosy_truth[1]; //[mcevts_truth]
Float_t nu_dcosz_truth[1]; //[mcevts_truth]
Float_t lep_mom_truth[1]; //[mcevts_truth]
Float_t lep_dcosx_truth[1]; //[mcevts_truth]
Float_t lep_dcosy_truth[1]; //[mcevts_truth]
Float_t lep_dcosz_truth[1]; //[mcevts_truth]
Float_t vx_flux[1]; //[mcevts_truth]
Float_t vy_flux[1]; //[mcevts_truth]
Float_t vz_flux[1]; //[mcevts_truth]
Float_t pdpx_flux[1]; //[mcevts_truth]
Float_t pdpy_flux[1]; //[mcevts_truth]
Float_t pdpz_flux[1]; //[mcevts_truth]
Float_t ppdxdz_flux[1]; //[mcevts_truth]
Float_t ppdydz_flux[1]; //[mcevts_truth]
Float_t pppz_flux[1]; //[mcevts_truth]
Int_t ptype_flux[1]; //[mcevts_truth]
Float_t ppvx_flux[1]; //[mcevts_truth]
Float_t ppvy_flux[1]; //[mcevts_truth]
Float_t ppvz_flux[1]; //[mcevts_truth]
Float_t muparpx_flux[1]; //[mcevts_truth]
Float_t muparpy_flux[1]; //[mcevts_truth]
Float_t muparpz_flux[1]; //[mcevts_truth]
Float_t mupare_flux[1]; //[mcevts_truth]
Int_t tgen_flux[1]; //[mcevts_truth]
Int_t tgptype_flux[1]; //[mcevts_truth]
Float_t tgppx_flux[1]; //[mcevts_truth]
Float_t tgppy_flux[1]; //[mcevts_truth]
Float_t tgppz_flux[1]; //[mcevts_truth]
Float_t tprivx_flux[1]; //[mcevts_truth]
Float_t tprivy_flux[1]; //[mcevts_truth]
Float_t tprivz_flux[1]; //[mcevts_truth]
Float_t dk2gen_flux[1]; //[mcevts_truth]
Float_t gen2vtx_flux[1]; //[mcevts_truth]
Float_t tpx_flux[1]; //[mcevts_truth]
Float_t tpy_flux[1]; //[mcevts_truth]
Float_t tpz_flux[1]; //[mcevts_truth]
Int_t tptype_flux[1]; //[mcevts_truth]
Int_t genie_no_primaries;
Int_t genie_primaries_pdg[1]; //[genie_no_primaries]
Float_t genie_Eng[1]; //[genie_no_primaries]
Float_t genie_Px[1]; //[genie_no_primaries]
Float_t genie_Py[1]; //[genie_no_primaries]
Float_t genie_Pz[1]; //[genie_no_primaries]
Float_t genie_P[1]; //[genie_no_primaries]
Int_t genie_status_code[1]; //[genie_no_primaries]
Float_t genie_mass[1]; //[genie_no_primaries]
Int_t genie_trackID[1]; //[genie_no_primaries]
Int_t genie_ND[1]; //[genie_no_primaries]
Int_t genie_mother[1]; //[genie_no_primaries]
Int_t no_primaries;
Int_t geant_list_size;
Int_t geant_list_size_in_tpcAV;
Int_t pdg[359]; //[geant_list_size]
Int_t status[359]; //[geant_list_size]
Float_t Mass[359]; //[geant_list_size]
Float_t Eng[359]; //[geant_list_size]
Float_t EndE[359]; //[geant_list_size]
Float_t Px[359]; //[geant_list_size]
Float_t Py[359]; //[geant_list_size]
Float_t Pz[359]; //[geant_list_size]
Float_t P[359]; //[geant_list_size]
Float_t StartPointx[359]; //[geant_list_size]
Float_t StartPointy[359]; //[geant_list_size]
Float_t StartPointz[359]; //[geant_list_size]
Float_t StartT[359]; //[geant_list_size]
Float_t EndPointx[359]; //[geant_list_size]
Float_t EndPointy[359]; //[geant_list_size]
Float_t EndPointz[359]; //[geant_list_size]
Float_t EndT[359]; //[geant_list_size]
Float_t theta[359]; //[geant_list_size]
Float_t phi[359]; //[geant_list_size]
Float_t theta_xz[359]; //[geant_list_size]
Float_t theta_yz[359]; //[geant_list_size]
Float_t pathlen[359]; //[geant_list_size]
Int_t inTPCActive[359]; //[geant_list_size]
Float_t StartPointx_tpcAV[359]; //[geant_list_size]
Float_t StartPointy_tpcAV[359]; //[geant_list_size]
Float_t StartPointz_tpcAV[359]; //[geant_list_size]
Float_t EndPointx_tpcAV[359]; //[geant_list_size]
Float_t EndPointy_tpcAV[359]; //[geant_list_size]
Float_t EndPointz_tpcAV[359]; //[geant_list_size]
Int_t NumberDaughters[359]; //[geant_list_size]
Int_t Mother[359]; //[geant_list_size]
Int_t TrackId[359]; //[geant_list_size]
Int_t MergedId[359]; //[geant_list_size]
Int_t origin[359]; //[geant_list_size]
Int_t MCTruthIndex[359]; //[geant_list_size]
Int_t process_primary[359]; //[geant_list_size]
vector<string> *processname;
Int_t no_mcshowers;
Int_t mcshwr_origin[1]; //[no_mcshowers]
Int_t mcshwr_pdg[1]; //[no_mcshowers]
Int_t mcshwr_TrackId[1]; //[no_mcshowers]
vector<string> *mcshwr_Process;
Float_t mcshwr_startX[1]; //[no_mcshowers]
Float_t mcshwr_startY[1]; //[no_mcshowers]
Float_t mcshwr_startZ[1]; //[no_mcshowers]
Float_t mcshwr_endX[1]; //[no_mcshowers]
Float_t mcshwr_endY[1]; //[no_mcshowers]
Float_t mcshwr_endZ[1]; //[no_mcshowers]
Float_t mcshwr_CombEngX[1]; //[no_mcshowers]
Float_t mcshwr_CombEngY[1]; //[no_mcshowers]
Float_t mcshwr_CombEngZ[1]; //[no_mcshowers]
Float_t mcshwr_CombEngPx[1]; //[no_mcshowers]
Float_t mcshwr_CombEngPy[1]; //[no_mcshowers]
Float_t mcshwr_CombEngPz[1]; //[no_mcshowers]
Float_t mcshwr_CombEngE[1]; //[no_mcshowers]
Float_t mcshwr_dEdx[1]; //[no_mcshowers]
Float_t mcshwr_StartDirX[1]; //[no_mcshowers]
Float_t mcshwr_StartDirY[1]; //[no_mcshowers]
Float_t mcshwr_StartDirZ[1]; //[no_mcshowers]
Int_t mcshwr_isEngDeposited[1]; //[no_mcshowers]
Int_t mcshwr_Motherpdg[1]; //[no_mcshowers]
Int_t mcshwr_MotherTrkId[1]; //[no_mcshowers]
vector<string> *mcshwr_MotherProcess;
Float_t mcshwr_MotherstartX[1]; //[no_mcshowers]
Float_t mcshwr_MotherstartY[1]; //[no_mcshowers]
Float_t mcshwr_MotherstartZ[1]; //[no_mcshowers]
Float_t mcshwr_MotherendX[1]; //[no_mcshowers]
Float_t mcshwr_MotherendY[1]; //[no_mcshowers]
Float_t mcshwr_MotherendZ[1]; //[no_mcshowers]
Int_t mcshwr_Ancestorpdg[1]; //[no_mcshowers]
Int_t mcshwr_AncesotorTrkId[1]; //[no_mcshowers]
vector<string> *mcshwr_AncesotorProcess;
Float_t mcshwr_AncestorstartX[1]; //[no_mcshowers]
Float_t mcshwr_AncestorstartY[1]; //[no_mcshowers]
Float_t mcshwr_AncestorstartZ[1]; //[no_mcshowers]
Float_t mcshwr_AncestorendX[1]; //[no_mcshowers]
Float_t mcshwr_AncestorendY[1]; //[no_mcshowers]
Float_t mcshwr_AncestorendZ[1]; //[no_mcshowers]
Short_t ntracks_trackkalmanhit;
Short_t trkId_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trkncosmictags_tagger_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkcosmicscore_tagger_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trkcosmictype_tagger_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trkncosmictags_flashmatch_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkcosmicscore_flashmatch_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trkcosmictype_flashmatch_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkke_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkrange_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Int_t trkidtruth_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Short_t trkorigin_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Int_t trkpdgtruth_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkefftruth_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpurtruth_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpitchc_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Short_t ntrkhits_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkdedx_trackkalmanhit[18][3][2000]; //[ntracks_trackkalmanhit]
Float_t trkdqdx_trackkalmanhit[18][3][2000]; //[ntracks_trackkalmanhit]
Float_t trkresrg_trackkalmanhit[18][3][2000]; //[ntracks_trackkalmanhit]
Float_t trkxyz_trackkalmanhit[18][3][2000][3]; //[ntracks_trackkalmanhit]
Float_t trkstartx_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstarty_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstartz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstartd_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkendx_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkendy_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkendz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkendd_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trktheta_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkphi_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstartdcosx_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstartdcosy_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkstartdcosz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkenddcosx_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkenddcosy_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkenddcosz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkthetaxz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkthetayz_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkmom_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkmomrange_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkmommschi2_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trkmommsllhd_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Float_t trklen_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trksvtxid_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Short_t trkevtxid_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
Int_t trkpidpdg_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidchi_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidchipr_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidchika_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidchipi_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidchimu_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Float_t trkpidpida_trackkalmanhit[18][3]; //[ntracks_trackkalmanhit]
Short_t trkpidbestplane_trackkalmanhit[18]; //[ntracks_trackkalmanhit]
// List of branches
TBranch *b_run; //!
TBranch *b_subrun; //!
TBranch *b_event; //!
TBranch *b_evttime; //!
TBranch *b_beamtime; //!
TBranch *b_pot; //!
TBranch *b_isdata; //!
TBranch *b_taulife; //!
TBranch *b_no_hits; //!
TBranch *b_hit_plane; //!
TBranch *b_hit_wire; //!
TBranch *b_hit_channel; //!
TBranch *b_hit_peakT; //!
TBranch *b_hit_charge; //!
TBranch *b_hit_ph; //!
TBranch *b_hit_startT; //!
TBranch *b_hit_endT; //!
TBranch *b_hit_trueX; //!
TBranch *b_hit_goodnessOfFit; //!
TBranch *b_hit_multiplicity; //!
TBranch *b_hit_trkid; //!
TBranch *b_hit_nelec; //!
TBranch *b_hit_energy; //!
TBranch *b_nvtx; //!
TBranch *b_vtx; //!
TBranch *b_no_flashes; //!
TBranch *b_flash_time; //!
TBranch *b_flash_pe; //!
TBranch *b_flash_ycenter; //!
TBranch *b_flash_zcenter; //!
TBranch *b_nshowers; //!
TBranch *b_showerID; //!
TBranch *b_shwr_bestplane; //!
TBranch *b_shwr_length; //!
TBranch *b_shwr_startdcosx; //!
TBranch *b_shwr_startdcosy; //!
TBranch *b_shwr_startdcosz; //!
TBranch *b_shwr_startx; //!
TBranch *b_shwr_starty; //!
TBranch *b_shwr_startz; //!
TBranch *b_shwr_totEng; //!
TBranch *b_shwr_dedx; //!
TBranch *b_shwr_mipEng; //!
TBranch *b_kNTracker; //!
TBranch *b_mcevts_truth; //!
TBranch *b_nuPDG_truth; //!
TBranch *b_ccnc_truth; //!
TBranch *b_mode_truth; //!
TBranch *b_enu_truth; //!
TBranch *b_Q2_truth; //!
TBranch *b_W_truth; //!
TBranch *b_X_truth; //!
TBranch *b_Y_truth; //!
TBranch *b_hitnuc_truth; //!
TBranch *b_nuvtxx_truth; //!
TBranch *b_nuvtxy_truth; //!
TBranch *b_nuvtxz_truth; //!
TBranch *b_nu_dcosx_truth; //!
TBranch *b_nu_dcosy_truth; //!
TBranch *b_nu_dcosz_truth; //!
TBranch *b_lep_mom_truth; //!
TBranch *b_lep_dcosx_truth; //!
TBranch *b_lep_dcosy_truth; //!
TBranch *b_lep_dcosz_truth; //!
TBranch *b_vx_flux; //!
TBranch *b_vy_flux; //!
TBranch *b_vz_flux; //!
TBranch *b_pdpx_flux; //!
TBranch *b_pdpy_flux; //!
TBranch *b_pdpz_flux; //!
TBranch *b_ppdxdz_flux; //!
TBranch *b_ppdydz_flux; //!
TBranch *b_pppz_flux; //!
TBranch *b_ptype_flux; //!
TBranch *b_ppvx_flux; //!
TBranch *b_ppvy_flux; //!
TBranch *b_ppvz_flux; //!
TBranch *b_muparpx_flux; //!
TBranch *b_muparpy_flux; //!
TBranch *b_muparpz_flux; //!
TBranch *b_mupare_flux; //!
TBranch *b_tgen_flux; //!
TBranch *b_tgptype_flux; //!
TBranch *b_tgppx_flux; //!
TBranch *b_tgppy_flux; //!
TBranch *b_tgppz_flux; //!
TBranch *b_tprivx_flux; //!
TBranch *b_tprivy_flux; //!
TBranch *b_tprivz_flux; //!
TBranch *b_dk2gen_flux; //!
TBranch *b_gen2vtx_flux; //!
TBranch *b_tpx_flux; //!
TBranch *b_tpy_flux; //!
TBranch *b_tpz_flux; //!
TBranch *b_tptype_flux; //!
TBranch *b_genie_no_primaries; //!
TBranch *b_genie_primaries_pdg; //!
TBranch *b_genie_Eng; //!
TBranch *b_genie_Px; //!
TBranch *b_genie_Py; //!
TBranch *b_genie_Pz; //!
TBranch *b_genie_P; //!
TBranch *b_genie_status_code; //!
TBranch *b_genie_mass; //!
TBranch *b_genie_trackID; //!
TBranch *b_genie_ND; //!
TBranch *b_genie_mother; //!
TBranch *b_no_primaries; //!
TBranch *b_geant_list_size; //!
TBranch *b_geant_list_size_in_tpcAV; //!
TBranch *b_pdg; //!
TBranch *b_status; //!
TBranch *b_Mass; //!
TBranch *b_Eng; //!
TBranch *b_EndE; //!
TBranch *b_Px; //!
TBranch *b_Py; //!
TBranch *b_Pz; //!
TBranch *b_P; //!
TBranch *b_StartPointx; //!
TBranch *b_StartPointy; //!
TBranch *b_StartPointz; //!
TBranch *b_StartT; //!
TBranch *b_EndPointx; //!
TBranch *b_EndPointy; //!
TBranch *b_EndPointz; //!
TBranch *b_EndT; //!
TBranch *b_theta; //!
TBranch *b_phi; //!
TBranch *b_theta_xz; //!
TBranch *b_theta_yz; //!
TBranch *b_pathlen; //!
TBranch *b_inTPCActive; //!
TBranch *b_StartPointx_tpcAV; //!
TBranch *b_StartPointy_tpcAV; //!
TBranch *b_StartPointz_tpcAV; //!
TBranch *b_EndPointx_tpcAV; //!
TBranch *b_EndPointy_tpcAV; //!
TBranch *b_EndPointz_tpcAV; //!
TBranch *b_NumberDaughters; //!
TBranch *b_Mother; //!
TBranch *b_TrackId; //!
TBranch *b_MergedId; //!
TBranch *b_origin; //!
TBranch *b_MCTruthIndex; //!
TBranch *b_process_primary; //!
TBranch *b_processname; //!
TBranch *b_no_mcshowers; //!
TBranch *b_mcshwr_origin; //!
TBranch *b_mcshwr_pdg; //!
TBranch *b_mcshwr_TrackId; //!
TBranch *b_mcshwr_Process; //!
TBranch *b_mcshwr_startX; //!
TBranch *b_mcshwr_startY; //!
TBranch *b_mcshwr_startZ; //!
TBranch *b_mcshwr_endX; //!
TBranch *b_mcshwr_endY; //!
TBranch *b_mcshwr_endZ; //!
TBranch *b_mcshwr_CombEngX; //!
TBranch *b_mcshwr_CombEngY; //!
TBranch *b_mcshwr_CombEngZ; //!
TBranch *b_mcshwr_CombEngPx; //!
TBranch *b_mcshwr_CombEngPy; //!
TBranch *b_mcshwr_CombEngPz; //!
TBranch *b_mcshwr_CombEngE; //!
TBranch *b_mcshwr_dEdx; //!
TBranch *b_mcshwr_StartDirX; //!
TBranch *b_mcshwr_StartDirY; //!
TBranch *b_mcshwr_StartDirZ; //!
TBranch *b_mcshwr_isEngDeposited; //!
TBranch *b_mcshwr_Motherpdg; //!
TBranch *b_mcshwr_MotherTrkId; //!
TBranch *b_mcshwr_MotherProcess; //!
TBranch *b_mcshwr_MotherstartX; //!
TBranch *b_mcshwr_MotherstartY; //!
TBranch *b_mcshwr_MotherstartZ; //!
TBranch *b_mcshwr_MotherendX; //!
TBranch *b_mcshwr_MotherendY; //!
TBranch *b_mcshwr_MotherendZ; //!
TBranch *b_mcshwr_Ancestorpdg; //!
TBranch *b_mcshwr_AncesotorTrkId; //!
TBranch *b_mcshwr_AncesotorProcess; //!
TBranch *b_mcshwr_AncestorstartX; //!
TBranch *b_mcshwr_AncestorstartY; //!
TBranch *b_mcshwr_AncestorstartZ; //!
TBranch *b_mcshwr_AncestorendX; //!
TBranch *b_mcshwr_AncestorendY; //!
TBranch *b_mcshwr_AncestorendZ; //!
TBranch *b_ntracks_trackkalmanhit; //!
TBranch *b_trkId_trackkalmanhit; //!
TBranch *b_trkncosmictags_tagger_trackkalmanhit; //!
TBranch *b_trkcosmicscore_tagger_trackkalmanhit; //!
TBranch *b_trkcosmictype_tagger_trackkalmanhit; //!
TBranch *b_trkncosmictags_flashmatch_trackkalmanhit; //!
TBranch *b_trkcosmicscore_flashmatch_trackkalmanhit; //!
TBranch *b_trkcosmictype_flashmatch_trackkalmanhit; //!
TBranch *b_trkke_trackkalmanhit; //!
TBranch *b_trkrange_trackkalmanhit; //!
TBranch *b_trkidtruth_trackkalmanhit; //!
TBranch *b_trkorigin_trackkalmanhit; //!
TBranch *b_trkpdgtruth_trackkalmanhit; //!
TBranch *b_trkefftruth_trackkalmanhit; //!
TBranch *b_trkpurtruth_trackkalmanhit; //!
TBranch *b_trkpitchc_trackkalmanhit; //!
TBranch *b_ntrkhits_trackkalmanhit; //!
TBranch *b_trkdedx_trackkalmanhit; //!
TBranch *b_trkdqdx_trackkalmanhit; //!
TBranch *b_trkresrg_trackkalmanhit; //!
TBranch *b_trkxyz_trackkalmanhit; //!
TBranch *b_trkstartx_trackkalmanhit; //!
TBranch *b_trkstarty_trackkalmanhit; //!
TBranch *b_trkstartz_trackkalmanhit; //!
TBranch *b_trkstartd_trackkalmanhit; //!
TBranch *b_trkendx_trackkalmanhit; //!
TBranch *b_trkendy_trackkalmanhit; //!
TBranch *b_trkendz_trackkalmanhit; //!
TBranch *b_trkendd_trackkalmanhit; //!
TBranch *b_trktheta_trackkalmanhit; //!
TBranch *b_trkphi_trackkalmanhit; //!
TBranch *b_trkstartdcosx_trackkalmanhit; //!
TBranch *b_trkstartdcosy_trackkalmanhit; //!
TBranch *b_trkstartdcosz_trackkalmanhit; //!
TBranch *b_trkenddcosx_trackkalmanhit; //!
TBranch *b_trkenddcosy_trackkalmanhit; //!
TBranch *b_trkenddcosz_trackkalmanhit; //!
TBranch *b_trkthetaxz_trackkalmanhit; //!
TBranch *b_trkthetayz_trackkalmanhit; //!
TBranch *b_trkmom_trackkalmanhit; //!
TBranch *b_trkmomrange_trackkalmanhit; //!
TBranch *b_trkmommschi2_trackkalmanhit; //!
TBranch *b_trkmommsllhd_trackkalmanhit; //!
TBranch *b_trklen_trackkalmanhit; //!
TBranch *b_trksvtxid_trackkalmanhit; //!
TBranch *b_trkevtxid_trackkalmanhit; //!
TBranch *b_trkpidpdg_trackkalmanhit; //!
TBranch *b_trkpidchi_trackkalmanhit; //!
TBranch *b_trkpidchipr_trackkalmanhit; //!
TBranch *b_trkpidchika_trackkalmanhit; //!
TBranch *b_trkpidchipi_trackkalmanhit; //!
TBranch *b_trkpidchimu_trackkalmanhit; //!
TBranch *b_trkpidpida_trackkalmanhit; //!
TBranch *b_trkpidbestplane_trackkalmanhit; //!
anatree(TString file = "");
virtual ~anatree();
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(Long64_t max_entry = -1);
virtual Bool_t Notify();
virtual TString InFile();
virtual void Show(Long64_t entry = -1);
};
#endif
//gamma_uniform_MCShowers_anatree.root
#ifdef anatree_cxx
anatree::anatree(TString file) : fChain(0)
{
// if parameter tree is not specified (or zero), connect the file
// used to generate this class and read the Tree.
TTree* tree;
if (file.Length() == 0) {
std::cout << "You didn't set a file so I am just opening: gamma/gamma_uniform_MCShowers_anatree.root" << std::endl;
infile = new TFile("gamma/gamma_uniform_MCShowers_anatree.root");
TDirectory * dir = (TDirectory*)infile->Get("gamma/gamma_uniform_MCShowers_anatree.root:/analysistree");
dir->GetObject("anatree",tree);
}
else{
std::cout << "Opening requested file " << file << std::endl;
infile = new TFile( file );
TDirectory * dir = (TDirectory*)infile->Get(file+":/analysistree");
dir->GetObject("anatree",tree);
}
if (!infile || !infile->IsOpen()) {
std::cout << "Could not find specified file!!" << std::endl;
exit(1);
}
Init(tree);
}
anatree::~anatree()
{
if (!fChain) return;
delete fChain->GetCurrentFile();
}
Int_t anatree::GetEntry(Long64_t entry)
{
// Read contents of entry.
if (!fChain) return 0;
return fChain->GetEntry(entry);
}
Long64_t anatree::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 anatree::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 object pointer
processname = 0;
mcshwr_Process = 0;
mcshwr_MotherProcess = 0;
mcshwr_AncesotorProcess = 0;
// Set branch addresses and branch pointers
if (!tree) return;
fChain = tree;
fCurrent = -1;
fChain->SetMakeClass(1);
fChain->SetBranchAddress("run", &run, &b_run);
fChain->SetBranchAddress("subrun", &subrun, &b_subrun);
fChain->SetBranchAddress("event", &event, &b_event);
fChain->SetBranchAddress("evttime", &evttime, &b_evttime);
fChain->SetBranchAddress("beamtime", &beamtime, &b_beamtime);
fChain->SetBranchAddress("pot", &pot, &b_pot);
fChain->SetBranchAddress("isdata", &isdata, &b_isdata);
fChain->SetBranchAddress("taulife", &taulife, &b_taulife);
fChain->SetBranchAddress("no_hits", &no_hits, &b_no_hits);
fChain->SetBranchAddress("hit_plane", hit_plane, &b_hit_plane);
fChain->SetBranchAddress("hit_wire", hit_wire, &b_hit_wire);
fChain->SetBranchAddress("hit_channel", hit_channel, &b_hit_channel);
fChain->SetBranchAddress("hit_peakT", hit_peakT, &b_hit_peakT);
fChain->SetBranchAddress("hit_charge", hit_charge, &b_hit_charge);
fChain->SetBranchAddress("hit_ph", hit_ph, &b_hit_ph);
fChain->SetBranchAddress("hit_startT", hit_startT, &b_hit_startT);
fChain->SetBranchAddress("hit_endT", hit_endT, &b_hit_endT);
fChain->SetBranchAddress("hit_trueX", hit_trueX, &b_hit_trueX);
fChain->SetBranchAddress("hit_goodnessOfFit", hit_goodnessOfFit, &b_hit_goodnessOfFit);
fChain->SetBranchAddress("hit_multiplicity", hit_multiplicity, &b_hit_multiplicity);
fChain->SetBranchAddress("hit_trkid", hit_trkid, &b_hit_trkid);
fChain->SetBranchAddress("hit_nelec", hit_nelec, &b_hit_nelec);
fChain->SetBranchAddress("hit_energy", hit_energy, &b_hit_energy);
fChain->SetBranchAddress("nvtx", &nvtx, &b_nvtx);
fChain->SetBranchAddress("vtx", &vtx, &b_vtx);
fChain->SetBranchAddress("no_flashes", &no_flashes, &b_no_flashes);
fChain->SetBranchAddress("flash_time", flash_time, &b_flash_time);
fChain->SetBranchAddress("flash_pe", flash_pe, &b_flash_pe);
fChain->SetBranchAddress("flash_ycenter", flash_ycenter, &b_flash_ycenter);
fChain->SetBranchAddress("flash_zcenter", flash_zcenter, &b_flash_zcenter);
fChain->SetBranchAddress("nshowers", &nshowers, &b_nshowers);
fChain->SetBranchAddress("showerID", showerID, &b_showerID);
fChain->SetBranchAddress("shwr_bestplane", shwr_bestplane, &b_shwr_bestplane);
fChain->SetBranchAddress("shwr_length", shwr_length, &b_shwr_length);
fChain->SetBranchAddress("shwr_startdcosx", shwr_startdcosx, &b_shwr_startdcosx);
fChain->SetBranchAddress("shwr_startdcosy", shwr_startdcosy, &b_shwr_startdcosy);
fChain->SetBranchAddress("shwr_startdcosz", shwr_startdcosz, &b_shwr_startdcosz);
fChain->SetBranchAddress("shwr_startx", shwr_startx, &b_shwr_startx);
fChain->SetBranchAddress("shwr_starty", shwr_starty, &b_shwr_starty);
fChain->SetBranchAddress("shwr_startz", shwr_startz, &b_shwr_startz);
fChain->SetBranchAddress("shwr_totEng", shwr_totEng, &b_shwr_totEng);
fChain->SetBranchAddress("shwr_dedx", shwr_dedx, &b_shwr_dedx);
fChain->SetBranchAddress("shwr_mipEng", shwr_mipEng, &b_shwr_mipEng);
fChain->SetBranchAddress("kNTracker", &kNTracker, &b_kNTracker);
fChain->SetBranchAddress("mcevts_truth", &mcevts_truth, &b_mcevts_truth);
fChain->SetBranchAddress("nuPDG_truth", nuPDG_truth, &b_nuPDG_truth);
fChain->SetBranchAddress("ccnc_truth", ccnc_truth, &b_ccnc_truth);
fChain->SetBranchAddress("mode_truth", mode_truth, &b_mode_truth);
fChain->SetBranchAddress("enu_truth", enu_truth, &b_enu_truth);
fChain->SetBranchAddress("Q2_truth", Q2_truth, &b_Q2_truth);
fChain->SetBranchAddress("W_truth", W_truth, &b_W_truth);
fChain->SetBranchAddress("X_truth", X_truth, &b_X_truth);
fChain->SetBranchAddress("Y_truth", Y_truth, &b_Y_truth);
fChain->SetBranchAddress("hitnuc_truth", hitnuc_truth, &b_hitnuc_truth);
fChain->SetBranchAddress("nuvtxx_truth", nuvtxx_truth, &b_nuvtxx_truth);
fChain->SetBranchAddress("nuvtxy_truth", nuvtxy_truth, &b_nuvtxy_truth);
fChain->SetBranchAddress("nuvtxz_truth", nuvtxz_truth, &b_nuvtxz_truth);
fChain->SetBranchAddress("nu_dcosx_truth", nu_dcosx_truth, &b_nu_dcosx_truth);
fChain->SetBranchAddress("nu_dcosy_truth", nu_dcosy_truth, &b_nu_dcosy_truth);
fChain->SetBranchAddress("nu_dcosz_truth", nu_dcosz_truth, &b_nu_dcosz_truth);
fChain->SetBranchAddress("lep_mom_truth", lep_mom_truth, &b_lep_mom_truth);
fChain->SetBranchAddress("lep_dcosx_truth", lep_dcosx_truth, &b_lep_dcosx_truth);
fChain->SetBranchAddress("lep_dcosy_truth", lep_dcosy_truth, &b_lep_dcosy_truth);
fChain->SetBranchAddress("lep_dcosz_truth", lep_dcosz_truth, &b_lep_dcosz_truth);
fChain->SetBranchAddress("vx_flux", vx_flux, &b_vx_flux);
fChain->SetBranchAddress("vy_flux", vy_flux, &b_vy_flux);
fChain->SetBranchAddress("vz_flux", vz_flux, &b_vz_flux);
fChain->SetBranchAddress("pdpx_flux", pdpx_flux, &b_pdpx_flux);
fChain->SetBranchAddress("pdpy_flux", pdpy_flux, &b_pdpy_flux);
fChain->SetBranchAddress("pdpz_flux", pdpz_flux, &b_pdpz_flux);
fChain->SetBranchAddress("ppdxdz_flux", ppdxdz_flux, &b_ppdxdz_flux);
fChain->SetBranchAddress("ppdydz_flux", ppdydz_flux, &b_ppdydz_flux);
fChain->SetBranchAddress("pppz_flux", pppz_flux, &b_pppz_flux);
fChain->SetBranchAddress("ptype_flux", ptype_flux, &b_ptype_flux);
fChain->SetBranchAddress("ppvx_flux", ppvx_flux, &b_ppvx_flux);
fChain->SetBranchAddress("ppvy_flux", ppvy_flux, &b_ppvy_flux);
fChain->SetBranchAddress("ppvz_flux", ppvz_flux, &b_ppvz_flux);
fChain->SetBranchAddress("muparpx_flux", muparpx_flux, &b_muparpx_flux);
fChain->SetBranchAddress("muparpy_flux", muparpy_flux, &b_muparpy_flux);
fChain->SetBranchAddress("muparpz_flux", muparpz_flux, &b_muparpz_flux);
fChain->SetBranchAddress("mupare_flux", mupare_flux, &b_mupare_flux);
fChain->SetBranchAddress("tgen_flux", tgen_flux, &b_tgen_flux);
fChain->SetBranchAddress("tgptype_flux", tgptype_flux, &b_tgptype_flux);
fChain->SetBranchAddress("tgppx_flux", tgppx_flux, &b_tgppx_flux);
fChain->SetBranchAddress("tgppy_flux", tgppy_flux, &b_tgppy_flux);
fChain->SetBranchAddress("tgppz_flux", tgppz_flux, &b_tgppz_flux);
fChain->SetBranchAddress("tprivx_flux", tprivx_flux, &b_tprivx_flux);
fChain->SetBranchAddress("tprivy_flux", tprivy_flux, &b_tprivy_flux);
fChain->SetBranchAddress("tprivz_flux", tprivz_flux, &b_tprivz_flux);
fChain->SetBranchAddress("dk2gen_flux", dk2gen_flux, &b_dk2gen_flux);
fChain->SetBranchAddress("gen2vtx_flux", gen2vtx_flux, &b_gen2vtx_flux);
fChain->SetBranchAddress("tpx_flux", tpx_flux, &b_tpx_flux);
fChain->SetBranchAddress("tpy_flux", tpy_flux, &b_tpy_flux);
fChain->SetBranchAddress("tpz_flux", tpz_flux, &b_tpz_flux);
fChain->SetBranchAddress("tptype_flux", tptype_flux, &b_tptype_flux);
fChain->SetBranchAddress("genie_no_primaries", &genie_no_primaries, &b_genie_no_primaries);
fChain->SetBranchAddress("genie_primaries_pdg", &genie_primaries_pdg, &b_genie_primaries_pdg);
fChain->SetBranchAddress("genie_Eng", &genie_Eng, &b_genie_Eng);
fChain->SetBranchAddress("genie_Px", &genie_Px, &b_genie_Px);
fChain->SetBranchAddress("genie_Py", &genie_Py, &b_genie_Py);
fChain->SetBranchAddress("genie_Pz", &genie_Pz, &b_genie_Pz);
fChain->SetBranchAddress("genie_P", &genie_P, &b_genie_P);
fChain->SetBranchAddress("genie_status_code", &genie_status_code, &b_genie_status_code);
fChain->SetBranchAddress("genie_mass", &genie_mass, &b_genie_mass);
fChain->SetBranchAddress("genie_trackID", &genie_trackID, &b_genie_trackID);
fChain->SetBranchAddress("genie_ND", &genie_ND, &b_genie_ND);
fChain->SetBranchAddress("genie_mother", &genie_mother, &b_genie_mother);
fChain->SetBranchAddress("no_primaries", &no_primaries, &b_no_primaries);
fChain->SetBranchAddress("geant_list_size", &geant_list_size, &b_geant_list_size);
fChain->SetBranchAddress("geant_list_size_in_tpcAV", &geant_list_size_in_tpcAV, &b_geant_list_size_in_tpcAV);
fChain->SetBranchAddress("pdg", pdg, &b_pdg);
fChain->SetBranchAddress("status", status, &b_status);
fChain->SetBranchAddress("Mass", Mass, &b_Mass);
fChain->SetBranchAddress("Eng", Eng, &b_Eng);
fChain->SetBranchAddress("EndE", EndE, &b_EndE);
fChain->SetBranchAddress("Px", Px, &b_Px);
fChain->SetBranchAddress("Py", Py, &b_Py);
fChain->SetBranchAddress("Pz", Pz, &b_Pz);
fChain->SetBranchAddress("P", P, &b_P);
fChain->SetBranchAddress("StartPointx", StartPointx, &b_StartPointx);
fChain->SetBranchAddress("StartPointy", StartPointy, &b_StartPointy);
fChain->SetBranchAddress("StartPointz", StartPointz, &b_StartPointz);
fChain->SetBranchAddress("StartT", StartT, &b_StartT);
fChain->SetBranchAddress("EndPointx", EndPointx, &b_EndPointx);
fChain->SetBranchAddress("EndPointy", EndPointy, &b_EndPointy);
fChain->SetBranchAddress("EndPointz", EndPointz, &b_EndPointz);
fChain->SetBranchAddress("EndT", EndT, &b_EndT);
fChain->SetBranchAddress("theta", theta, &b_theta);
fChain->SetBranchAddress("phi", phi, &b_phi);
fChain->SetBranchAddress("theta_xz", theta_xz, &b_theta_xz);
fChain->SetBranchAddress("theta_yz", theta_yz, &b_theta_yz);
fChain->SetBranchAddress("pathlen", pathlen, &b_pathlen);
fChain->SetBranchAddress("inTPCActive", inTPCActive, &b_inTPCActive);
fChain->SetBranchAddress("StartPointx_tpcAV", StartPointx_tpcAV, &b_StartPointx_tpcAV);
fChain->SetBranchAddress("StartPointy_tpcAV", StartPointy_tpcAV, &b_StartPointy_tpcAV);
fChain->SetBranchAddress("StartPointz_tpcAV", StartPointz_tpcAV, &b_StartPointz_tpcAV);
fChain->SetBranchAddress("EndPointx_tpcAV", EndPointx_tpcAV, &b_EndPointx_tpcAV);
fChain->SetBranchAddress("EndPointy_tpcAV", EndPointy_tpcAV, &b_EndPointy_tpcAV);
fChain->SetBranchAddress("EndPointz_tpcAV", EndPointz_tpcAV, &b_EndPointz_tpcAV);
fChain->SetBranchAddress("NumberDaughters", NumberDaughters, &b_NumberDaughters);
fChain->SetBranchAddress("Mother", Mother, &b_Mother);
fChain->SetBranchAddress("TrackId", TrackId, &b_TrackId);
fChain->SetBranchAddress("MergedId", MergedId, &b_MergedId);
fChain->SetBranchAddress("origin", origin, &b_origin);
fChain->SetBranchAddress("MCTruthIndex", MCTruthIndex, &b_MCTruthIndex);
fChain->SetBranchAddress("process_primary", process_primary, &b_process_primary);
fChain->SetBranchAddress("processname", &processname, &b_processname);
fChain->SetBranchAddress("no_mcshowers", &no_mcshowers, &b_no_mcshowers);
fChain->SetBranchAddress("mcshwr_origin", mcshwr_origin, &b_mcshwr_origin);
fChain->SetBranchAddress("mcshwr_pdg", mcshwr_pdg, &b_mcshwr_pdg);
fChain->SetBranchAddress("mcshwr_TrackId", mcshwr_TrackId, &b_mcshwr_TrackId);
fChain->SetBranchAddress("mcshwr_Process", &mcshwr_Process, &b_mcshwr_Process);
fChain->SetBranchAddress("mcshwr_startX", mcshwr_startX, &b_mcshwr_startX);
fChain->SetBranchAddress("mcshwr_startY", mcshwr_startY, &b_mcshwr_startY);
fChain->SetBranchAddress("mcshwr_startZ", mcshwr_startZ, &b_mcshwr_startZ);
fChain->SetBranchAddress("mcshwr_endX", mcshwr_endX, &b_mcshwr_endX);
fChain->SetBranchAddress("mcshwr_endY", mcshwr_endY, &b_mcshwr_endY);
fChain->SetBranchAddress("mcshwr_endZ", mcshwr_endZ, &b_mcshwr_endZ);
fChain->SetBranchAddress("mcshwr_CombEngX", mcshwr_CombEngX, &b_mcshwr_CombEngX);
fChain->SetBranchAddress("mcshwr_CombEngY", mcshwr_CombEngY, &b_mcshwr_CombEngY);
fChain->SetBranchAddress("mcshwr_CombEngZ", mcshwr_CombEngZ, &b_mcshwr_CombEngZ);
fChain->SetBranchAddress("mcshwr_CombEngPx", mcshwr_CombEngPx, &b_mcshwr_CombEngPx);
fChain->SetBranchAddress("mcshwr_CombEngPy", mcshwr_CombEngPy, &b_mcshwr_CombEngPy);
fChain->SetBranchAddress("mcshwr_CombEngPz", mcshwr_CombEngPz, &b_mcshwr_CombEngPz);
fChain->SetBranchAddress("mcshwr_CombEngE", mcshwr_CombEngE, &b_mcshwr_CombEngE);
fChain->SetBranchAddress("mcshwr_dEdx", mcshwr_dEdx, &b_mcshwr_dEdx);
fChain->SetBranchAddress("mcshwr_StartDirX", mcshwr_StartDirX, &b_mcshwr_StartDirX);
fChain->SetBranchAddress("mcshwr_StartDirY", mcshwr_StartDirY, &b_mcshwr_StartDirY);
fChain->SetBranchAddress("mcshwr_StartDirZ", mcshwr_StartDirZ, &b_mcshwr_StartDirZ);
fChain->SetBranchAddress("mcshwr_isEngDeposited", mcshwr_isEngDeposited, &b_mcshwr_isEngDeposited);
fChain->SetBranchAddress("mcshwr_Motherpdg", mcshwr_Motherpdg, &b_mcshwr_Motherpdg);
fChain->SetBranchAddress("mcshwr_MotherTrkId", mcshwr_MotherTrkId, &b_mcshwr_MotherTrkId);
fChain->SetBranchAddress("mcshwr_MotherProcess", &mcshwr_MotherProcess, &b_mcshwr_MotherProcess);
fChain->SetBranchAddress("mcshwr_MotherstartX", mcshwr_MotherstartX, &b_mcshwr_MotherstartX);
fChain->SetBranchAddress("mcshwr_MotherstartY", mcshwr_MotherstartY, &b_mcshwr_MotherstartY);
fChain->SetBranchAddress("mcshwr_MotherstartZ", mcshwr_MotherstartZ, &b_mcshwr_MotherstartZ);
fChain->SetBranchAddress("mcshwr_MotherendX", mcshwr_MotherendX, &b_mcshwr_MotherendX);
fChain->SetBranchAddress("mcshwr_MotherendY", mcshwr_MotherendY, &b_mcshwr_MotherendY);
fChain->SetBranchAddress("mcshwr_MotherendZ", mcshwr_MotherendZ, &b_mcshwr_MotherendZ);
fChain->SetBranchAddress("mcshwr_Ancestorpdg", mcshwr_Ancestorpdg, &b_mcshwr_Ancestorpdg);
fChain->SetBranchAddress("mcshwr_AncesotorTrkId", mcshwr_AncesotorTrkId, &b_mcshwr_AncesotorTrkId);
fChain->SetBranchAddress("mcshwr_AncesotorProcess", &mcshwr_AncesotorProcess, &b_mcshwr_AncesotorProcess);
fChain->SetBranchAddress("mcshwr_AncestorstartX", mcshwr_AncestorstartX, &b_mcshwr_AncestorstartX);
fChain->SetBranchAddress("mcshwr_AncestorstartY", mcshwr_AncestorstartY, &b_mcshwr_AncestorstartY);
fChain->SetBranchAddress("mcshwr_AncestorstartZ", mcshwr_AncestorstartZ, &b_mcshwr_AncestorstartZ);
fChain->SetBranchAddress("mcshwr_AncestorendX", mcshwr_AncestorendX, &b_mcshwr_AncestorendX);
fChain->SetBranchAddress("mcshwr_AncestorendY", mcshwr_AncestorendY, &b_mcshwr_AncestorendY);
fChain->SetBranchAddress("mcshwr_AncestorendZ", mcshwr_AncestorendZ, &b_mcshwr_AncestorendZ);
fChain->SetBranchAddress("ntracks_trackkalmanhit", &ntracks_trackkalmanhit, &b_ntracks_trackkalmanhit);
fChain->SetBranchAddress("trkId_trackkalmanhit", trkId_trackkalmanhit, &b_trkId_trackkalmanhit);
fChain->SetBranchAddress("trkncosmictags_tagger_trackkalmanhit", trkncosmictags_tagger_trackkalmanhit, &b_trkncosmictags_tagger_trackkalmanhit);
fChain->SetBranchAddress("trkcosmicscore_tagger_trackkalmanhit", trkcosmicscore_tagger_trackkalmanhit, &b_trkcosmicscore_tagger_trackkalmanhit);
fChain->SetBranchAddress("trkcosmictype_tagger_trackkalmanhit", trkcosmictype_tagger_trackkalmanhit, &b_trkcosmictype_tagger_trackkalmanhit);
fChain->SetBranchAddress("trkncosmictags_flashmatch_trackkalmanhit", trkncosmictags_flashmatch_trackkalmanhit, &b_trkncosmictags_flashmatch_trackkalmanhit);
fChain->SetBranchAddress("trkcosmicscore_flashmatch_trackkalmanhit", trkcosmicscore_flashmatch_trackkalmanhit, &b_trkcosmicscore_flashmatch_trackkalmanhit);
fChain->SetBranchAddress("trkcosmictype_flashmatch_trackkalmanhit", trkcosmictype_flashmatch_trackkalmanhit, &b_trkcosmictype_flashmatch_trackkalmanhit);
fChain->SetBranchAddress("trkke_trackkalmanhit", trkke_trackkalmanhit, &b_trkke_trackkalmanhit);
fChain->SetBranchAddress("trkrange_trackkalmanhit", trkrange_trackkalmanhit, &b_trkrange_trackkalmanhit);
fChain->SetBranchAddress("trkidtruth_trackkalmanhit", trkidtruth_trackkalmanhit, &b_trkidtruth_trackkalmanhit);
fChain->SetBranchAddress("trkorigin_trackkalmanhit", trkorigin_trackkalmanhit, &b_trkorigin_trackkalmanhit);
fChain->SetBranchAddress("trkpdgtruth_trackkalmanhit", trkpdgtruth_trackkalmanhit, &b_trkpdgtruth_trackkalmanhit);
fChain->SetBranchAddress("trkefftruth_trackkalmanhit", trkefftruth_trackkalmanhit, &b_trkefftruth_trackkalmanhit);
fChain->SetBranchAddress("trkpurtruth_trackkalmanhit", trkpurtruth_trackkalmanhit, &b_trkpurtruth_trackkalmanhit);
fChain->SetBranchAddress("trkpitchc_trackkalmanhit", trkpitchc_trackkalmanhit, &b_trkpitchc_trackkalmanhit);
fChain->SetBranchAddress("ntrkhits_trackkalmanhit", ntrkhits_trackkalmanhit, &b_ntrkhits_trackkalmanhit);
fChain->SetBranchAddress("trkdedx_trackkalmanhit", trkdedx_trackkalmanhit, &b_trkdedx_trackkalmanhit);
fChain->SetBranchAddress("trkdqdx_trackkalmanhit", trkdqdx_trackkalmanhit, &b_trkdqdx_trackkalmanhit);
fChain->SetBranchAddress("trkresrg_trackkalmanhit", trkresrg_trackkalmanhit, &b_trkresrg_trackkalmanhit);
fChain->SetBranchAddress("trkxyz_trackkalmanhit", trkxyz_trackkalmanhit, &b_trkxyz_trackkalmanhit);
fChain->SetBranchAddress("trkstartx_trackkalmanhit", trkstartx_trackkalmanhit, &b_trkstartx_trackkalmanhit);
fChain->SetBranchAddress("trkstarty_trackkalmanhit", trkstarty_trackkalmanhit, &b_trkstarty_trackkalmanhit);
fChain->SetBranchAddress("trkstartz_trackkalmanhit", trkstartz_trackkalmanhit, &b_trkstartz_trackkalmanhit);
fChain->SetBranchAddress("trkstartd_trackkalmanhit", trkstartd_trackkalmanhit, &b_trkstartd_trackkalmanhit);
fChain->SetBranchAddress("trkendx_trackkalmanhit", trkendx_trackkalmanhit, &b_trkendx_trackkalmanhit);
fChain->SetBranchAddress("trkendy_trackkalmanhit", trkendy_trackkalmanhit, &b_trkendy_trackkalmanhit);
fChain->SetBranchAddress("trkendz_trackkalmanhit", trkendz_trackkalmanhit, &b_trkendz_trackkalmanhit);
fChain->SetBranchAddress("trkendd_trackkalmanhit", trkendd_trackkalmanhit, &b_trkendd_trackkalmanhit);
fChain->SetBranchAddress("trktheta_trackkalmanhit", trktheta_trackkalmanhit, &b_trktheta_trackkalmanhit);
fChain->SetBranchAddress("trkphi_trackkalmanhit", trkphi_trackkalmanhit, &b_trkphi_trackkalmanhit);
fChain->SetBranchAddress("trkstartdcosx_trackkalmanhit", trkstartdcosx_trackkalmanhit, &b_trkstartdcosx_trackkalmanhit);
fChain->SetBranchAddress("trkstartdcosy_trackkalmanhit", trkstartdcosy_trackkalmanhit, &b_trkstartdcosy_trackkalmanhit);
fChain->SetBranchAddress("trkstartdcosz_trackkalmanhit", trkstartdcosz_trackkalmanhit, &b_trkstartdcosz_trackkalmanhit);
fChain->SetBranchAddress("trkenddcosx_trackkalmanhit", trkenddcosx_trackkalmanhit, &b_trkenddcosx_trackkalmanhit);
fChain->SetBranchAddress("trkenddcosy_trackkalmanhit", trkenddcosy_trackkalmanhit, &b_trkenddcosy_trackkalmanhit);
fChain->SetBranchAddress("trkenddcosz_trackkalmanhit", trkenddcosz_trackkalmanhit, &b_trkenddcosz_trackkalmanhit);
fChain->SetBranchAddress("trkthetaxz_trackkalmanhit", trkthetaxz_trackkalmanhit, &b_trkthetaxz_trackkalmanhit);
fChain->SetBranchAddress("trkthetayz_trackkalmanhit", trkthetayz_trackkalmanhit, &b_trkthetayz_trackkalmanhit);
fChain->SetBranchAddress("trkmom_trackkalmanhit", trkmom_trackkalmanhit, &b_trkmom_trackkalmanhit);
fChain->SetBranchAddress("trkmomrange_trackkalmanhit", trkmomrange_trackkalmanhit, &b_trkmomrange_trackkalmanhit);
fChain->SetBranchAddress("trkmommschi2_trackkalmanhit", trkmommschi2_trackkalmanhit, &b_trkmommschi2_trackkalmanhit);
fChain->SetBranchAddress("trkmommsllhd_trackkalmanhit", trkmommsllhd_trackkalmanhit, &b_trkmommsllhd_trackkalmanhit);
fChain->SetBranchAddress("trklen_trackkalmanhit", trklen_trackkalmanhit, &b_trklen_trackkalmanhit);
fChain->SetBranchAddress("trksvtxid_trackkalmanhit", trksvtxid_trackkalmanhit, &b_trksvtxid_trackkalmanhit);
fChain->SetBranchAddress("trkevtxid_trackkalmanhit", trkevtxid_trackkalmanhit, &b_trkevtxid_trackkalmanhit);
fChain->SetBranchAddress("trkpidpdg_trackkalmanhit", trkpidpdg_trackkalmanhit, &b_trkpidpdg_trackkalmanhit);
fChain->SetBranchAddress("trkpidchi_trackkalmanhit", trkpidchi_trackkalmanhit, &b_trkpidchi_trackkalmanhit);
fChain->SetBranchAddress("trkpidchipr_trackkalmanhit", trkpidchipr_trackkalmanhit, &b_trkpidchipr_trackkalmanhit);
fChain->SetBranchAddress("trkpidchika_trackkalmanhit", trkpidchika_trackkalmanhit, &b_trkpidchika_trackkalmanhit);
fChain->SetBranchAddress("trkpidchipi_trackkalmanhit", trkpidchipi_trackkalmanhit, &b_trkpidchipi_trackkalmanhit);
fChain->SetBranchAddress("trkpidchimu_trackkalmanhit", trkpidchimu_trackkalmanhit, &b_trkpidchimu_trackkalmanhit);
fChain->SetBranchAddress("trkpidpida_trackkalmanhit", trkpidpida_trackkalmanhit, &b_trkpidpida_trackkalmanhit);
fChain->SetBranchAddress("trkpidbestplane_trackkalmanhit", trkpidbestplane_trackkalmanhit, &b_trkpidbestplane_trackkalmanhit);
Notify();
}
Bool_t anatree::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 anatree::Show(Long64_t entry)
{
// Print contents of entry.
// If entry is not specified, print current entry
if (!fChain) return;
fChain->Show(entry);
}
Int_t anatree::Cut(Long64_t entry)
{
// This function may be called from Loop.
// returns 1 if entry is accepted.
// returns -1 otherwise.
return 1;
}
#endif // #ifdef anatree_cxx