-
Notifications
You must be signed in to change notification settings - Fork 0
/
Data.cc
1525 lines (1505 loc) · 93 KB
/
Data.cc
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
#ifndef DATA_cc
#define DATA_cc
#include "Data.h"
#include <TH2.h>
#include <TStyle.h>
#include <TCanvas.h>
Data::Data()
{
//Init(tree);
}
Data::~Data()
{
if (!fChain) return;
delete fChain->GetCurrentFile();
}
Int_t Data::GetEntry(Long64_t entry)
{
// Read contents of entry.
if (!fChain) return 0;
return fChain->GetEntry(entry);
}
Long64_t Data::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 Data::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
HLTKey = 0;
HLTInsideDatasetTriggerNames = 0;
HLTOutsideDatasetTriggerNames = 0;
HLTFilterName = 0;
ElectronGsfCtfCharge = 0;
ElectronGsfCtfScPixCharge = 0;
ElectronGsfScPixCharge = 0;
ElectronHLTDoubleEleMatched = 0;
ElectronHLTEMuMatched17 = 0;
ElectronHLTEMuMatched8 = 0;
ElectronHLTSingleEleMatched17 = 0;
ElectronHLTSingleEleMatched8 = 0;
ElectronHLTSingleEleWP80Matched = 0;
ElectronHasEcalDrivenSeed = 0;
ElectronHasMatchedConvPhot = 0;
ElectronHasTrackerDrivenSeed = 0;
ElectronIsEB = 0;
ElectronIsEE = 0;
MuonHLTDoubleMuonMatched = 0;
MuonHLTEMuMatched17 = 0;
MuonHLTEMuMatched8 = 0;
MuonHLTSingleIsoMuonMatched = 0;
MuonHLTSingleMuonMatched = 0;
MuonHLTSingleMuonMatched12 = 0;
MuonHLTSingleMuonMatched17 = 0;
MuonHLTSingleMuonMatched24 = 0;
MuonHLTSingleMuonMatched5 = 0;
MuonHLTSingleMuonMatched8 = 0;
PFJetPileupjetIDpassLooseWP = 0;
PFJetPileupjetIDpassMediumWP = 0;
PFJetPileupjetIDpassTightWP = 0;
PhotonHasMatchedConvPhot = 0;
PhotonHasMatchedPromptEle = 0;
PhotonHasPixelSeed = 0;
PhotonIsEBEEGap = 0;
PhotonIsEBGap = 0;
PhotonIsEEGap = 0;
HLTInsideDatasetTriggerDecisions = 0;
HLTOutsideDatasetTriggerDecisions = 0;
VertexIsFake = 0;
CaloJetEMF = 0;
CaloJetEnergy = 0;
CaloJetEnergyRaw = 0;
CaloJetEta = 0;
CaloJetHADF = 0;
CaloJetJECUnc = 0;
CaloJetJetBProbabilityBTag = 0;
CaloJetJetProbabilityBTag = 0;
CaloJetL1FastJetJEC = 0;
CaloJetL2L3ResJEC = 0;
CaloJetL2RelJEC = 0;
CaloJetL3AbsJEC = 0;
CaloJetPhi = 0;
CaloJetPt = 0;
CaloJetPtRaw = 0;
CaloJetSigmaEta = 0;
CaloJetSigmaPhi = 0;
CaloJetSimpleSecondaryVertexHighEffBTag = 0;
CaloJetSimpleSecondaryVertexHighPurBTag = 0;
CaloJetTrackCountingHighEffBTag = 0;
CaloJetTrackCountingHighPurBTag = 0;
CaloJetfHPD = 0;
CaloJetfRBX = 0;
CaloJetresEMF = 0;
CaloMET = 0;
CaloMETPhi = 0;
CaloSumET = 0;
CaloMETPhiType1Cor = 0;
CaloMETPhiUncorrType1Cor = 0;
CaloMETType1Cor = 0;
CaloMETUncorrType1Cor = 0;
CaloSumETType1Cor = 0;
CaloSumETUncorrType1Cor = 0;
ElectronBeamSpotDXY = 0;
ElectronBeamSpotDXYError = 0;
ElectronCaloEnergy = 0;
ElectronConvFitProb = 0;
ElectronDCotTheta = 0;
ElectronDeltaEtaTrkSC = 0;
ElectronDeltaPhiTrkSC = 0;
ElectronDist = 0;
ElectronE1x5OverE5x5 = 0;
ElectronE2x5OverE5x5 = 0;
ElectronESuperClusterOverP = 0;
ElectronEcalIsoDR03 = 0;
ElectronEcalIsoPAT = 0;
ElectronEnergy = 0;
ElectronEta = 0;
ElectronFbrem = 0;
ElectronHLTDoubleEleMatchEta = 0;
ElectronHLTDoubleEleMatchPhi = 0;
ElectronHLTDoubleEleMatchPt = 0;
ElectronHLTSingleEleWP80MatchEta = 0;
ElectronHLTSingleEleWP80MatchPhi = 0;
ElectronHLTSingleEleWP80MatchPt = 0;
ElectronHcalIsoD1DR03 = 0;
ElectronHcalIsoD2DR03 = 0;
ElectronHcalIsoDR03 = 0;
ElectronHcalIsoDR03FullCone = 0;
ElectronHcalIsoPAT = 0;
ElectronHoE = 0;
ElectronLeadVtxDistXY = 0;
ElectronLeadVtxDistZ = 0;
ElectronMatchedGenParticleEta = 0;
ElectronMatchedGenParticlePhi = 0;
ElectronMatchedGenParticlePt = 0;
ElectronPFChargedHadronIso03 = 0;
ElectronPFChargedHadronIso04 = 0;
ElectronPFNeutralHadronIso03 = 0;
ElectronPFNeutralHadronIso04 = 0;
ElectronPFPhotonIso03 = 0;
ElectronPFPhotonIso04 = 0;
ElectronPhi = 0;
ElectronPrimaryVertexDXY = 0;
ElectronPrimaryVertexDXYError = 0;
ElectronPt = 0;
ElectronPtHeep = 0;
ElectronR9 = 0;
ElectronRelIsoPAT = 0;
ElectronSCEta = 0;
ElectronSCPhi = 0;
ElectronSCPt = 0;
ElectronSCRawEnergy = 0;
ElectronSigmaEtaEta = 0;
ElectronSigmaIEtaIEta = 0;
ElectronTrackPt = 0;
ElectronTrackValidFractionOfHits = 0;
ElectronTrackVx = 0;
ElectronTrackVy = 0;
ElectronTrackVz = 0;
ElectronTrkIsoDR03 = 0;
ElectronTrkIsoPAT = 0;
ElectronVtxDistXY = 0;
ElectronVtxDistZ = 0;
ElectronmvaNontrigV0 = 0;
ElectronmvatrigV0 = 0;
GenWElectronEnergy = 0;
GenWElectronEta = 0;
GenWElectronP = 0;
GenWElectronPhi = 0;
GenWElectronPt = 0;
GenWElectronPx = 0;
GenWElectronPy = 0;
GenWElectronPz = 0;
GenWElectronTauVisibleEta = 0;
GenWElectronTauVisiblePhi = 0;
GenWElectronTauVisiblePt = 0;
GenWElectronVX = 0;
GenWElectronVY = 0;
GenWElectronVZ = 0;
GenZElectronEnergy = 0;
GenZElectronEta = 0;
GenZElectronP = 0;
GenZElectronPhi = 0;
GenZElectronPt = 0;
GenZElectronPx = 0;
GenZElectronPy = 0;
GenZElectronPz = 0;
GenZElectronTauVisibleEta = 0;
GenZElectronTauVisiblePhi = 0;
GenZElectronTauVisiblePt = 0;
GenZElectronVX = 0;
GenZElectronVY = 0;
GenZElectronVZ = 0;
PDFCTEQWeights = 0;
PDFMSTWWeights = 0;
PDFNNPDFWeights = 0;
GenJetEMF = 0;
GenJetEnergy = 0;
GenJetEta = 0;
GenJetHADF = 0;
GenJetP = 0;
GenJetPhi = 0;
GenJetPt = 0;
GenMETCalo = 0;
GenMETPhiCalo = 0;
GenSumETCalo = 0;
GenMETPhiTrue = 0;
GenMETTrue = 0;
GenSumETTrue = 0;
GenWMuEnergy = 0;
GenWMuEta = 0;
GenWMuP = 0;
GenWMuPhi = 0;
GenWMuPt = 0;
GenWMuPx = 0;
GenWMuPy = 0;
GenWMuPz = 0;
GenWMuTauVisibleEta = 0;
GenWMuTauVisiblePhi = 0;
GenWMuTauVisiblePt = 0;
GenWMuVX = 0;
GenWMuVY = 0;
GenWMuVZ = 0;
GenZMuEnergy = 0;
GenZMuEta = 0;
GenZMuP = 0;
GenZMuPhi = 0;
GenZMuPt = 0;
GenZMuPx = 0;
GenZMuPy = 0;
GenZMuPz = 0;
GenZMuTauVisibleEta = 0;
GenZMuTauVisiblePhi = 0;
GenZMuTauVisiblePt = 0;
GenZMuVX = 0;
GenZMuVY = 0;
GenZMuVZ = 0;
GenParticleEnergy = 0;
GenParticleEta = 0;
GenParticleP = 0;
GenParticlePhi = 0;
GenParticlePt = 0;
GenParticlePx = 0;
GenParticlePy = 0;
GenParticlePz = 0;
GenParticleTauVisibleEta = 0;
GenParticleTauVisiblePhi = 0;
GenParticleTauVisiblePt = 0;
GenParticleVX = 0;
GenParticleVY = 0;
GenParticleVZ = 0;
GenWTauEnergy = 0;
GenWTauEta = 0;
GenWTauP = 0;
GenWTauPhi = 0;
GenWTauPt = 0;
GenWTauPx = 0;
GenWTauPy = 0;
GenWTauPz = 0;
GenWTauTauVisibleEta = 0;
GenWTauTauVisiblePhi = 0;
GenWTauTauVisiblePt = 0;
GenWTauVX = 0;
GenWTauVY = 0;
GenWTauVZ = 0;
GenZTauEnergy = 0;
GenZTauEta = 0;
GenZTauP = 0;
GenZTauPhi = 0;
GenZTauPt = 0;
GenZTauPx = 0;
GenZTauPy = 0;
GenZTauPz = 0;
GenZTauTauVisibleEta = 0;
GenZTauTauVisiblePhi = 0;
GenZTauTauVisiblePt = 0;
GenZTauVX = 0;
GenZTauVY = 0;
GenZTauVZ = 0;
HPSTauAgainstElectronDeadECALDiscr = 0;
HPSTauAgainstElectronLooseDiscr = 0;
HPSTauAgainstElectronLooseMVA3Discr = 0;
HPSTauAgainstElectronMediumDiscr = 0;
HPSTauAgainstElectronMediumMVA3Discr = 0;
HPSTauAgainstElectronTightDiscr = 0;
HPSTauAgainstElectronTightMVA3Discr = 0;
HPSTauAgainstElectronVTightMVA3Discr = 0;
HPSTauAgainstMuonLoose2Discr = 0;
HPSTauAgainstMuonLoose3Discr = 0;
HPSTauAgainstMuonLooseDiscr = 0;
HPSTauAgainstMuonMedium2Discr = 0;
HPSTauAgainstMuonMediumDiscr = 0;
HPSTauAgainstMuonTight2Discr = 0;
HPSTauAgainstMuonTight3Discr = 0;
HPSTauAgainstMuonTightDiscr = 0;
HPSTauBremsRecoveryEOverPLead = 0;
HPSTauCombinedIsolationDeltaBetaCorr3HitsDiscr = 0;
HPSTauDecayModeFindingDiscr = 0;
HPSTauEcalStripSumEOverPLead = 0;
HPSTauEmFraction = 0;
HPSTauEt = 0;
HPSTauEta = 0;
HPSTauEtaLeadCharged = 0;
HPSTauEtaetaMoment = 0;
HPSTauEtaphiMoment = 0;
HPSTauHcal3x3OverPLead = 0;
HPSTauHcalMaxOverPLead = 0;
HPSTauHcalTotOverPLead = 0;
HPSTauIsolationMVArawDiscr = 0;
HPSTauIsolationPFChargedHadrCandsPtSum = 0;
HPSTauIsolationPFGammaCandsEtSum = 0;
HPSTauLeadPFChargedHadrCandsignedSipt = 0;
HPSTauLeadVtxDistXY = 0;
HPSTauLeadVtxDistZ = 0;
HPSTauLooseCombinedIsolationDeltaBetaCorr3HitsDiscr = 0;
HPSTauLooseCombinedIsolationDeltaBetaCorrDiscr = 0;
HPSTauLooseIsolationDeltaBetaCorrDiscr = 0;
HPSTauLooseIsolationDiscr = 0;
HPSTauLooseIsolationMVA2Discr = 0;
HPSTauLooseIsolationMVADiscr = 0;
HPSTauMatchedGenJetEta = 0;
HPSTauMatchedGenJetPhi = 0;
HPSTauMatchedGenJetPt = 0;
HPSTauMatchedGenParticleEta = 0;
HPSTauMatchedGenParticlePhi = 0;
HPSTauMatchedGenParticlePt = 0;
HPSTauMaximumHCALPFClusterEt = 0;
HPSTauMediumCombinedIsolationDeltaBetaCorr3HitsDiscr = 0;
HPSTauMediumCombinedIsolationDeltaBetaCorrDiscr = 0;
HPSTauMediumIsolationDeltaBetaCorrDiscr = 0;
HPSTauMediumIsolationDiscr = 0;
HPSTauMediumIsolationMVA2Discr = 0;
HPSTauMediumIsolationMVADiscr = 0;
HPSTauPhi = 0;
HPSTauPhiLeadCharged = 0;
HPSTauPhiphiMoment = 0;
HPSTauPt = 0;
HPSTauPtLeadCharged = 0;
HPSTauTightCombinedIsolationDeltaBetaCorr3HitsDiscr = 0;
HPSTauTightCombinedIsolationDeltaBetaCorrDiscr = 0;
HPSTauTightIsolationDeltaBetaCorrDiscr = 0;
HPSTauTightIsolationDiscr = 0;
HPSTauTightIsolationMVA2Discr = 0;
HPSTauTightIsolationMVADiscr = 0;
HPSTauVLooseCombinedIsolationDeltaBetaCorrDiscr = 0;
HPSTauVLooseIsolationDeltaBetaCorrDiscr = 0;
HPSTauVLooseIsolationDiscr = 0;
HPSTauVtxDistXY = 0;
HPSTauVtxDistZ = 0;
MuonBackToBackCompatibility = 0;
MuonBeamSpotDXY = 0;
MuonBeamSpotDXYError = 0;
MuonBestTrackVtxDistXY = 0;
MuonBestTrackVtxDistZ = 0;
MuonCocktailEta = 0;
MuonCocktailEtaError = 0;
MuonCocktailGlobalChi2 = 0;
MuonCocktailP = 0;
MuonCocktailPhi = 0;
MuonCocktailPhiError = 0;
MuonCocktailPt = 0;
MuonCocktailPtError = 0;
MuonCocktailQOverPError = 0;
MuonCocktailTrkD0 = 0;
MuonCocktailTrkD0Error = 0;
MuonCocktailTrkDz = 0;
MuonCocktailTrkDzError = 0;
MuonCocktailTrkValidFractionOfHits = 0;
MuonCocktailTrkVtxDXY = 0;
MuonCocktailTrkVtxDZ = 0;
MuonCosmicCompatibility = 0;
MuonEcalIso = 0;
MuonEcalVetoIso = 0;
MuonEnergy = 0;
MuonEta = 0;
MuonEtaError = 0;
MuonGlobalChi2 = 0;
MuonGlobalE = 0;
MuonGlobalEta = 0;
MuonGlobalPhi = 0;
MuonGlobalPt = 0;
MuonHLTDoubleMuonMatchEta = 0;
MuonHLTDoubleMuonMatchPhi = 0;
MuonHLTDoubleMuonMatchPt = 0;
MuonHLTSingleIsoMuonMatchEta = 0;
MuonHLTSingleIsoMuonMatchPhi = 0;
MuonHLTSingleIsoMuonMatchPt = 0;
MuonHLTSingleMuonMatchEta = 0;
MuonHLTSingleMuonMatchPhi = 0;
MuonHLTSingleMuonMatchPt = 0;
MuonHOIso = 0;
MuonHcalIso = 0;
MuonHcalVetoIso = 0;
MuonMatchedGenParticleEta = 0;
MuonMatchedGenParticlePhi = 0;
MuonMatchedGenParticlePt = 0;
MuonMuonSpecE = 0;
MuonMuonSpecEta = 0;
MuonMuonSpecPhi = 0;
MuonMuonSpecPt = 0;
MuonOverlapCompatibility = 0;
MuonP = 0;
MuonPFIsoR03ChargedHadron = 0;
MuonPFIsoR03ChargedParticle = 0;
MuonPFIsoR03NeutralHadron = 0;
MuonPFIsoR03NeutralHadronHT = 0;
MuonPFIsoR03PU = 0;
MuonPFIsoR03Photon = 0;
MuonPFIsoR03PhotonHT = 0;
MuonPFIsoR04ChargedHadron = 0;
MuonPFIsoR04ChargedParticle = 0;
MuonPFIsoR04NeutralHadron = 0;
MuonPFIsoR04NeutralHadronHT = 0;
MuonPFIsoR04PU = 0;
MuonPFIsoR04Photon = 0;
MuonPFIsoR04PhotonHT = 0;
MuonPhi = 0;
MuonPhiError = 0;
MuonPrimaryVertexDXY = 0;
MuonPrimaryVertexDXYError = 0;
MuonPt = 0;
MuonPtError = 0;
MuonQOverPError = 0;
MuonTimeCompatibility = 0;
MuonTrackChi2 = 0;
MuonTrackerIsoSumPT = 0;
MuonTrkD0 = 0;
MuonTrkD0Error = 0;
MuonTrkDz = 0;
MuonTrkDzError = 0;
MuonTrkEta = 0;
MuonTrkEtaError = 0;
MuonTrkIso = 0;
MuonTrkPhi = 0;
MuonTrkPhiError = 0;
MuonTrkPt = 0;
MuonTrkPtError = 0;
MuonTrkValidFractionOfHits = 0;
MuonTrkVx = 0;
MuonTrkVy = 0;
MuonTrkVz = 0;
MuonVtxDistXY = 0;
MuonVtxDistZ = 0;
PFCandEnergyLeptLink = 0;
PFCandEtaLeptLink = 0;
PFCandPhiLeptLink = 0;
PFCandPtLeptLink = 0;
PFJetBestVertexTrackAssociationFactor = 0;
PFJetBeta = 0;
PFJetBetaClassic = 0;
PFJetBetaStar = 0;
PFJetBetaStarClassic = 0;
PFJetChargedEmEnergyFraction = 0;
PFJetChargedHadronEnergyFraction = 0;
PFJetChargedMuEnergyFraction = 0;
PFJetClosestVertexWeighted3DSeparation = 0;
PFJetClosestVertexWeightedXYSeparation = 0;
PFJetClosestVertexWeightedZSeparation = 0;
PFJetCombinedInclusiveSecondaryVertexBTag = 0;
PFJetCombinedMVABTag = 0;
PFJetCombinedSecondaryVertexBTag = 0;
PFJetCombinedSecondaryVertexMVABTag = 0;
PFJetElectronEnergyFraction = 0;
PFJetEnergy = 0;
PFJetEnergyRaw = 0;
PFJetEta = 0;
PFJetHFEMEnergyFraction = 0;
PFJetHFHadronEnergyFraction = 0;
PFJetJECUnc = 0;
PFJetJetBProbabilityBTag = 0;
PFJetJetPileupMVA = 0;
PFJetJetProbabilityBTag = 0;
PFJetL1FastJetJEC = 0;
PFJetL2L3ResJEC = 0;
PFJetL2RelJEC = 0;
PFJetL3AbsJEC = 0;
PFJetL5BottomJEC = 0;
PFJetL5CharmJEC = 0;
PFJetL5GluonJEC = 0;
PFJetL5UDSJEC = 0;
PFJetMuonEnergyFraction = 0;
PFJetNeutralEmEnergyFraction = 0;
PFJetNeutralHadronEnergyFraction = 0;
PFJetPhi = 0;
PFJetPhotonEnergyFraction = 0;
PFJetPt = 0;
PFJetPtRaw = 0;
PFJetScaledDownEnergy = 0;
PFJetScaledDownPt = 0;
PFJetScaledUpEnergy = 0;
PFJetScaledUpPt = 0;
PFJetSimpleSecondaryVertexHighEffBTag = 0;
PFJetSimpleSecondaryVertexHighPurBTag = 0;
PFJetSmearedDownEnergy = 0;
PFJetSmearedDownPt = 0;
PFJetSmearedUpEnergy = 0;
PFJetSmearedUpPt = 0;
PFJetSoftElectronByIP3dBTag = 0;
PFJetSoftElectronByPtBTag = 0;
PFJetSoftMuonBTag = 0;
PFJetSoftMuonByIP3dBTag = 0;
PFJetSoftMuonByPtBTag = 0;
PFJetTrackCountingHighEffBTag = 0;
PFJetTrackCountingHighPurBTag = 0;
PFMET = 0;
PFMETPhi = 0;
PFSumET = 0;
PFMETPhiType01Cor = 0;
PFMETType01Cor = 0;
PFSumETType01Cor = 0;
PFMETPhiType01XYCor = 0;
PFMETType01XYCor = 0;
PFSumETType01XYCor = 0;
PFMETPhiType01XYCorElectronEnDown = 0;
PFMETType01XYCorElectronEnDown = 0;
PFSumETType01XYCorElectronEnDown = 0;
PFMETPhiType01XYCorElectronEnUp = 0;
PFMETType01XYCorElectronEnUp = 0;
PFSumETType01XYCorElectronEnUp = 0;
PFMETPhiType01XYCorJetEnDown = 0;
PFMETType01XYCorJetEnDown = 0;
PFSumETType01XYCorJetEnDown = 0;
PFMETPhiType01XYCorJetEnUp = 0;
PFMETType01XYCorJetEnUp = 0;
PFSumETType01XYCorJetEnUp = 0;
PFMETPhiType01XYCorJetResDown = 0;
PFMETType01XYCorJetResDown = 0;
PFSumETType01XYCorJetResDown = 0;
PFMETPhiType01XYCorJetResUp = 0;
PFMETType01XYCorJetResUp = 0;
PFSumETType01XYCorJetResUp = 0;
PFMETPhiType01XYCorMuonEnDown = 0;
PFMETType01XYCorMuonEnDown = 0;
PFSumETType01XYCorMuonEnDown = 0;
PFMETPhiType01XYCorMuonEnUp = 0;
PFMETType01XYCorMuonEnUp = 0;
PFSumETType01XYCorMuonEnUp = 0;
PFMETPhiType01XYCorTauEnDown = 0;
PFMETType01XYCorTauEnDown = 0;
PFSumETType01XYCorTauEnDown = 0;
PFMETPhiType01XYCorTauEnUp = 0;
PFMETType01XYCorTauEnUp = 0;
PFSumETType01XYCorTauEnUp = 0;
PFMETPhiType01XYCorUnclusteredDown = 0;
PFMETType01XYCorUnclusteredDown = 0;
PFSumETType01XYCorUnclusteredDown = 0;
PFMETPhiType01XYCorUnclusteredUp = 0;
PFMETType01XYCorUnclusteredUp = 0;
PFSumETType01XYCorUnclusteredUp = 0;
PFMETPhiType1Cor = 0;
PFMETType1Cor = 0;
PFSumETType1Cor = 0;
PhotonAlpha = 0;
PhotonChi2ConvPhot = 0;
PhotonDPhiTracksAtVtxConvPhot = 0;
PhotonDistOfMinApproachConvPhot = 0;
PhotonE2OverE9 = 0;
PhotonE3x3 = 0;
PhotonE4SwissCross = 0;
PhotonE5x5 = 0;
PhotonEOverPConvPhot = 0;
PhotonEcalIsoDR03 = 0;
PhotonEcalIsoDR04 = 0;
PhotonEnergy = 0;
PhotonEta = 0;
PhotonHcalIsoDR03 = 0;
PhotonHcalIsoDR03FullCone = 0;
PhotonHcalIsoDR04 = 0;
PhotonHcalIsoDR04FullCone = 0;
PhotonHoE = 0;
PhotonNDofConvPhot = 0;
PhotonPairCotThetaSeparationConvPhot = 0;
PhotonPairInvariantMassConvPhot = 0;
PhotonPairMomentumxConvPhot = 0;
PhotonPairMomentumyConvPhot = 0;
PhotonPairMomentumzConvPhot = 0;
PhotonPhi = 0;
PhotonPt = 0;
PhotonSCenergy = 0;
PhotonSCeta = 0;
PhotonSCphi = 0;
PhotonSCseedEnergy = 0;
PhotonSEtaEta = 0;
PhotonSEtaPhi = 0;
PhotonSMajMaj = 0;
PhotonSMinMin = 0;
PhotonSPhiPhi = 0;
PhotonSigmaIEtaIEta = 0;
PhotonTimeSeed = 0;
PhotonTrkIsoHollowDR03 = 0;
PhotonTrkIsoHollowDR04 = 0;
PhotonTrkIsoSolidDR03 = 0;
PhotonTrkIsoSolidDR04 = 0;
PhotonXVtxConvPhot = 0;
PhotonYVtxConvPhot = 0;
PhotonZVtxConvPhot = 0;
TCMET = 0;
TCMETPhi = 0;
TCSumET = 0;
VertexChi2 = 0;
VertexNDF = 0;
VertexRho = 0;
VertexX = 0;
VertexXErr = 0;
VertexY = 0;
VertexYErr = 0;
VertexZ = 0;
VertexZErr = 0;
PileUpInteractionsTrue = 0;
HLTFilterObjEta = 0;
HLTFilterObjPhi = 0;
HLTFilterObjPt = 0;
CaloJetOverlaps = 0;
CaloJetPartonFlavour = 0;
CaloJetPassLooseID = 0;
CaloJetPassTightID = 0;
CaloJetn90Hits = 0;
ElectronCharge = 0;
ElectronClassif = 0;
ElectronMissingHits = 0;
ElectronMissingHitsEG = 0;
ElectronNumberOfBrems = 0;
ElectronOverlaps = 0;
ElectronPassEGammaIDEoP = 0;
ElectronPassEGammaIDLoose = 0;
ElectronPassEGammaIDMedium = 0;
ElectronPassEGammaIDTight = 0;
ElectronPassEGammaIDTrigTight = 0;
ElectronPassEGammaIDTrigWP70 = 0;
ElectronPassEGammaIDVeto = 0;
ElectronPassId = 0;
ElectronPassIsoPAT = 0;
ElectronVtxIndex = 0;
GenWElectronMotherIndex = 0;
GenWElectronNumDaught = 0;
GenWElectronPdgId = 0;
GenWElectronStatus = 0;
GenWElectronTauDecayMode = 0;
GenZElectronMotherIndex = 0;
GenZElectronNumDaught = 0;
GenZElectronPdgId = 0;
GenZElectronStatus = 0;
GenZElectronTauDecayMode = 0;
PileUpInteractions = 0;
PileUpOriginBX = 0;
GenWMuMotherIndex = 0;
GenWMuNumDaught = 0;
GenWMuPdgId = 0;
GenWMuStatus = 0;
GenWMuTauDecayMode = 0;
GenZMuMotherIndex = 0;
GenZMuNumDaught = 0;
GenZMuPdgId = 0;
GenZMuStatus = 0;
GenZMuTauDecayMode = 0;
GenParticleMotherIndex = 0;
GenParticleNumDaught = 0;
GenParticlePdgId = 0;
GenParticleStatus = 0;
GenParticleTauDecayMode = 0;
GenWTauMotherIndex = 0;
GenWTauNumDaught = 0;
GenWTauPdgId = 0;
GenWTauStatus = 0;
GenWTauTauDecayMode = 0;
GenZTauMotherIndex = 0;
GenZTauNumDaught = 0;
GenZTauPdgId = 0;
GenZTauStatus = 0;
GenZTauTauDecayMode = 0;
HPSTauCharge = 0;
HPSTauDecayMode = 0;
HPSTauIsCaloTau = 0;
HPSTauIsPFTau = 0;
HPSTauVtxIndex = 0;
MuonBestTrackVtxIndex = 0;
MuonCharge = 0;
MuonCocktailCharge = 0;
MuonCocktailRefitID = 0;
MuonCocktailTrkHits = 0;
MuonCocktailTrkVtxIndex = 0;
MuonGlobalCharge = 0;
MuonGlobalTrkValidHits = 0;
MuonIsGlobal = 0;
MuonIsPF = 0;
MuonIsTracker = 0;
MuonMuonSpecCharge = 0;
MuonPassID = 0;
MuonPixelHits = 0;
MuonSegmentMatches = 0;
MuonStationMatches = 0;
MuonTrackLayersWithMeasurement = 0;
MuonTrackerCharge = 0;
MuonTrkHits = 0;
MuonTrkHitsTrackerOnly = 0;
MuonTrkPixelHits = 0;
MuonVtxIndex = 0;
PFCandChargeLeptLink = 0;
PFJetBestVertexTrackAssociationIndex = 0;
PFJetChargedHadronMultiplicity = 0;
PFJetChargedMultiplicity = 0;
PFJetClosestVertex3DIndex = 0;
PFJetClosestVertexXYIndex = 0;
PFJetClosestVertexZIndex = 0;
PFJetElectronMultiplicity = 0;
PFJetHFEMMultiplicity = 0;
PFJetHFHadronMultiplicity = 0;
PFJetJetPileupIdflag = 0;
PFJetMuonMultiplicity = 0;
PFJetNConstituents = 0;
PFJetNeutralHadronMultiplicity = 0;
PFJetNeutralMultiplicity = 0;
PFJetPartonFlavour = 0;
PFJetPassLooseID = 0;
PFJetPassTightID = 0;
PFJetPhotonMultiplicity = 0;
PhotonNTracksConvPhot = 0;
HLTInsideDatasetTriggerPrescales = 0;
HLTOutsideDatasetTriggerPrescales = 0;
L1PhysBits = 0;
L1TechBits = 0;
VertexNTracks = 0;
VertexNTracksW05 = 0;
HLTFilterObjId = 0;
// Set branch addresses and branch pointers
if (!tree) return;
fChain = tree;
fCurrent = -1;
fChain->SetMakeClass(1);
fChain->SetBranchAddress("HLTKey", &HLTKey, &b_HLTKey);
fChain->SetBranchAddress("HLTInsideDatasetTriggerNames", &HLTInsideDatasetTriggerNames, &b_HLTInsideDatasetTriggerNames);
fChain->SetBranchAddress("HLTOutsideDatasetTriggerNames", &HLTOutsideDatasetTriggerNames, &b_HLTOutsideDatasetTriggerNames);
fChain->SetBranchAddress("HLTFilterName", &HLTFilterName, &b_HLTFilterName);
fChain->SetBranchAddress("isData", &isData, &b_isData);
fChain->SetBranchAddress("isBPTX0", &isBPTX0, &b_isBPTX0);
fChain->SetBranchAddress("isBSCBeamHalo", &isBSCBeamHalo, &b_isBSCBeamHalo);
fChain->SetBranchAddress("isBSCMinBias", &isBSCMinBias, &b_isBSCMinBias);
fChain->SetBranchAddress("isBeamScraping", &isBeamScraping, &b_isBeamScraping);
fChain->SetBranchAddress("isPhysDeclared", &isPhysDeclared, &b_isPhysDeclared);
fChain->SetBranchAddress("isPrimaryVertex", &isPrimaryVertex, &b_isPrimaryVertex);
fChain->SetBranchAddress("isTrackingFailure", &isTrackingFailure, &b_isTrackingFailure);
fChain->SetBranchAddress("passBadEESupercrystalFilter", &passBadEESupercrystalFilter, &b_passBadEESupercrystalFilter);
fChain->SetBranchAddress("passBeamHaloFilterLoose", &passBeamHaloFilterLoose, &b_passBeamHaloFilterLoose);
fChain->SetBranchAddress("passBeamHaloFilterTight", &passBeamHaloFilterTight, &b_passBeamHaloFilterTight);
fChain->SetBranchAddress("passCaloBoundaryDRFilter", &passCaloBoundaryDRFilter, &b_passCaloBoundaryDRFilter);
fChain->SetBranchAddress("passEcalDeadCellBoundaryEnergyFilter", &passEcalDeadCellBoundaryEnergyFilter, &b_passEcalDeadCellBoundaryEnergyFilter);
fChain->SetBranchAddress("passEcalDeadCellTriggerPrimitiveFilter", &passEcalDeadCellTriggerPrimitiveFilter, &b_passEcalDeadCellTriggerPrimitiveFilter);
fChain->SetBranchAddress("passEcalLaserCorrFilter", &passEcalLaserCorrFilter, &b_passEcalLaserCorrFilter);
fChain->SetBranchAddress("passEcalMaskedCellDRFilter", &passEcalMaskedCellDRFilter, &b_passEcalMaskedCellDRFilter);
fChain->SetBranchAddress("passHBHENoiseFilter", &passHBHENoiseFilter, &b_passHBHENoiseFilter);
fChain->SetBranchAddress("passLogErrorTooManyClusters", &passLogErrorTooManyClusters, &b_passLogErrorTooManyClusters);
fChain->SetBranchAddress("passManyStripClus53X", &passManyStripClus53X, &b_passManyStripClus53X);
fChain->SetBranchAddress("passTooManyStripClus53X", &passTooManyStripClus53X, &b_passTooManyStripClus53X);
fChain->SetBranchAddress("passTrackingFailureFilter", &passTrackingFailureFilter, &b_passTrackingFailureFilter);
fChain->SetBranchAddress("hasVeryForwardPFMuon", &hasVeryForwardPFMuon, &b_hasVeryForwardPFMuon);
fChain->SetBranchAddress("hasJetWithBadUnc", &hasJetWithBadUnc, &b_hasJetWithBadUnc);
fChain->SetBranchAddress("ElectronGsfCtfCharge", &ElectronGsfCtfCharge, &b_ElectronGsfCtfCharge);
fChain->SetBranchAddress("ElectronGsfCtfScPixCharge", &ElectronGsfCtfScPixCharge, &b_ElectronGsfCtfScPixCharge);
fChain->SetBranchAddress("ElectronGsfScPixCharge", &ElectronGsfScPixCharge, &b_ElectronGsfScPixCharge);
fChain->SetBranchAddress("ElectronHLTDoubleEleMatched", &ElectronHLTDoubleEleMatched, &b_ElectronHLTDoubleEleMatched);
fChain->SetBranchAddress("ElectronHLTEMuMatched17", &ElectronHLTEMuMatched17, &b_ElectronHLTEMuMatched17);
fChain->SetBranchAddress("ElectronHLTEMuMatched8", &ElectronHLTEMuMatched8, &b_ElectronHLTEMuMatched8);
fChain->SetBranchAddress("ElectronHLTSingleEleMatched17", &ElectronHLTSingleEleMatched17, &b_ElectronHLTSingleEleMatched17);
fChain->SetBranchAddress("ElectronHLTSingleEleMatched8", &ElectronHLTSingleEleMatched8, &b_ElectronHLTSingleEleMatched8);
fChain->SetBranchAddress("ElectronHLTSingleEleWP80Matched", &ElectronHLTSingleEleWP80Matched, &b_ElectronHLTSingleEleWP80Matched);
fChain->SetBranchAddress("ElectronHasEcalDrivenSeed", &ElectronHasEcalDrivenSeed, &b_ElectronHasEcalDrivenSeed);
fChain->SetBranchAddress("ElectronHasMatchedConvPhot", &ElectronHasMatchedConvPhot, &b_ElectronHasMatchedConvPhot);
fChain->SetBranchAddress("ElectronHasTrackerDrivenSeed", &ElectronHasTrackerDrivenSeed, &b_ElectronHasTrackerDrivenSeed);
fChain->SetBranchAddress("ElectronIsEB", &ElectronIsEB, &b_ElectronIsEB);
fChain->SetBranchAddress("ElectronIsEE", &ElectronIsEE, &b_ElectronIsEE);
fChain->SetBranchAddress("MuonHLTDoubleMuonMatched", &MuonHLTDoubleMuonMatched, &b_MuonHLTDoubleMuonMatched);
fChain->SetBranchAddress("MuonHLTEMuMatched17", &MuonHLTEMuMatched17, &b_MuonHLTEMuMatched17);
fChain->SetBranchAddress("MuonHLTEMuMatched8", &MuonHLTEMuMatched8, &b_MuonHLTEMuMatched8);
fChain->SetBranchAddress("MuonHLTSingleIsoMuonMatched", &MuonHLTSingleIsoMuonMatched, &b_MuonHLTSingleIsoMuonMatched);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched", &MuonHLTSingleMuonMatched, &b_MuonHLTSingleMuonMatched);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched12", &MuonHLTSingleMuonMatched12, &b_MuonHLTSingleMuonMatched12);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched17", &MuonHLTSingleMuonMatched17, &b_MuonHLTSingleMuonMatched17);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched24", &MuonHLTSingleMuonMatched24, &b_MuonHLTSingleMuonMatched24);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched5", &MuonHLTSingleMuonMatched5, &b_MuonHLTSingleMuonMatched5);
fChain->SetBranchAddress("MuonHLTSingleMuonMatched8", &MuonHLTSingleMuonMatched8, &b_MuonHLTSingleMuonMatched8);
fChain->SetBranchAddress("PFJetPileupjetIDpassLooseWP", &PFJetPileupjetIDpassLooseWP, &b_PFJetPileupjetIDpassLooseWP);
fChain->SetBranchAddress("PFJetPileupjetIDpassMediumWP", &PFJetPileupjetIDpassMediumWP, &b_PFJetPileupjetIDpassMediumWP);
fChain->SetBranchAddress("PFJetPileupjetIDpassTightWP", &PFJetPileupjetIDpassTightWP, &b_PFJetPileupjetIDpassTightWP);
fChain->SetBranchAddress("PhotonHasMatchedConvPhot", &PhotonHasMatchedConvPhot, &b_PhotonHasMatchedConvPhot);
fChain->SetBranchAddress("PhotonHasMatchedPromptEle", &PhotonHasMatchedPromptEle, &b_PhotonHasMatchedPromptEle);
fChain->SetBranchAddress("PhotonHasPixelSeed", &PhotonHasPixelSeed, &b_PhotonHasPixelSeed);
fChain->SetBranchAddress("PhotonIsEBEEGap", &PhotonIsEBEEGap, &b_PhotonIsEBEEGap);
fChain->SetBranchAddress("PhotonIsEBGap", &PhotonIsEBGap, &b_PhotonIsEBGap);
fChain->SetBranchAddress("PhotonIsEEGap", &PhotonIsEEGap, &b_PhotonIsEEGap);
fChain->SetBranchAddress("HLTInsideDatasetTriggerDecisions", &HLTInsideDatasetTriggerDecisions, &b_HLTInsideDatasetTriggerDecisions);
fChain->SetBranchAddress("HLTOutsideDatasetTriggerDecisions", &HLTOutsideDatasetTriggerDecisions, &b_HLTOutsideDatasetTriggerDecisions);
fChain->SetBranchAddress("VertexIsFake", &VertexIsFake, &b_VertexIsFake);
fChain->SetBranchAddress("rhoForHEEP", &rhoForHEEP, &b_rhoForHEEP);
fChain->SetBranchAddress("rhoJets", &rhoJets, &b_rhoJets);
fChain->SetBranchAddress("rhoJetsCCPU", &rhoJetsCCPU, &b_rhoJetsCCPU);
fChain->SetBranchAddress("rhoJetsCN", &rhoJetsCN, &b_rhoJetsCN);
fChain->SetBranchAddress("rhoJetsCNT", &rhoJetsCNT, &b_rhoJetsCNT);
fChain->SetBranchAddress("time", &time, &b_time);
fChain->SetBranchAddress("PtHat", &PtHat, &b_PtHat);
fChain->SetBranchAddress("Weight", &Weight, &b_Weight);
fChain->SetBranchAddress("CaloJetEMF", &CaloJetEMF, &b_CaloJetEMF);
fChain->SetBranchAddress("CaloJetEnergy", &CaloJetEnergy, &b_CaloJetEnergy);
fChain->SetBranchAddress("CaloJetEnergyRaw", &CaloJetEnergyRaw, &b_CaloJetEnergyRaw);
fChain->SetBranchAddress("CaloJetEta", &CaloJetEta, &b_CaloJetEta);
fChain->SetBranchAddress("CaloJetHADF", &CaloJetHADF, &b_CaloJetHADF);
fChain->SetBranchAddress("CaloJetJECUnc", &CaloJetJECUnc, &b_CaloJetJECUnc);
fChain->SetBranchAddress("CaloJetJetBProbabilityBTag", &CaloJetJetBProbabilityBTag, &b_CaloJetJetBProbabilityBTag);
fChain->SetBranchAddress("CaloJetJetProbabilityBTag", &CaloJetJetProbabilityBTag, &b_CaloJetJetProbabilityBTag);
fChain->SetBranchAddress("CaloJetL1FastJetJEC", &CaloJetL1FastJetJEC, &b_CaloJetL1FastJetJEC);
fChain->SetBranchAddress("CaloJetL2L3ResJEC", &CaloJetL2L3ResJEC, &b_CaloJetL2L3ResJEC);
fChain->SetBranchAddress("CaloJetL2RelJEC", &CaloJetL2RelJEC, &b_CaloJetL2RelJEC);
fChain->SetBranchAddress("CaloJetL3AbsJEC", &CaloJetL3AbsJEC, &b_CaloJetL3AbsJEC);
fChain->SetBranchAddress("CaloJetPhi", &CaloJetPhi, &b_CaloJetPhi);
fChain->SetBranchAddress("CaloJetPt", &CaloJetPt, &b_CaloJetPt);
fChain->SetBranchAddress("CaloJetPtRaw", &CaloJetPtRaw, &b_CaloJetPtRaw);
fChain->SetBranchAddress("CaloJetSigmaEta", &CaloJetSigmaEta, &b_CaloJetSigmaEta);
fChain->SetBranchAddress("CaloJetSigmaPhi", &CaloJetSigmaPhi, &b_CaloJetSigmaPhi);
fChain->SetBranchAddress("CaloJetSimpleSecondaryVertexHighEffBTag", &CaloJetSimpleSecondaryVertexHighEffBTag, &b_CaloJetSimpleSecondaryVertexHighEffBTag);
fChain->SetBranchAddress("CaloJetSimpleSecondaryVertexHighPurBTag", &CaloJetSimpleSecondaryVertexHighPurBTag, &b_CaloJetSimpleSecondaryVertexHighPurBTag);
fChain->SetBranchAddress("CaloJetTrackCountingHighEffBTag", &CaloJetTrackCountingHighEffBTag, &b_CaloJetTrackCountingHighEffBTag);
fChain->SetBranchAddress("CaloJetTrackCountingHighPurBTag", &CaloJetTrackCountingHighPurBTag, &b_CaloJetTrackCountingHighPurBTag);
fChain->SetBranchAddress("CaloJetfHPD", &CaloJetfHPD, &b_CaloJetfHPD);
fChain->SetBranchAddress("CaloJetfRBX", &CaloJetfRBX, &b_CaloJetfRBX);
fChain->SetBranchAddress("CaloJetresEMF", &CaloJetresEMF, &b_CaloJetresEMF);
fChain->SetBranchAddress("CaloMET", &CaloMET, &b_CaloMET);
fChain->SetBranchAddress("CaloMETPhi", &CaloMETPhi, &b_CaloMETPhi);
fChain->SetBranchAddress("CaloSumET", &CaloSumET, &b_CaloSumET);
fChain->SetBranchAddress("CaloMETPhiType1Cor", &CaloMETPhiType1Cor, &b_CaloMETPhiType1Cor);
fChain->SetBranchAddress("CaloMETPhiUncorrType1Cor", &CaloMETPhiUncorrType1Cor, &b_CaloMETPhiUncorrType1Cor);
fChain->SetBranchAddress("CaloMETType1Cor", &CaloMETType1Cor, &b_CaloMETType1Cor);
fChain->SetBranchAddress("CaloMETUncorrType1Cor", &CaloMETUncorrType1Cor, &b_CaloMETUncorrType1Cor);
fChain->SetBranchAddress("CaloSumETType1Cor", &CaloSumETType1Cor, &b_CaloSumETType1Cor);
fChain->SetBranchAddress("CaloSumETUncorrType1Cor", &CaloSumETUncorrType1Cor, &b_CaloSumETUncorrType1Cor);
fChain->SetBranchAddress("ElectronBeamSpotDXY", &ElectronBeamSpotDXY, &b_ElectronBeamSpotDXY);
fChain->SetBranchAddress("ElectronBeamSpotDXYError", &ElectronBeamSpotDXYError, &b_ElectronBeamSpotDXYError);
fChain->SetBranchAddress("ElectronCaloEnergy", &ElectronCaloEnergy, &b_ElectronCaloEnergy);
fChain->SetBranchAddress("ElectronConvFitProb", &ElectronConvFitProb, &b_ElectronConvFitProb);
fChain->SetBranchAddress("ElectronDCotTheta", &ElectronDCotTheta, &b_ElectronDCotTheta);
fChain->SetBranchAddress("ElectronDeltaEtaTrkSC", &ElectronDeltaEtaTrkSC, &b_ElectronDeltaEtaTrkSC);
fChain->SetBranchAddress("ElectronDeltaPhiTrkSC", &ElectronDeltaPhiTrkSC, &b_ElectronDeltaPhiTrkSC);
fChain->SetBranchAddress("ElectronDist", &ElectronDist, &b_ElectronDist);
fChain->SetBranchAddress("ElectronE1x5OverE5x5", &ElectronE1x5OverE5x5, &b_ElectronE1x5OverE5x5);
fChain->SetBranchAddress("ElectronE2x5OverE5x5", &ElectronE2x5OverE5x5, &b_ElectronE2x5OverE5x5);
fChain->SetBranchAddress("ElectronESuperClusterOverP", &ElectronESuperClusterOverP, &b_ElectronESuperClusterOverP);
fChain->SetBranchAddress("ElectronEcalIsoDR03", &ElectronEcalIsoDR03, &b_ElectronEcalIsoDR03);
fChain->SetBranchAddress("ElectronEcalIsoPAT", &ElectronEcalIsoPAT, &b_ElectronEcalIsoPAT);
fChain->SetBranchAddress("ElectronEnergy", &ElectronEnergy, &b_ElectronEnergy);
fChain->SetBranchAddress("ElectronEta", &ElectronEta, &b_ElectronEta);
fChain->SetBranchAddress("ElectronFbrem", &ElectronFbrem, &b_ElectronFbrem);
fChain->SetBranchAddress("ElectronHLTDoubleEleMatchEta", &ElectronHLTDoubleEleMatchEta, &b_ElectronHLTDoubleEleMatchEta);
fChain->SetBranchAddress("ElectronHLTDoubleEleMatchPhi", &ElectronHLTDoubleEleMatchPhi, &b_ElectronHLTDoubleEleMatchPhi);
fChain->SetBranchAddress("ElectronHLTDoubleEleMatchPt", &ElectronHLTDoubleEleMatchPt, &b_ElectronHLTDoubleEleMatchPt);
fChain->SetBranchAddress("ElectronHLTSingleEleWP80MatchEta", &ElectronHLTSingleEleWP80MatchEta, &b_ElectronHLTSingleEleWP80MatchEta);
fChain->SetBranchAddress("ElectronHLTSingleEleWP80MatchPhi", &ElectronHLTSingleEleWP80MatchPhi, &b_ElectronHLTSingleEleWP80MatchPhi);
fChain->SetBranchAddress("ElectronHLTSingleEleWP80MatchPt", &ElectronHLTSingleEleWP80MatchPt, &b_ElectronHLTSingleEleWP80MatchPt);
fChain->SetBranchAddress("ElectronHcalIsoD1DR03", &ElectronHcalIsoD1DR03, &b_ElectronHcalIsoD1DR03);
fChain->SetBranchAddress("ElectronHcalIsoD2DR03", &ElectronHcalIsoD2DR03, &b_ElectronHcalIsoD2DR03);
fChain->SetBranchAddress("ElectronHcalIsoDR03", &ElectronHcalIsoDR03, &b_ElectronHcalIsoDR03);
fChain->SetBranchAddress("ElectronHcalIsoDR03FullCone", &ElectronHcalIsoDR03FullCone, &b_ElectronHcalIsoDR03FullCone);
fChain->SetBranchAddress("ElectronHcalIsoPAT", &ElectronHcalIsoPAT, &b_ElectronHcalIsoPAT);
fChain->SetBranchAddress("ElectronHoE", &ElectronHoE, &b_ElectronHoE);
fChain->SetBranchAddress("ElectronLeadVtxDistXY", &ElectronLeadVtxDistXY, &b_ElectronLeadVtxDistXY);
fChain->SetBranchAddress("ElectronLeadVtxDistZ", &ElectronLeadVtxDistZ, &b_ElectronLeadVtxDistZ);
fChain->SetBranchAddress("ElectronMatchedGenParticleEta", &ElectronMatchedGenParticleEta, &b_ElectronMatchedGenParticleEta);
fChain->SetBranchAddress("ElectronMatchedGenParticlePhi", &ElectronMatchedGenParticlePhi, &b_ElectronMatchedGenParticlePhi);
fChain->SetBranchAddress("ElectronMatchedGenParticlePt", &ElectronMatchedGenParticlePt, &b_ElectronMatchedGenParticlePt);
fChain->SetBranchAddress("ElectronPFChargedHadronIso03", &ElectronPFChargedHadronIso03, &b_ElectronPFChargedHadronIso03);
fChain->SetBranchAddress("ElectronPFChargedHadronIso04", &ElectronPFChargedHadronIso04, &b_ElectronPFChargedHadronIso04);
fChain->SetBranchAddress("ElectronPFNeutralHadronIso03", &ElectronPFNeutralHadronIso03, &b_ElectronPFNeutralHadronIso03);
fChain->SetBranchAddress("ElectronPFNeutralHadronIso04", &ElectronPFNeutralHadronIso04, &b_ElectronPFNeutralHadronIso04);
fChain->SetBranchAddress("ElectronPFPhotonIso03", &ElectronPFPhotonIso03, &b_ElectronPFPhotonIso03);
fChain->SetBranchAddress("ElectronPFPhotonIso04", &ElectronPFPhotonIso04, &b_ElectronPFPhotonIso04);
fChain->SetBranchAddress("ElectronPhi", &ElectronPhi, &b_ElectronPhi);
fChain->SetBranchAddress("ElectronPrimaryVertexDXY", &ElectronPrimaryVertexDXY, &b_ElectronPrimaryVertexDXY);
fChain->SetBranchAddress("ElectronPrimaryVertexDXYError", &ElectronPrimaryVertexDXYError, &b_ElectronPrimaryVertexDXYError);
fChain->SetBranchAddress("ElectronPt", &ElectronPt, &b_ElectronPt);
fChain->SetBranchAddress("ElectronPtHeep", &ElectronPtHeep, &b_ElectronPtHeep);
fChain->SetBranchAddress("ElectronR9", &ElectronR9, &b_ElectronR9);
fChain->SetBranchAddress("ElectronRelIsoPAT", &ElectronRelIsoPAT, &b_ElectronRelIsoPAT);
fChain->SetBranchAddress("ElectronSCEta", &ElectronSCEta, &b_ElectronSCEta);
fChain->SetBranchAddress("ElectronSCPhi", &ElectronSCPhi, &b_ElectronSCPhi);
fChain->SetBranchAddress("ElectronSCPt", &ElectronSCPt, &b_ElectronSCPt);
fChain->SetBranchAddress("ElectronSCRawEnergy", &ElectronSCRawEnergy, &b_ElectronSCRawEnergy);
fChain->SetBranchAddress("ElectronSigmaEtaEta", &ElectronSigmaEtaEta, &b_ElectronSigmaEtaEta);
fChain->SetBranchAddress("ElectronSigmaIEtaIEta", &ElectronSigmaIEtaIEta, &b_ElectronSigmaIEtaIEta);
fChain->SetBranchAddress("ElectronTrackPt", &ElectronTrackPt, &b_ElectronTrackPt);
fChain->SetBranchAddress("ElectronTrackValidFractionOfHits", &ElectronTrackValidFractionOfHits, &b_ElectronTrackValidFractionOfHits);
fChain->SetBranchAddress("ElectronTrackVx", &ElectronTrackVx, &b_ElectronTrackVx);
fChain->SetBranchAddress("ElectronTrackVy", &ElectronTrackVy, &b_ElectronTrackVy);
fChain->SetBranchAddress("ElectronTrackVz", &ElectronTrackVz, &b_ElectronTrackVz);
fChain->SetBranchAddress("ElectronTrkIsoDR03", &ElectronTrkIsoDR03, &b_ElectronTrkIsoDR03);
fChain->SetBranchAddress("ElectronTrkIsoPAT", &ElectronTrkIsoPAT, &b_ElectronTrkIsoPAT);
fChain->SetBranchAddress("ElectronVtxDistXY", &ElectronVtxDistXY, &b_ElectronVtxDistXY);
fChain->SetBranchAddress("ElectronVtxDistZ", &ElectronVtxDistZ, &b_ElectronVtxDistZ);
fChain->SetBranchAddress("ElectronmvaNontrigV0", &ElectronmvaNontrigV0, &b_ElectronmvaNontrigV0);
fChain->SetBranchAddress("ElectronmvatrigV0", &ElectronmvatrigV0, &b_ElectronmvatrigV0);
fChain->SetBranchAddress("GenWElectronEnergy", &GenWElectronEnergy, &b_GenWElectronEnergy);
fChain->SetBranchAddress("GenWElectronEta", &GenWElectronEta, &b_GenWElectronEta);
fChain->SetBranchAddress("GenWElectronP", &GenWElectronP, &b_GenWElectronP);
fChain->SetBranchAddress("GenWElectronPhi", &GenWElectronPhi, &b_GenWElectronPhi);
fChain->SetBranchAddress("GenWElectronPt", &GenWElectronPt, &b_GenWElectronPt);
fChain->SetBranchAddress("GenWElectronPx", &GenWElectronPx, &b_GenWElectronPx);
fChain->SetBranchAddress("GenWElectronPy", &GenWElectronPy, &b_GenWElectronPy);
fChain->SetBranchAddress("GenWElectronPz", &GenWElectronPz, &b_GenWElectronPz);
fChain->SetBranchAddress("GenWElectronTauVisibleEta", &GenWElectronTauVisibleEta, &b_GenWElectronTauVisibleEta);
fChain->SetBranchAddress("GenWElectronTauVisiblePhi", &GenWElectronTauVisiblePhi, &b_GenWElectronTauVisiblePhi);
fChain->SetBranchAddress("GenWElectronTauVisiblePt", &GenWElectronTauVisiblePt, &b_GenWElectronTauVisiblePt);
fChain->SetBranchAddress("GenWElectronVX", &GenWElectronVX, &b_GenWElectronVX);
fChain->SetBranchAddress("GenWElectronVY", &GenWElectronVY, &b_GenWElectronVY);
fChain->SetBranchAddress("GenWElectronVZ", &GenWElectronVZ, &b_GenWElectronVZ);
fChain->SetBranchAddress("GenZElectronEnergy", &GenZElectronEnergy, &b_GenZElectronEnergy);
fChain->SetBranchAddress("GenZElectronEta", &GenZElectronEta, &b_GenZElectronEta);
fChain->SetBranchAddress("GenZElectronP", &GenZElectronP, &b_GenZElectronP);
fChain->SetBranchAddress("GenZElectronPhi", &GenZElectronPhi, &b_GenZElectronPhi);
fChain->SetBranchAddress("GenZElectronPt", &GenZElectronPt, &b_GenZElectronPt);
fChain->SetBranchAddress("GenZElectronPx", &GenZElectronPx, &b_GenZElectronPx);
fChain->SetBranchAddress("GenZElectronPy", &GenZElectronPy, &b_GenZElectronPy);
fChain->SetBranchAddress("GenZElectronPz", &GenZElectronPz, &b_GenZElectronPz);
fChain->SetBranchAddress("GenZElectronTauVisibleEta", &GenZElectronTauVisibleEta, &b_GenZElectronTauVisibleEta);
fChain->SetBranchAddress("GenZElectronTauVisiblePhi", &GenZElectronTauVisiblePhi, &b_GenZElectronTauVisiblePhi);
fChain->SetBranchAddress("GenZElectronTauVisiblePt", &GenZElectronTauVisiblePt, &b_GenZElectronTauVisiblePt);
fChain->SetBranchAddress("GenZElectronVX", &GenZElectronVX, &b_GenZElectronVX);
fChain->SetBranchAddress("GenZElectronVY", &GenZElectronVY, &b_GenZElectronVY);
fChain->SetBranchAddress("GenZElectronVZ", &GenZElectronVZ, &b_GenZElectronVZ);
fChain->SetBranchAddress("PDFCTEQWeights", &PDFCTEQWeights, &b_PDFCTEQWeights);
fChain->SetBranchAddress("PDFMSTWWeights", &PDFMSTWWeights, &b_PDFMSTWWeights);
fChain->SetBranchAddress("PDFNNPDFWeights", &PDFNNPDFWeights, &b_PDFNNPDFWeights);
fChain->SetBranchAddress("GenJetEMF", &GenJetEMF, &b_GenJetEMF);
fChain->SetBranchAddress("GenJetEnergy", &GenJetEnergy, &b_GenJetEnergy);
fChain->SetBranchAddress("GenJetEta", &GenJetEta, &b_GenJetEta);
fChain->SetBranchAddress("GenJetHADF", &GenJetHADF, &b_GenJetHADF);
fChain->SetBranchAddress("GenJetP", &GenJetP, &b_GenJetP);
fChain->SetBranchAddress("GenJetPhi", &GenJetPhi, &b_GenJetPhi);
fChain->SetBranchAddress("GenJetPt", &GenJetPt, &b_GenJetPt);
fChain->SetBranchAddress("GenMETCalo", &GenMETCalo, &b_GenMETCalo);
fChain->SetBranchAddress("GenMETPhiCalo", &GenMETPhiCalo, &b_GenMETPhiCalo);
fChain->SetBranchAddress("GenSumETCalo", &GenSumETCalo, &b_GenSumETCalo);
fChain->SetBranchAddress("GenMETPhiTrue", &GenMETPhiTrue, &b_GenMETPhiTrue);
fChain->SetBranchAddress("GenMETTrue", &GenMETTrue, &b_GenMETTrue);
fChain->SetBranchAddress("GenSumETTrue", &GenSumETTrue, &b_GenSumETTrue);
fChain->SetBranchAddress("GenWMuEnergy", &GenWMuEnergy, &b_GenWMuEnergy);
fChain->SetBranchAddress("GenWMuEta", &GenWMuEta, &b_GenWMuEta);
fChain->SetBranchAddress("GenWMuP", &GenWMuP, &b_GenWMuP);
fChain->SetBranchAddress("GenWMuPhi", &GenWMuPhi, &b_GenWMuPhi);
fChain->SetBranchAddress("GenWMuPt", &GenWMuPt, &b_GenWMuPt);
fChain->SetBranchAddress("GenWMuPx", &GenWMuPx, &b_GenWMuPx);
fChain->SetBranchAddress("GenWMuPy", &GenWMuPy, &b_GenWMuPy);
fChain->SetBranchAddress("GenWMuPz", &GenWMuPz, &b_GenWMuPz);
fChain->SetBranchAddress("GenWMuTauVisibleEta", &GenWMuTauVisibleEta, &b_GenWMuTauVisibleEta);
fChain->SetBranchAddress("GenWMuTauVisiblePhi", &GenWMuTauVisiblePhi, &b_GenWMuTauVisiblePhi);
fChain->SetBranchAddress("GenWMuTauVisiblePt", &GenWMuTauVisiblePt, &b_GenWMuTauVisiblePt);
fChain->SetBranchAddress("GenWMuVX", &GenWMuVX, &b_GenWMuVX);
fChain->SetBranchAddress("GenWMuVY", &GenWMuVY, &b_GenWMuVY);
fChain->SetBranchAddress("GenWMuVZ", &GenWMuVZ, &b_GenWMuVZ);
fChain->SetBranchAddress("GenZMuEnergy", &GenZMuEnergy, &b_GenZMuEnergy);
fChain->SetBranchAddress("GenZMuEta", &GenZMuEta, &b_GenZMuEta);
fChain->SetBranchAddress("GenZMuP", &GenZMuP, &b_GenZMuP);
fChain->SetBranchAddress("GenZMuPhi", &GenZMuPhi, &b_GenZMuPhi);
fChain->SetBranchAddress("GenZMuPt", &GenZMuPt, &b_GenZMuPt);
fChain->SetBranchAddress("GenZMuPx", &GenZMuPx, &b_GenZMuPx);
fChain->SetBranchAddress("GenZMuPy", &GenZMuPy, &b_GenZMuPy);
fChain->SetBranchAddress("GenZMuPz", &GenZMuPz, &b_GenZMuPz);
fChain->SetBranchAddress("GenZMuTauVisibleEta", &GenZMuTauVisibleEta, &b_GenZMuTauVisibleEta);
fChain->SetBranchAddress("GenZMuTauVisiblePhi", &GenZMuTauVisiblePhi, &b_GenZMuTauVisiblePhi);
fChain->SetBranchAddress("GenZMuTauVisiblePt", &GenZMuTauVisiblePt, &b_GenZMuTauVisiblePt);
fChain->SetBranchAddress("GenZMuVX", &GenZMuVX, &b_GenZMuVX);
fChain->SetBranchAddress("GenZMuVY", &GenZMuVY, &b_GenZMuVY);
fChain->SetBranchAddress("GenZMuVZ", &GenZMuVZ, &b_GenZMuVZ);
fChain->SetBranchAddress("GenParticleEnergy", &GenParticleEnergy, &b_GenParticleEnergy);
fChain->SetBranchAddress("GenParticleEta", &GenParticleEta, &b_GenParticleEta);
fChain->SetBranchAddress("GenParticleP", &GenParticleP, &b_GenParticleP);
fChain->SetBranchAddress("GenParticlePhi", &GenParticlePhi, &b_GenParticlePhi);
fChain->SetBranchAddress("GenParticlePt", &GenParticlePt, &b_GenParticlePt);
fChain->SetBranchAddress("GenParticlePx", &GenParticlePx, &b_GenParticlePx);
fChain->SetBranchAddress("GenParticlePy", &GenParticlePy, &b_GenParticlePy);
fChain->SetBranchAddress("GenParticlePz", &GenParticlePz, &b_GenParticlePz);