forked from ltikvica/WZanalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWZGenEvent.h
1450 lines (1433 loc) · 64 KB
/
WZGenEvent.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
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue Jul 8 15:50:07 2014 by ROOT version 5.27/06b
// from TTree latino/probe_tree
// found on file: /users/ltikvica/latinosTreesPu/latinowz_step3NoFilter-118.root
//////////////////////////////////////////////////////////
#ifndef WZGenEvent_h
#define WZGenEvent_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
class WZGenEvent {
public :
TTree *fChain; //!pointer to the analyzed TTree or TChain
Int_t fCurrent; //!current Tree number in a TChain
// Declaration of leaf types
Float_t MZ;
Float_t PtZ;
Float_t WZchan;
Float_t baseW;
Float_t bdt1;
Float_t bdt2;
Float_t bdt3;
Float_t bdt4;
Float_t ch1;
Float_t ch2;
Float_t ch3;
Float_t ch4;
Float_t chSumEt;
Float_t channel;
Float_t chmet;
Float_t chmetphi;
Float_t cjeteta1;
Float_t cjeteta2;
Float_t cjetid1;
Float_t cjetid2;
Float_t cjetmva1;
Float_t cjetmva2;
Float_t cjetphi1;
Float_t cjetphi2;
Float_t cjetpt1;
Float_t cjetpt2;
Float_t dataset;
Float_t detajj;
Float_t dphill;
Float_t dphilljet;
Float_t dphilljetjet;
Float_t dphillmet;
Float_t dphilmet;
Float_t dphilmet1;
Float_t dphilmet2;
Float_t drll;
Float_t dymva0;
Float_t dymva1;
Float_t effAW;
Float_t effBW;
Float_t effW;
Float_t eta1;
Float_t eta2;
Float_t eta3;
Float_t eta4;
Float_t fakeAW;
Float_t fakeBW;
Float_t fakeW;
Float_t fermiW;
Float_t fourW;
Float_t gammaMRStar;
Float_t genVV_S1lepton1_eta;
Float_t genVV_S1lepton1_imTau;
Float_t genVV_S1lepton1_oVpid;
Float_t genVV_S1lepton1_phi;
Float_t genVV_S1lepton1_pid;
Float_t genVV_S1lepton1_pt;
Float_t genVV_S1lepton2_eta;
Float_t genVV_S1lepton2_imTau;
Float_t genVV_S1lepton2_oVpid;
Float_t genVV_S1lepton2_phi;
Float_t genVV_S1lepton2_pid;
Float_t genVV_S1lepton2_pt;
Float_t genVV_S1lepton3_eta;
Float_t genVV_S1lepton3_imTau;
Float_t genVV_S1lepton3_oVpid;
Float_t genVV_S1lepton3_phi;
Float_t genVV_S1lepton3_pid;
Float_t genVV_S1lepton3_pt;
Float_t genVV_jet1_eta;
Float_t genVV_jet1_parton_eta;
Float_t genVV_jet1_parton_phi;
Float_t genVV_jet1_parton_pid;
Float_t genVV_jet1_parton_pt;
Float_t genVV_jet1_phi;
Float_t genVV_jet1_pt;
Float_t genVV_jet2_eta;
Float_t genVV_jet2_parton_eta;
Float_t genVV_jet2_parton_phi;
Float_t genVV_jet2_parton_pid;
Float_t genVV_jet2_parton_pt;
Float_t genVV_jet2_phi;
Float_t genVV_jet2_pt;
Float_t genVV_jet3_eta;
Float_t genVV_jet3_parton_eta;
Float_t genVV_jet3_parton_phi;
Float_t genVV_jet3_parton_pid;
Float_t genVV_jet3_parton_pt;
Float_t genVV_jet3_phi;
Float_t genVV_jet3_pt;
Float_t genVV_jet4_eta;
Float_t genVV_jet4_parton_eta;
Float_t genVV_jet4_parton_phi;
Float_t genVV_jet4_parton_pid;
Float_t genVV_jet4_parton_pt;
Float_t genVV_jet4_phi;
Float_t genVV_jet4_pt;
Float_t genVV_jet5_eta;
Float_t genVV_jet5_parton_eta;
Float_t genVV_jet5_parton_phi;
Float_t genVV_jet5_parton_pid;
Float_t genVV_jet5_parton_pt;
Float_t genVV_jet5_phi;
Float_t genVV_jet5_pt;
Float_t genVV_lepton1_eta;
Float_t genVV_lepton1_imTau;
Float_t genVV_lepton1_oVpid;
Float_t genVV_lepton1_phi;
Float_t genVV_lepton1_pid;
Float_t genVV_lepton1_pt;
Float_t genVV_lepton2_eta;
Float_t genVV_lepton2_imTau;
Float_t genVV_lepton2_oVpid;
Float_t genVV_lepton2_phi;
Float_t genVV_lepton2_pid;
Float_t genVV_lepton2_pt;
Float_t genVV_lepton3_eta;
Float_t genVV_lepton3_imTau;
Float_t genVV_lepton3_oVpid;
Float_t genVV_lepton3_phi;
Float_t genVV_lepton3_pid;
Float_t genVV_lepton3_pt;
Float_t genVV_neutrino1_eta;
Float_t genVV_neutrino1_imTau;
Float_t genVV_neutrino1_oVpid;
Float_t genVV_neutrino1_phi;
Float_t genVV_neutrino1_pid;
Float_t genVV_neutrino1_pt;
Float_t genVV_neutrino2_eta;
Float_t genVV_neutrino2_imTau;
Float_t genVV_neutrino2_oVpid;
Float_t genVV_neutrino2_phi;
Float_t genVV_neutrino2_pid;
Float_t genVV_neutrino2_pt;
Float_t genVV_neutrino3_eta;
Float_t genVV_neutrino3_imTau;
Float_t genVV_neutrino3_oVpid;
Float_t genVV_neutrino3_phi;
Float_t genVV_neutrino3_pid;
Float_t genVV_neutrino3_pt;
Float_t hardbjpb;
Float_t hardtche;
Float_t higggsGenpt;
Float_t hypo;
Float_t imet;
Float_t isSTA1;
Float_t isSTA2;
Float_t isSTA3;
Float_t isSTA4;
Float_t iso1;
Float_t iso2;
Float_t iso3;
Float_t iso4;
Float_t isomva1;
Float_t isomva2;
Float_t isomva3;
Float_t isomva4;
Float_t jetCHM1;
Float_t jetCHM2;
Float_t jetCHM3;
Float_t jetCHM4;
Float_t jetCHM5;
Float_t jetCHM6;
Float_t jetCHM7;
Float_t jetNChgQC1;
Float_t jetNChgQC2;
Float_t jetNChgQC3;
Float_t jetNChgQC4;
Float_t jetNChgQC5;
Float_t jetNChgQC6;
Float_t jetNChgQC7;
Float_t jetNChgptCut1;
Float_t jetNChgptCut2;
Float_t jetNChgptCut3;
Float_t jetNChgptCut4;
Float_t jetNChgptCut5;
Float_t jetNChgptCut6;
Float_t jetNChgptCut7;
Float_t jetNHM1;
Float_t jetNHM2;
Float_t jetNHM3;
Float_t jetNHM4;
Float_t jetNHM5;
Float_t jetNHM6;
Float_t jetNHM7;
Float_t jetNNeutralptCut1;
Float_t jetNNeutralptCut2;
Float_t jetNNeutralptCut3;
Float_t jetNNeutralptCut4;
Float_t jetNNeutralptCut5;
Float_t jetNNeutralptCut6;
Float_t jetNNeutralptCut7;
Float_t jetPhM1;
Float_t jetPhM2;
Float_t jetPhM3;
Float_t jetPhM4;
Float_t jetPhM5;
Float_t jetPhM6;
Float_t jetPhM7;
Float_t jetQCRMScand1;
Float_t jetQCRMScand2;
Float_t jetQCRMScand3;
Float_t jetQCRMScand4;
Float_t jetQCRMScand5;
Float_t jetQCRMScand6;
Float_t jetQCRMScand7;
Float_t jetQCRmax1;
Float_t jetQCRmax2;
Float_t jetQCRmax3;
Float_t jetQCRmax4;
Float_t jetQCRmax5;
Float_t jetQCRmax6;
Float_t jetQCRmax7;
Float_t jetQCaxis11;
Float_t jetQCaxis12;
Float_t jetQCaxis13;
Float_t jetQCaxis14;
Float_t jetQCaxis15;
Float_t jetQCaxis16;
Float_t jetQCaxis17;
Float_t jetQCaxis21;
Float_t jetQCaxis22;
Float_t jetQCaxis23;
Float_t jetQCaxis24;
Float_t jetQCaxis25;
Float_t jetQCaxis26;
Float_t jetQCaxis27;
Float_t jetQCptD1;
Float_t jetQCptD2;
Float_t jetQCptD3;
Float_t jetQCptD4;
Float_t jetQCptD5;
Float_t jetQCptD6;
Float_t jetQCptD7;
Float_t jetRMScand1;
Float_t jetRMScand2;
Float_t jetRMScand3;
Float_t jetRMScand4;
Float_t jetRMScand5;
Float_t jetRMScand6;
Float_t jetRMScand7;
Float_t jetRho;
Float_t jetRmax1;
Float_t jetRmax2;
Float_t jetRmax3;
Float_t jetRmax4;
Float_t jetRmax5;
Float_t jetRmax6;
Float_t jetRmax7;
Float_t jetaxis11;
Float_t jetaxis12;
Float_t jetaxis13;
Float_t jetaxis14;
Float_t jetaxis15;
Float_t jetaxis16;
Float_t jetaxis17;
Float_t jetaxis21;
Float_t jetaxis22;
Float_t jetaxis23;
Float_t jetaxis24;
Float_t jetaxis25;
Float_t jetaxis26;
Float_t jetaxis27;
Float_t jetbjpb1;
Float_t jetbjpb2;
Float_t jetbjpb3;
Float_t jetbjpb4;
Float_t jetbjpb5;
Float_t jetbjpb6;
Float_t jetbjpb7;
Float_t jeteta1;
Float_t jeteta2;
Float_t jeteta3;
Float_t jeteta4;
Float_t jeteta5;
Float_t jeteta6;
Float_t jeteta7;
Float_t jetid1;
Float_t jetid2;
Float_t jetid3;
Float_t jetid4;
Float_t jetid5;
Float_t jetid6;
Float_t jetid7;
Float_t jetmass1;
Float_t jetmass2;
Float_t jetmass3;
Float_t jetmass4;
Float_t jetmass5;
Float_t jetmass6;
Float_t jetmass7;
Float_t jetmva1;
Float_t jetmva2;
Float_t jetmva3;
Float_t jetmva4;
Float_t jetmva5;
Float_t jetmva6;
Float_t jetmva7;
Float_t jetphi1;
Float_t jetphi2;
Float_t jetphi3;
Float_t jetphi4;
Float_t jetphi5;
Float_t jetphi6;
Float_t jetphi7;
Float_t jetpt1;
Float_t jetpt2;
Float_t jetpt3;
Float_t jetpt4;
Float_t jetpt5;
Float_t jetpt6;
Float_t jetpt7;
Float_t jetptD1;
Float_t jetptD2;
Float_t jetptD3;
Float_t jetptD4;
Float_t jetptD5;
Float_t jetptD6;
Float_t jetptD7;
Float_t jetptd1;
Float_t jetptd2;
Float_t jetptd3;
Float_t jetptd4;
Float_t jetptd5;
Float_t jetptd6;
Float_t jetptd7;
Float_t jettche1;
Float_t jettche2;
Float_t jettche3;
Float_t jettche4;
Float_t jettche5;
Float_t jettche6;
Float_t jettche7;
Float_t jettchp1;
Float_t jettchp2;
Float_t jettchp3;
Float_t jettchp4;
Float_t jettchp5;
Float_t jettchp6;
Float_t jettchp7;
Float_t kfW;
Float_t lh1;
Float_t lh2;
Float_t lh3;
Float_t lh4;
Float_t mctruth;
Float_t metGeneta;
Float_t metGenphi;
Float_t metGenpt;
Float_t mjj;
Float_t mll;
Float_t mpmet;
Float_t mth;
Float_t mtw1;
Float_t mtw2;
Float_t nbjet;
Float_t nbjettche;
Float_t nbrem1;
Float_t nbrem2;
Float_t nbrem3;
Float_t nbrem4;
Float_t nextra;
Float_t njet;
Float_t njetid;
Float_t njetvbf;
Float_t pchmet;
Float_t pdfid1;
Float_t pdfid2;
Float_t pdfscalePDF;
Float_t pdfx1;
Float_t pdfx1PDF;
Float_t pdfx2;
Float_t pdfx2PDF;
Float_t pdgid1;
Float_t pdgid2;
Float_t pdgid3;
Float_t pdgid4;
Float_t peaking;
Float_t pfSumEt;
Float_t pfmet;
Float_t pfmetMEtSig;
Float_t pfmetSignificance;
Float_t pfmetTypeI;
Float_t pfmetTypeIphi;
Float_t pfmetphi;
Float_t phi1;
Float_t phi2;
Float_t phi3;
Float_t phi4;
Float_t ppfmet;
Float_t predmet;
Float_t pt1;
Float_t pt2;
Float_t pt3;
Float_t pt4;
Float_t ptll;
Float_t redmet;
Float_t sceta1;
Float_t sceta2;
Float_t sceta3;
Float_t sceta4;
Float_t softbjpb;
Float_t softtche;
Float_t tightmu;
Float_t triggAW;
Float_t triggBW;
Float_t triggW;
Float_t trigger;
Float_t worstJetLepPt;
Float_t yll;
Float_t itpu;
Float_t nvtx;
Float_t ootpum1;
Float_t ootpup1;
Float_t puAW;
Float_t puBW;
Float_t puW;
Float_t trpu;
Int_t bveto;
Int_t bveto_ip;
Int_t bveto_mu;
Int_t bveto_munj;
Int_t bveto_munj05;
Int_t bveto_munj30;
Int_t bveto_munj3005;
Int_t bveto_nj;
Int_t bveto_nj05;
Int_t bveto_nj30;
Int_t bveto_nj3005;
Int_t dphiveto;
Int_t pass2012ICHEP1;
Int_t pass2012ICHEP2;
Int_t pass2012ICHEP3;
Int_t pass2012ICHEP4;
Int_t sameflav;
Int_t zveto;
UInt_t run;
UInt_t lumi;
UInt_t event;
Float_t puW_new;
Float_t puW_up;
Float_t puW_down;
// List of branches
TBranch *b_MZ; //!
TBranch *b_PtZ; //!
TBranch *b_WZchan; //!
TBranch *b_baseW; //!
TBranch *b_bdt1; //!
TBranch *b_bdt2; //!
TBranch *b_bdt3; //!
TBranch *b_bdt4; //!
TBranch *b_ch1; //!
TBranch *b_ch2; //!
TBranch *b_ch3; //!
TBranch *b_ch4; //!
TBranch *b_chSumEt; //!
TBranch *b_channel; //!
TBranch *b_chmet; //!
TBranch *b_chmetphi; //!
TBranch *b_cjeteta1; //!
TBranch *b_cjeteta2; //!
TBranch *b_cjetid1; //!
TBranch *b_cjetid2; //!
TBranch *b_cjetmva1; //!
TBranch *b_cjetmva2; //!
TBranch *b_cjetphi1; //!
TBranch *b_cjetphi2; //!
TBranch *b_cjetpt1; //!
TBranch *b_cjetpt2; //!
TBranch *b_dataset; //!
TBranch *b_detajj; //!
TBranch *b_dphill; //!
TBranch *b_dphilljet; //!
TBranch *b_dphilljetjet; //!
TBranch *b_dphillmet; //!
TBranch *b_dphilmet; //!
TBranch *b_dphilmet1; //!
TBranch *b_dphilmet2; //!
TBranch *b_drll; //!
TBranch *b_dymva0; //!
TBranch *b_dymva1; //!
TBranch *b_effAW; //!
TBranch *b_effBW; //!
TBranch *b_effW; //!
TBranch *b_eta1; //!
TBranch *b_eta2; //!
TBranch *b_eta3; //!
TBranch *b_eta4; //!
TBranch *b_fakeAW; //!
TBranch *b_fakeBW; //!
TBranch *b_fakeW; //!
TBranch *b_fermiW; //!
TBranch *b_fourW; //!
TBranch *b_gammaMRStar; //!
TBranch *b_genVV_S1lepton1_eta; //!
TBranch *b_genVV_S1lepton1_imTau; //!
TBranch *b_genVV_S1lepton1_oVpid; //!
TBranch *b_genVV_S1lepton1_phi; //!
TBranch *b_genVV_S1lepton1_pid; //!
TBranch *b_genVV_S1lepton1_pt; //!
TBranch *b_genVV_S1lepton2_eta; //!
TBranch *b_genVV_S1lepton2_imTau; //!
TBranch *b_genVV_S1lepton2_oVpid; //!
TBranch *b_genVV_S1lepton2_phi; //!
TBranch *b_genVV_S1lepton2_pid; //!
TBranch *b_genVV_S1lepton2_pt; //!
TBranch *b_genVV_S1lepton3_eta; //!
TBranch *b_genVV_S1lepton3_imTau; //!
TBranch *b_genVV_S1lepton3_oVpid; //!
TBranch *b_genVV_S1lepton3_phi; //!
TBranch *b_genVV_S1lepton3_pid; //!
TBranch *b_genVV_S1lepton3_pt; //!
TBranch *b_genVV_jet1_eta; //!
TBranch *b_genVV_jet1_parton_eta; //!
TBranch *b_genVV_jet1_parton_phi; //!
TBranch *b_genVV_jet1_parton_pid; //!
TBranch *b_genVV_jet1_parton_pt; //!
TBranch *b_genVV_jet1_phi; //!
TBranch *b_genVV_jet1_pt; //!
TBranch *b_genVV_jet2_eta; //!
TBranch *b_genVV_jet2_parton_eta; //!
TBranch *b_genVV_jet2_parton_phi; //!
TBranch *b_genVV_jet2_parton_pid; //!
TBranch *b_genVV_jet2_parton_pt; //!
TBranch *b_genVV_jet2_phi; //!
TBranch *b_genVV_jet2_pt; //!
TBranch *b_genVV_jet3_eta; //!
TBranch *b_genVV_jet3_parton_eta; //!
TBranch *b_genVV_jet3_parton_phi; //!
TBranch *b_genVV_jet3_parton_pid; //!
TBranch *b_genVV_jet3_parton_pt; //!
TBranch *b_genVV_jet3_phi; //!
TBranch *b_genVV_jet3_pt; //!
TBranch *b_genVV_jet4_eta; //!
TBranch *b_genVV_jet4_parton_eta; //!
TBranch *b_genVV_jet4_parton_phi; //!
TBranch *b_genVV_jet4_parton_pid; //!
TBranch *b_genVV_jet4_parton_pt; //!
TBranch *b_genVV_jet4_phi; //!
TBranch *b_genVV_jet4_pt; //!
TBranch *b_genVV_jet5_eta; //!
TBranch *b_genVV_jet5_parton_eta; //!
TBranch *b_genVV_jet5_parton_phi; //!
TBranch *b_genVV_jet5_parton_pid; //!
TBranch *b_genVV_jet5_parton_pt; //!
TBranch *b_genVV_jet5_phi; //!
TBranch *b_genVV_jet5_pt; //!
TBranch *b_genVV_lepton1_eta; //!
TBranch *b_genVV_lepton1_imTau; //!
TBranch *b_genVV_lepton1_oVpid; //!
TBranch *b_genVV_lepton1_phi; //!
TBranch *b_genVV_lepton1_pid; //!
TBranch *b_genVV_lepton1_pt; //!
TBranch *b_genVV_lepton2_eta; //!
TBranch *b_genVV_lepton2_imTau; //!
TBranch *b_genVV_lepton2_oVpid; //!
TBranch *b_genVV_lepton2_phi; //!
TBranch *b_genVV_lepton2_pid; //!
TBranch *b_genVV_lepton2_pt; //!
TBranch *b_genVV_lepton3_eta; //!
TBranch *b_genVV_lepton3_imTau; //!
TBranch *b_genVV_lepton3_oVpid; //!
TBranch *b_genVV_lepton3_phi; //!
TBranch *b_genVV_lepton3_pid; //!
TBranch *b_genVV_lepton3_pt; //!
TBranch *b_genVV_neutrino1_eta; //!
TBranch *b_genVV_neutrino1_imTau; //!
TBranch *b_genVV_neutrino1_oVpid; //!
TBranch *b_genVV_neutrino1_phi; //!
TBranch *b_genVV_neutrino1_pid; //!
TBranch *b_genVV_neutrino1_pt; //!
TBranch *b_genVV_neutrino2_eta; //!
TBranch *b_genVV_neutrino2_imTau; //!
TBranch *b_genVV_neutrino2_oVpid; //!
TBranch *b_genVV_neutrino2_phi; //!
TBranch *b_genVV_neutrino2_pid; //!
TBranch *b_genVV_neutrino2_pt; //!
TBranch *b_genVV_neutrino3_eta; //!
TBranch *b_genVV_neutrino3_imTau; //!
TBranch *b_genVV_neutrino3_oVpid; //!
TBranch *b_genVV_neutrino3_phi; //!
TBranch *b_genVV_neutrino3_pid; //!
TBranch *b_genVV_neutrino3_pt; //!
TBranch *b_hardbjpb; //!
TBranch *b_hardtche; //!
TBranch *b_higggsGenpt; //!
TBranch *b_hypo; //!
TBranch *b_imet; //!
TBranch *b_isSTA1; //!
TBranch *b_isSTA2; //!
TBranch *b_isSTA3; //!
TBranch *b_isSTA4; //!
TBranch *b_iso1; //!
TBranch *b_iso2; //!
TBranch *b_iso3; //!
TBranch *b_iso4; //!
TBranch *b_isomva1; //!
TBranch *b_isomva2; //!
TBranch *b_isomva3; //!
TBranch *b_isomva4; //!
TBranch *b_jetCHM1; //!
TBranch *b_jetCHM2; //!
TBranch *b_jetCHM3; //!
TBranch *b_jetCHM4; //!
TBranch *b_jetCHM5; //!
TBranch *b_jetCHM6; //!
TBranch *b_jetCHM7; //!
TBranch *b_jetNChgQC1; //!
TBranch *b_jetNChgQC2; //!
TBranch *b_jetNChgQC3; //!
TBranch *b_jetNChgQC4; //!
TBranch *b_jetNChgQC5; //!
TBranch *b_jetNChgQC6; //!
TBranch *b_jetNChgQC7; //!
TBranch *b_jetNChgptCut1; //!
TBranch *b_jetNChgptCut2; //!
TBranch *b_jetNChgptCut3; //!
TBranch *b_jetNChgptCut4; //!
TBranch *b_jetNChgptCut5; //!
TBranch *b_jetNChgptCut6; //!
TBranch *b_jetNChgptCut7; //!
TBranch *b_jetNHM1; //!
TBranch *b_jetNHM2; //!
TBranch *b_jetNHM3; //!
TBranch *b_jetNHM4; //!
TBranch *b_jetNHM5; //!
TBranch *b_jetNHM6; //!
TBranch *b_jetNHM7; //!
TBranch *b_jetNNeutralptCut1; //!
TBranch *b_jetNNeutralptCut2; //!
TBranch *b_jetNNeutralptCut3; //!
TBranch *b_jetNNeutralptCut4; //!
TBranch *b_jetNNeutralptCut5; //!
TBranch *b_jetNNeutralptCut6; //!
TBranch *b_jetNNeutralptCut7; //!
TBranch *b_jetPhM1; //!
TBranch *b_jetPhM2; //!
TBranch *b_jetPhM3; //!
TBranch *b_jetPhM4; //!
TBranch *b_jetPhM5; //!
TBranch *b_jetPhM6; //!
TBranch *b_jetPhM7; //!
TBranch *b_jetQCRMScand1; //!
TBranch *b_jetQCRMScand2; //!
TBranch *b_jetQCRMScand3; //!
TBranch *b_jetQCRMScand4; //!
TBranch *b_jetQCRMScand5; //!
TBranch *b_jetQCRMScand6; //!
TBranch *b_jetQCRMScand7; //!
TBranch *b_jetQCRmax1; //!
TBranch *b_jetQCRmax2; //!
TBranch *b_jetQCRmax3; //!
TBranch *b_jetQCRmax4; //!
TBranch *b_jetQCRmax5; //!
TBranch *b_jetQCRmax6; //!
TBranch *b_jetQCRmax7; //!
TBranch *b_jetQCaxis11; //!
TBranch *b_jetQCaxis12; //!
TBranch *b_jetQCaxis13; //!
TBranch *b_jetQCaxis14; //!
TBranch *b_jetQCaxis15; //!
TBranch *b_jetQCaxis16; //!
TBranch *b_jetQCaxis17; //!
TBranch *b_jetQCaxis21; //!
TBranch *b_jetQCaxis22; //!
TBranch *b_jetQCaxis23; //!
TBranch *b_jetQCaxis24; //!
TBranch *b_jetQCaxis25; //!
TBranch *b_jetQCaxis26; //!
TBranch *b_jetQCaxis27; //!
TBranch *b_jetQCptD1; //!
TBranch *b_jetQCptD2; //!
TBranch *b_jetQCptD3; //!
TBranch *b_jetQCptD4; //!
TBranch *b_jetQCptD5; //!
TBranch *b_jetQCptD6; //!
TBranch *b_jetQCptD7; //!
TBranch *b_jetRMScand1; //!
TBranch *b_jetRMScand2; //!
TBranch *b_jetRMScand3; //!
TBranch *b_jetRMScand4; //!
TBranch *b_jetRMScand5; //!
TBranch *b_jetRMScand6; //!
TBranch *b_jetRMScand7; //!
TBranch *b_jetRho; //!
TBranch *b_jetRmax1; //!
TBranch *b_jetRmax2; //!
TBranch *b_jetRmax3; //!
TBranch *b_jetRmax4; //!
TBranch *b_jetRmax5; //!
TBranch *b_jetRmax6; //!
TBranch *b_jetRmax7; //!
TBranch *b_jetaxis11; //!
TBranch *b_jetaxis12; //!
TBranch *b_jetaxis13; //!
TBranch *b_jetaxis14; //!
TBranch *b_jetaxis15; //!
TBranch *b_jetaxis16; //!
TBranch *b_jetaxis17; //!
TBranch *b_jetaxis21; //!
TBranch *b_jetaxis22; //!
TBranch *b_jetaxis23; //!
TBranch *b_jetaxis24; //!
TBranch *b_jetaxis25; //!
TBranch *b_jetaxis26; //!
TBranch *b_jetaxis27; //!
TBranch *b_jetbjpb1; //!
TBranch *b_jetbjpb2; //!
TBranch *b_jetbjpb3; //!
TBranch *b_jetbjpb4; //!
TBranch *b_jetbjpb5; //!
TBranch *b_jetbjpb6; //!
TBranch *b_jetbjpb7; //!
TBranch *b_jeteta1; //!
TBranch *b_jeteta2; //!
TBranch *b_jeteta3; //!
TBranch *b_jeteta4; //!
TBranch *b_jeteta5; //!
TBranch *b_jeteta6; //!
TBranch *b_jeteta7; //!
TBranch *b_jetid1; //!
TBranch *b_jetid2; //!
TBranch *b_jetid3; //!
TBranch *b_jetid4; //!
TBranch *b_jetid5; //!
TBranch *b_jetid6; //!
TBranch *b_jetid7; //!
TBranch *b_jetmass1; //!
TBranch *b_jetmass2; //!
TBranch *b_jetmass3; //!
TBranch *b_jetmass4; //!
TBranch *b_jetmass5; //!
TBranch *b_jetmass6; //!
TBranch *b_jetmass7; //!
TBranch *b_jetmva1; //!
TBranch *b_jetmva2; //!
TBranch *b_jetmva3; //!
TBranch *b_jetmva4; //!
TBranch *b_jetmva5; //!
TBranch *b_jetmva6; //!
TBranch *b_jetmva7; //!
TBranch *b_jetphi1; //!
TBranch *b_jetphi2; //!
TBranch *b_jetphi3; //!
TBranch *b_jetphi4; //!
TBranch *b_jetphi5; //!
TBranch *b_jetphi6; //!
TBranch *b_jetphi7; //!
TBranch *b_jetpt1; //!
TBranch *b_jetpt2; //!
TBranch *b_jetpt3; //!
TBranch *b_jetpt4; //!
TBranch *b_jetpt5; //!
TBranch *b_jetpt6; //!
TBranch *b_jetpt7; //!
TBranch *b_jetptD1; //!
TBranch *b_jetptD2; //!
TBranch *b_jetptD3; //!
TBranch *b_jetptD4; //!
TBranch *b_jetptD5; //!
TBranch *b_jetptD6; //!
TBranch *b_jetptD7; //!
TBranch *b_jetptd1; //!
TBranch *b_jetptd2; //!
TBranch *b_jetptd3; //!
TBranch *b_jetptd4; //!
TBranch *b_jetptd5; //!
TBranch *b_jetptd6; //!
TBranch *b_jetptd7; //!
TBranch *b_jettche1; //!
TBranch *b_jettche2; //!
TBranch *b_jettche3; //!
TBranch *b_jettche4; //!
TBranch *b_jettche5; //!
TBranch *b_jettche6; //!
TBranch *b_jettche7; //!
TBranch *b_jettchp1; //!
TBranch *b_jettchp2; //!
TBranch *b_jettchp3; //!
TBranch *b_jettchp4; //!
TBranch *b_jettchp5; //!
TBranch *b_jettchp6; //!
TBranch *b_jettchp7; //!
TBranch *b_kfW; //!
TBranch *b_lh1; //!
TBranch *b_lh2; //!
TBranch *b_lh3; //!
TBranch *b_lh4; //!
TBranch *b_mctruth; //!
TBranch *b_metGeneta; //!
TBranch *b_metGenphi; //!
TBranch *b_metGenpt; //!
TBranch *b_mjj; //!
TBranch *b_mll; //!
TBranch *b_mpmet; //!
TBranch *b_mth; //!
TBranch *b_mtw1; //!
TBranch *b_mtw2; //!
TBranch *b_nbjet; //!
TBranch *b_nbjettche; //!
TBranch *b_nbrem1; //!
TBranch *b_nbrem2; //!
TBranch *b_nbrem3; //!
TBranch *b_nbrem4; //!
TBranch *b_nextra; //!
TBranch *b_njet; //!
TBranch *b_njetid; //!
TBranch *b_njetvbf; //!
TBranch *b_pchmet; //!
TBranch *b_pdfid1; //!
TBranch *b_pdfid2; //!
TBranch *b_pdfscalePDF; //!
TBranch *b_pdfx1; //!
TBranch *b_pdfx1PDF; //!
TBranch *b_pdfx2; //!
TBranch *b_pdfx2PDF; //!
TBranch *b_pdgid1; //!
TBranch *b_pdgid2; //!
TBranch *b_pdgid3; //!
TBranch *b_pdgid4; //!
TBranch *b_peaking; //!
TBranch *b_pfSumEt; //!
TBranch *b_pfmet; //!
TBranch *b_pfmetMEtSig; //!
TBranch *b_pfmetSignificance; //!
TBranch *b_pfmetTypeI; //!
TBranch *b_pfmetTypeIphi; //!
TBranch *b_pfmetphi; //!
TBranch *b_phi1; //!
TBranch *b_phi2; //!
TBranch *b_phi3; //!
TBranch *b_phi4; //!
TBranch *b_ppfmet; //!
TBranch *b_predmet; //!
TBranch *b_pt1; //!
TBranch *b_pt2; //!
TBranch *b_pt3; //!
TBranch *b_pt4; //!
TBranch *b_ptll; //!
TBranch *b_redmet; //!
TBranch *b_sceta1; //!
TBranch *b_sceta2; //!
TBranch *b_sceta3; //!
TBranch *b_sceta4; //!
TBranch *b_softbjpb; //!
TBranch *b_softtche; //!
TBranch *b_tightmu; //!
TBranch *b_triggAW; //!
TBranch *b_triggBW; //!
TBranch *b_triggW; //!
TBranch *b_trigger; //!
TBranch *b_worstJetLepPt; //!
TBranch *b_yll; //!
TBranch *b_itpu; //!
TBranch *b_nvtx; //!
TBranch *b_ootpum1; //!
TBranch *b_ootpup1; //!
TBranch *b_puAW; //!
TBranch *b_puBW; //!
TBranch *b_puW; //!
TBranch *b_trpu; //!
TBranch *b_bveto; //!
TBranch *b_bveto_ip; //!
TBranch *b_bveto_mu; //!
TBranch *b_bveto_munj; //!
TBranch *b_bveto_munj05; //!
TBranch *b_bveto_munj30; //!
TBranch *b_bveto_munj3005; //!
TBranch *b_bveto_nj; //!
TBranch *b_bveto_nj05; //!
TBranch *b_bveto_nj30; //!
TBranch *b_bveto_nj3005; //!
TBranch *b_dphiveto; //!
TBranch *b_pass2012ICHEP1; //!
TBranch *b_pass2012ICHEP2; //!
TBranch *b_pass2012ICHEP3; //!
TBranch *b_pass2012ICHEP4; //!
TBranch *b_sameflav; //!
TBranch *b_zveto; //!
TBranch *b_run; //!
TBranch *b_lumi; //!
TBranch *b_event; //!
TBranch *b_puW_new; //!
TBranch *b_puW_up; //!
TBranch *b_puW_down; //!
WZGenEvent(TTree *tree=0);
virtual ~WZGenEvent();
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 WZGenEvent_cxx
WZGenEvent::WZGenEvent(TTree *tree)
{
// 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("/users/ltikvica/latinosTreesPu/latinowz_step3NoFilter-118.root");
if (!f) {
f = new TFile("/users/ltikvica/latinosTreesPu/latinowz_step3NoFilter-118.root");
}
tree = (TTree*)gDirectory->Get("latino");
}
Init(tree);
}
WZGenEvent::~WZGenEvent()
{
if (!fChain) return;
delete fChain->GetCurrentFile();
}
Int_t WZGenEvent::GetEntry(Long64_t entry)
{
// Read contents of entry.
if (!fChain) return 0;
return fChain->GetEntry(entry);
}
Long64_t WZGenEvent::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->InheritsFrom(TChain::Class())) return centry;
TChain *chain = (TChain*)fChain;
if (chain->GetTreeNumber() != fCurrent) {
fCurrent = chain->GetTreeNumber();
Notify();
}
return centry;
}
void WZGenEvent::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("MZ", &MZ, &b_MZ);
fChain->SetBranchAddress("PtZ", &PtZ, &b_PtZ);
fChain->SetBranchAddress("WZchan", &WZchan, &b_WZchan);
fChain->SetBranchAddress("baseW", &baseW, &b_baseW);
fChain->SetBranchAddress("bdt1", &bdt1, &b_bdt1);
fChain->SetBranchAddress("bdt2", &bdt2, &b_bdt2);
fChain->SetBranchAddress("bdt3", &bdt3, &b_bdt3);
fChain->SetBranchAddress("bdt4", &bdt4, &b_bdt4);
fChain->SetBranchAddress("ch1", &ch1, &b_ch1);
fChain->SetBranchAddress("ch2", &ch2, &b_ch2);
fChain->SetBranchAddress("ch3", &ch3, &b_ch3);
fChain->SetBranchAddress("ch4", &ch4, &b_ch4);
fChain->SetBranchAddress("chSumEt", &chSumEt, &b_chSumEt);
fChain->SetBranchAddress("channel", &channel, &b_channel);
fChain->SetBranchAddress("chmet", &chmet, &b_chmet);
fChain->SetBranchAddress("chmetphi", &chmetphi, &b_chmetphi);
fChain->SetBranchAddress("cjeteta1", &cjeteta1, &b_cjeteta1);
fChain->SetBranchAddress("cjeteta2", &cjeteta2, &b_cjeteta2);
fChain->SetBranchAddress("cjetid1", &cjetid1, &b_cjetid1);
fChain->SetBranchAddress("cjetid2", &cjetid2, &b_cjetid2);
fChain->SetBranchAddress("cjetmva1", &cjetmva1, &b_cjetmva1);