forked from ltikvica/WZanalysis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
WZ2012Data.h
860 lines (842 loc) · 33.2 KB
/
WZ2012Data.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
//////////////////////////////////////////////////////////
// This class has been automatically generated on
// Tue May 6 12:20:54 2014 by ROOT version 5.27/06b
// from TTree latino/probe_tree
// found on file: /STORE/lucija/latinosTrees/Data_LooseLooseTypeI/latino_103_DoubleMuon2012A.root
//////////////////////////////////////////////////////////
#ifndef WZ2012Data_h
#define WZ2012Data_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
class WZ2012Data {
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 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 hardbjpb;
Float_t hardtche;
Float_t hypo;
Float_t imet;
Float_t ip1;
Float_t ip2;
Float_t ip3;
Float_t ip4;
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 itpu;
Float_t jetCHM1;
Float_t jetCHM2;
Float_t jetCHM3;
Float_t jetCHM4;
Float_t jetCHM5;
Float_t jetCHM6;
Float_t jetCHM7;
Float_t jetNHM1;
Float_t jetNHM2;
Float_t jetNHM3;
Float_t jetNHM4;
Float_t jetNHM5;
Float_t jetNHM6;
Float_t jetNHM7;
Float_t jetPhM1;
Float_t jetPhM2;
Float_t jetPhM3;
Float_t jetPhM4;
Float_t jetPhM5;
Float_t jetPhM6;
Float_t jetPhM7;
Float_t jetRho;
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 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 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 ootpum1;
Float_t ootpup1;
Float_t pchmet;
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 puAW;
Float_t puBW;
Float_t puW;
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 trpu;
Float_t worstJetLepPt;
Float_t yll;
Float_t nvtx;
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;
// List of branches
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_hardbjpb; //!
TBranch *b_hardtche; //!
TBranch *b_hypo; //!
TBranch *b_imet; //!
TBranch *b_ip1; //!
TBranch *b_ip2; //!
TBranch *b_ip3; //!
TBranch *b_ip4; //!
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_itpu; //!
TBranch *b_jetCHM1; //!
TBranch *b_jetCHM2; //!
TBranch *b_jetCHM3; //!
TBranch *b_jetCHM4; //!
TBranch *b_jetCHM5; //!
TBranch *b_jetCHM6; //!
TBranch *b_jetCHM7; //!
TBranch *b_jetNHM1; //!
TBranch *b_jetNHM2; //!
TBranch *b_jetNHM3; //!
TBranch *b_jetNHM4; //!
TBranch *b_jetNHM5; //!
TBranch *b_jetNHM6; //!
TBranch *b_jetNHM7; //!
TBranch *b_jetPhM1; //!
TBranch *b_jetPhM2; //!
TBranch *b_jetPhM3; //!
TBranch *b_jetPhM4; //!
TBranch *b_jetPhM5; //!
TBranch *b_jetPhM6; //!
TBranch *b_jetPhM7; //!
TBranch *b_jetRho; //!
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_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_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_ootpum1; //!
TBranch *b_ootpup1; //!
TBranch *b_pchmet; //!
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_puAW; //!
TBranch *b_puBW; //!
TBranch *b_puW; //!
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_trpu; //!
TBranch *b_worstJetLepPt; //!
TBranch *b_yll; //!
TBranch *b_nvtx; //!
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; //!
WZ2012Data(TTree *tree=0);
virtual ~WZ2012Data();
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 WZ2012Data_cxx
WZ2012Data::WZ2012Data(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("/STORE/lucija/latinosTrees/Data_LooseLooseTypeI/latino_103_DoubleMuon2012A.root");
if (!f) {
f = new TFile("/STORE/lucija/latinosTrees/Data_LooseLooseTypeI/latino_103_DoubleMuon2012A.root");
}
tree = (TTree*)gDirectory->Get("latino");
}
Init(tree);
}
WZ2012Data::~WZ2012Data()
{
if (!fChain) return;
delete fChain->GetCurrentFile();
}
Int_t WZ2012Data::GetEntry(Long64_t entry)
{
// Read contents of entry.
if (!fChain) return 0;
return fChain->GetEntry(entry);
}
Long64_t WZ2012Data::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 WZ2012Data::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("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);
fChain->SetBranchAddress("cjetmva2", &cjetmva2, &b_cjetmva2);
fChain->SetBranchAddress("cjetphi1", &cjetphi1, &b_cjetphi1);
fChain->SetBranchAddress("cjetphi2", &cjetphi2, &b_cjetphi2);
fChain->SetBranchAddress("cjetpt1", &cjetpt1, &b_cjetpt1);
fChain->SetBranchAddress("cjetpt2", &cjetpt2, &b_cjetpt2);
fChain->SetBranchAddress("dataset", &dataset, &b_dataset);
fChain->SetBranchAddress("detajj", &detajj, &b_detajj);
fChain->SetBranchAddress("dphill", &dphill, &b_dphill);
fChain->SetBranchAddress("dphilljet", &dphilljet, &b_dphilljet);
fChain->SetBranchAddress("dphilljetjet", &dphilljetjet, &b_dphilljetjet);
fChain->SetBranchAddress("dphillmet", &dphillmet, &b_dphillmet);
fChain->SetBranchAddress("dphilmet", &dphilmet, &b_dphilmet);
fChain->SetBranchAddress("dphilmet1", &dphilmet1, &b_dphilmet1);
fChain->SetBranchAddress("dphilmet2", &dphilmet2, &b_dphilmet2);
fChain->SetBranchAddress("drll", &drll, &b_drll);
fChain->SetBranchAddress("dymva0", &dymva0, &b_dymva0);
fChain->SetBranchAddress("dymva1", &dymva1, &b_dymva1);
fChain->SetBranchAddress("effAW", &effAW, &b_effAW);
fChain->SetBranchAddress("effBW", &effBW, &b_effBW);
fChain->SetBranchAddress("effW", &effW, &b_effW);
fChain->SetBranchAddress("eta1", &eta1, &b_eta1);
fChain->SetBranchAddress("eta2", &eta2, &b_eta2);
fChain->SetBranchAddress("eta3", &eta3, &b_eta3);
fChain->SetBranchAddress("eta4", &eta4, &b_eta4);
fChain->SetBranchAddress("fakeAW", &fakeAW, &b_fakeAW);
fChain->SetBranchAddress("fakeBW", &fakeBW, &b_fakeBW);
fChain->SetBranchAddress("fakeW", &fakeW, &b_fakeW);
fChain->SetBranchAddress("fermiW", &fermiW, &b_fermiW);
fChain->SetBranchAddress("fourW", &fourW, &b_fourW);
fChain->SetBranchAddress("gammaMRStar", &gammaMRStar, &b_gammaMRStar);
fChain->SetBranchAddress("hardbjpb", &hardbjpb, &b_hardbjpb);
fChain->SetBranchAddress("hardtche", &hardtche, &b_hardtche);
fChain->SetBranchAddress("hypo", &hypo, &b_hypo);
fChain->SetBranchAddress("imet", &imet, &b_imet);
fChain->SetBranchAddress("ip1", &ip1, &b_ip1);
fChain->SetBranchAddress("ip2", &ip2, &b_ip2);
fChain->SetBranchAddress("ip3", &ip3, &b_ip3);
fChain->SetBranchAddress("ip4", &ip4, &b_ip4);
fChain->SetBranchAddress("isSTA1", &isSTA1, &b_isSTA1);
fChain->SetBranchAddress("isSTA2", &isSTA2, &b_isSTA2);
fChain->SetBranchAddress("isSTA3", &isSTA3, &b_isSTA3);
fChain->SetBranchAddress("isSTA4", &isSTA4, &b_isSTA4);
fChain->SetBranchAddress("iso1", &iso1, &b_iso1);
fChain->SetBranchAddress("iso2", &iso2, &b_iso2);
fChain->SetBranchAddress("iso3", &iso3, &b_iso3);
fChain->SetBranchAddress("iso4", &iso4, &b_iso4);
fChain->SetBranchAddress("isomva1", &isomva1, &b_isomva1);
fChain->SetBranchAddress("isomva2", &isomva2, &b_isomva2);
fChain->SetBranchAddress("isomva3", &isomva3, &b_isomva3);
fChain->SetBranchAddress("isomva4", &isomva4, &b_isomva4);
fChain->SetBranchAddress("itpu", &itpu, &b_itpu);
fChain->SetBranchAddress("jetCHM1", &jetCHM1, &b_jetCHM1);
fChain->SetBranchAddress("jetCHM2", &jetCHM2, &b_jetCHM2);
fChain->SetBranchAddress("jetCHM3", &jetCHM3, &b_jetCHM3);
fChain->SetBranchAddress("jetCHM4", &jetCHM4, &b_jetCHM4);
fChain->SetBranchAddress("jetCHM5", &jetCHM5, &b_jetCHM5);
fChain->SetBranchAddress("jetCHM6", &jetCHM6, &b_jetCHM6);
fChain->SetBranchAddress("jetCHM7", &jetCHM7, &b_jetCHM7);
fChain->SetBranchAddress("jetNHM1", &jetNHM1, &b_jetNHM1);
fChain->SetBranchAddress("jetNHM2", &jetNHM2, &b_jetNHM2);
fChain->SetBranchAddress("jetNHM3", &jetNHM3, &b_jetNHM3);
fChain->SetBranchAddress("jetNHM4", &jetNHM4, &b_jetNHM4);
fChain->SetBranchAddress("jetNHM5", &jetNHM5, &b_jetNHM5);
fChain->SetBranchAddress("jetNHM6", &jetNHM6, &b_jetNHM6);
fChain->SetBranchAddress("jetNHM7", &jetNHM7, &b_jetNHM7);
fChain->SetBranchAddress("jetPhM1", &jetPhM1, &b_jetPhM1);
fChain->SetBranchAddress("jetPhM2", &jetPhM2, &b_jetPhM2);
fChain->SetBranchAddress("jetPhM3", &jetPhM3, &b_jetPhM3);
fChain->SetBranchAddress("jetPhM4", &jetPhM4, &b_jetPhM4);
fChain->SetBranchAddress("jetPhM5", &jetPhM5, &b_jetPhM5);
fChain->SetBranchAddress("jetPhM6", &jetPhM6, &b_jetPhM6);
fChain->SetBranchAddress("jetPhM7", &jetPhM7, &b_jetPhM7);
fChain->SetBranchAddress("jetRho", &jetRho, &b_jetRho);
fChain->SetBranchAddress("jetbjpb1", &jetbjpb1, &b_jetbjpb1);
fChain->SetBranchAddress("jetbjpb2", &jetbjpb2, &b_jetbjpb2);
fChain->SetBranchAddress("jetbjpb3", &jetbjpb3, &b_jetbjpb3);
fChain->SetBranchAddress("jetbjpb4", &jetbjpb4, &b_jetbjpb4);
fChain->SetBranchAddress("jetbjpb5", &jetbjpb5, &b_jetbjpb5);
fChain->SetBranchAddress("jetbjpb6", &jetbjpb6, &b_jetbjpb6);
fChain->SetBranchAddress("jetbjpb7", &jetbjpb7, &b_jetbjpb7);
fChain->SetBranchAddress("jeteta1", &jeteta1, &b_jeteta1);
fChain->SetBranchAddress("jeteta2", &jeteta2, &b_jeteta2);
fChain->SetBranchAddress("jeteta3", &jeteta3, &b_jeteta3);
fChain->SetBranchAddress("jeteta4", &jeteta4, &b_jeteta4);
fChain->SetBranchAddress("jeteta5", &jeteta5, &b_jeteta5);
fChain->SetBranchAddress("jeteta6", &jeteta6, &b_jeteta6);
fChain->SetBranchAddress("jeteta7", &jeteta7, &b_jeteta7);
fChain->SetBranchAddress("jetid1", &jetid1, &b_jetid1);
fChain->SetBranchAddress("jetid2", &jetid2, &b_jetid2);
fChain->SetBranchAddress("jetid3", &jetid3, &b_jetid3);
fChain->SetBranchAddress("jetid4", &jetid4, &b_jetid4);
fChain->SetBranchAddress("jetid5", &jetid5, &b_jetid5);
fChain->SetBranchAddress("jetid6", &jetid6, &b_jetid6);
fChain->SetBranchAddress("jetid7", &jetid7, &b_jetid7);
fChain->SetBranchAddress("jetmass1", &jetmass1, &b_jetmass1);
fChain->SetBranchAddress("jetmass2", &jetmass2, &b_jetmass2);
fChain->SetBranchAddress("jetmass3", &jetmass3, &b_jetmass3);
fChain->SetBranchAddress("jetmass4", &jetmass4, &b_jetmass4);
fChain->SetBranchAddress("jetmass5", &jetmass5, &b_jetmass5);
fChain->SetBranchAddress("jetmass6", &jetmass6, &b_jetmass6);
fChain->SetBranchAddress("jetmass7", &jetmass7, &b_jetmass7);
fChain->SetBranchAddress("jetmva1", &jetmva1, &b_jetmva1);
fChain->SetBranchAddress("jetmva2", &jetmva2, &b_jetmva2);
fChain->SetBranchAddress("jetmva3", &jetmva3, &b_jetmva3);
fChain->SetBranchAddress("jetmva4", &jetmva4, &b_jetmva4);
fChain->SetBranchAddress("jetmva5", &jetmva5, &b_jetmva5);
fChain->SetBranchAddress("jetmva6", &jetmva6, &b_jetmva6);
fChain->SetBranchAddress("jetmva7", &jetmva7, &b_jetmva7);
fChain->SetBranchAddress("jetphi1", &jetphi1, &b_jetphi1);
fChain->SetBranchAddress("jetphi2", &jetphi2, &b_jetphi2);
fChain->SetBranchAddress("jetphi3", &jetphi3, &b_jetphi3);
fChain->SetBranchAddress("jetphi4", &jetphi4, &b_jetphi4);
fChain->SetBranchAddress("jetphi5", &jetphi5, &b_jetphi5);
fChain->SetBranchAddress("jetphi6", &jetphi6, &b_jetphi6);
fChain->SetBranchAddress("jetphi7", &jetphi7, &b_jetphi7);
fChain->SetBranchAddress("jetpt1", &jetpt1, &b_jetpt1);
fChain->SetBranchAddress("jetpt2", &jetpt2, &b_jetpt2);
fChain->SetBranchAddress("jetpt3", &jetpt3, &b_jetpt3);
fChain->SetBranchAddress("jetpt4", &jetpt4, &b_jetpt4);
fChain->SetBranchAddress("jetpt5", &jetpt5, &b_jetpt5);
fChain->SetBranchAddress("jetpt6", &jetpt6, &b_jetpt6);
fChain->SetBranchAddress("jetpt7", &jetpt7, &b_jetpt7);
fChain->SetBranchAddress("jetptd1", &jetptd1, &b_jetptd1);
fChain->SetBranchAddress("jetptd2", &jetptd2, &b_jetptd2);
fChain->SetBranchAddress("jetptd3", &jetptd3, &b_jetptd3);
fChain->SetBranchAddress("jetptd4", &jetptd4, &b_jetptd4);
fChain->SetBranchAddress("jetptd5", &jetptd5, &b_jetptd5);
fChain->SetBranchAddress("jetptd6", &jetptd6, &b_jetptd6);
fChain->SetBranchAddress("jetptd7", &jetptd7, &b_jetptd7);
fChain->SetBranchAddress("jettche1", &jettche1, &b_jettche1);
fChain->SetBranchAddress("jettche2", &jettche2, &b_jettche2);
fChain->SetBranchAddress("jettche3", &jettche3, &b_jettche3);
fChain->SetBranchAddress("jettche4", &jettche4, &b_jettche4);
fChain->SetBranchAddress("jettche5", &jettche5, &b_jettche5);
fChain->SetBranchAddress("jettche6", &jettche6, &b_jettche6);
fChain->SetBranchAddress("jettche7", &jettche7, &b_jettche7);
fChain->SetBranchAddress("jettchp1", &jettchp1, &b_jettchp1);
fChain->SetBranchAddress("jettchp2", &jettchp2, &b_jettchp2);
fChain->SetBranchAddress("jettchp3", &jettchp3, &b_jettchp3);
fChain->SetBranchAddress("jettchp4", &jettchp4, &b_jettchp4);
fChain->SetBranchAddress("jettchp5", &jettchp5, &b_jettchp5);
fChain->SetBranchAddress("jettchp6", &jettchp6, &b_jettchp6);
fChain->SetBranchAddress("jettchp7", &jettchp7, &b_jettchp7);
fChain->SetBranchAddress("kfW", &kfW, &b_kfW);
fChain->SetBranchAddress("lh1", &lh1, &b_lh1);
fChain->SetBranchAddress("lh2", &lh2, &b_lh2);
fChain->SetBranchAddress("lh3", &lh3, &b_lh3);
fChain->SetBranchAddress("lh4", &lh4, &b_lh4);
fChain->SetBranchAddress("mctruth", &mctruth, &b_mctruth);
fChain->SetBranchAddress("mjj", &mjj, &b_mjj);
fChain->SetBranchAddress("mll", &mll, &b_mll);
fChain->SetBranchAddress("mpmet", &mpmet, &b_mpmet);
fChain->SetBranchAddress("mth", &mth, &b_mth);
fChain->SetBranchAddress("mtw1", &mtw1, &b_mtw1);
fChain->SetBranchAddress("mtw2", &mtw2, &b_mtw2);
fChain->SetBranchAddress("nbjet", &nbjet, &b_nbjet);
fChain->SetBranchAddress("nbjettche", &nbjettche, &b_nbjettche);
fChain->SetBranchAddress("nbrem1", &nbrem1, &b_nbrem1);
fChain->SetBranchAddress("nbrem2", &nbrem2, &b_nbrem2);
fChain->SetBranchAddress("nbrem3", &nbrem3, &b_nbrem3);
fChain->SetBranchAddress("nbrem4", &nbrem4, &b_nbrem4);
fChain->SetBranchAddress("nextra", &nextra, &b_nextra);
fChain->SetBranchAddress("njet", &njet, &b_njet);
fChain->SetBranchAddress("njetid", &njetid, &b_njetid);
fChain->SetBranchAddress("njetvbf", &njetvbf, &b_njetvbf);
fChain->SetBranchAddress("ootpum1", &ootpum1, &b_ootpum1);
fChain->SetBranchAddress("ootpup1", &ootpup1, &b_ootpup1);
fChain->SetBranchAddress("pchmet", &pchmet, &b_pchmet);
fChain->SetBranchAddress("peaking", &peaking, &b_peaking);
fChain->SetBranchAddress("pfSumEt", &pfSumEt, &b_pfSumEt);
fChain->SetBranchAddress("pfmet", &pfmet, &b_pfmet);
fChain->SetBranchAddress("pfmetMEtSig", &pfmetMEtSig, &b_pfmetMEtSig);
fChain->SetBranchAddress("pfmetSignificance", &pfmetSignificance, &b_pfmetSignificance);
fChain->SetBranchAddress("pfmetTypeI", &pfmetTypeI, &b_pfmetTypeI);
fChain->SetBranchAddress("pfmetTypeIphi", &pfmetTypeIphi, &b_pfmetTypeIphi);
fChain->SetBranchAddress("pfmetphi", &pfmetphi, &b_pfmetphi);
fChain->SetBranchAddress("phi1", &phi1, &b_phi1);
fChain->SetBranchAddress("phi2", &phi2, &b_phi2);
fChain->SetBranchAddress("phi3", &phi3, &b_phi3);
fChain->SetBranchAddress("phi4", &phi4, &b_phi4);
fChain->SetBranchAddress("ppfmet", &ppfmet, &b_ppfmet);
fChain->SetBranchAddress("predmet", &predmet, &b_predmet);
fChain->SetBranchAddress("pt1", &pt1, &b_pt1);
fChain->SetBranchAddress("pt2", &pt2, &b_pt2);
fChain->SetBranchAddress("pt3", &pt3, &b_pt3);
fChain->SetBranchAddress("pt4", &pt4, &b_pt4);
fChain->SetBranchAddress("ptll", &ptll, &b_ptll);
fChain->SetBranchAddress("puAW", &puAW, &b_puAW);
fChain->SetBranchAddress("puBW", &puBW, &b_puBW);
fChain->SetBranchAddress("puW", &puW, &b_puW);
fChain->SetBranchAddress("redmet", &redmet, &b_redmet);
fChain->SetBranchAddress("sceta1", &sceta1, &b_sceta1);
fChain->SetBranchAddress("sceta2", &sceta2, &b_sceta2);
fChain->SetBranchAddress("sceta3", &sceta3, &b_sceta3);
fChain->SetBranchAddress("sceta4", &sceta4, &b_sceta4);
fChain->SetBranchAddress("softbjpb", &softbjpb, &b_softbjpb);
fChain->SetBranchAddress("softtche", &softtche, &b_softtche);
fChain->SetBranchAddress("tightmu", &tightmu, &b_tightmu);
fChain->SetBranchAddress("triggAW", &triggAW, &b_triggAW);
fChain->SetBranchAddress("triggBW", &triggBW, &b_triggBW);
fChain->SetBranchAddress("triggW", &triggW, &b_triggW);
fChain->SetBranchAddress("trigger", &trigger, &b_trigger);
fChain->SetBranchAddress("trpu", &trpu, &b_trpu);
fChain->SetBranchAddress("worstJetLepPt", &worstJetLepPt, &b_worstJetLepPt);
fChain->SetBranchAddress("yll", &yll, &b_yll);
fChain->SetBranchAddress("nvtx", &nvtx, &b_nvtx);
fChain->SetBranchAddress("bveto", &bveto, &b_bveto);
fChain->SetBranchAddress("bveto_ip", &bveto_ip, &b_bveto_ip);
fChain->SetBranchAddress("bveto_mu", &bveto_mu, &b_bveto_mu);
fChain->SetBranchAddress("bveto_munj", &bveto_munj, &b_bveto_munj);
fChain->SetBranchAddress("bveto_munj05", &bveto_munj05, &b_bveto_munj05);
fChain->SetBranchAddress("bveto_munj30", &bveto_munj30, &b_bveto_munj30);
fChain->SetBranchAddress("bveto_munj3005", &bveto_munj3005, &b_bveto_munj3005);
fChain->SetBranchAddress("bveto_nj", &bveto_nj, &b_bveto_nj);
fChain->SetBranchAddress("bveto_nj05", &bveto_nj05, &b_bveto_nj05);
fChain->SetBranchAddress("bveto_nj30", &bveto_nj30, &b_bveto_nj30);
fChain->SetBranchAddress("bveto_nj3005", &bveto_nj3005, &b_bveto_nj3005);
fChain->SetBranchAddress("dphiveto", &dphiveto, &b_dphiveto);
fChain->SetBranchAddress("pass2012ICHEP1", &pass2012ICHEP1, &b_pass2012ICHEP1);
fChain->SetBranchAddress("pass2012ICHEP2", &pass2012ICHEP2, &b_pass2012ICHEP2);
fChain->SetBranchAddress("pass2012ICHEP3", &pass2012ICHEP3, &b_pass2012ICHEP3);
fChain->SetBranchAddress("pass2012ICHEP4", &pass2012ICHEP4, &b_pass2012ICHEP4);
fChain->SetBranchAddress("sameflav", &sameflav, &b_sameflav);
fChain->SetBranchAddress("zveto", &zveto, &b_zveto);
fChain->SetBranchAddress("run", &run, &b_run);
fChain->SetBranchAddress("lumi", &lumi, &b_lumi);
fChain->SetBranchAddress("event", &event, &b_event);
Notify();
}
Bool_t WZ2012Data::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 WZ2012Data::Show(Long64_t entry)
{
// Print contents of entry.
// If entry is not specified, print current entry
if (!fChain) return;
fChain->Show(entry);
}
Int_t WZ2012Data::Cut(Long64_t entry)
{
// This function may be called from Loop.
// returns 1 if entry is accepted.
// returns -1 otherwise.
return 1;
}
#endif // #ifdef WZ2012Data_cxx