forked from gqlcms/XWWTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
EDBR2PKUTree.h
3821 lines (3493 loc) · 194 KB
/
EDBR2PKUTree.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
// Wed Jan 6 02:39:46 2016 by ROOT version 5.34/32
// from TTree EDBRCandidates/EDBR Candidates
// found on file: BulkGravWW750.root
//////////////////////////////////////////////////////////
#ifndef EDBR2PKUTree_h
#define EDBR2PKUTree_h
#include <TROOT.h>
#include <TChain.h>
#include <TFile.h>
#include "TH2.h"
#include "TStyle.h"
#include "TCanvas.h"
#include "TMath.h"
#include "TLorentzVector.h"
//#include "DataFormats/Math/interface/deltaR.h"
#include <iostream>
#include <fstream>
using namespace std;
// Header file for the classes stored in the TTree if any.
// Fixed size dimensions of array or collections stored in the TTree if any.
const Int_t kMaxpassFilter_HBHE = 1;
const Int_t kMaxpassFilter_HBHEIso = 1;
const Int_t kMaxpassFilter_GlobalHalo = 1;
const Int_t kMaxpassFilter_ECALDeadCell = 1;
const Int_t kMaxpassFilter_GoodVtx = 1;
const Int_t kMaxpassFilter_EEBadSc = 1;
const Int_t kMaxpassFilter_badMuon = 1;
const Int_t kMaxpassFilter_badChargedHadron = 1;
class EDBR2PKUTree {
public :
TTree *fChain; //!pointer to the analyzed TTree or TChain
Int_t fCurrent; //!current Tree number in a TChain
// gkk
void DeepW_Rank_Variable();
void Added_Pt_ranked_Variables();
void Added_Mass_ranked_Variables();
void Added_Mass_ranked_score();
void AK4_InsideAK8();
void METAK8_DPhi();
void METRecovery();
void Rank_AK8();
void MET_AK8_MT();
void Unknown();
void METf();
void MJJ_MJJJf();
void DR_DPhi_M2J();
void AK8_Pt_Ordered();
void AK8_Pt_Ordered_p4();
void DeepAK8_Mass_Ordered_init();
void DeepAK8_Mass_Ordered_deepAK8RawScore();
void DeepAK8_Mass_Ordered_deepAK8CombineScore();
void DeepAK8_Mass_Ordered_P4();
void DeepAK8_Mass_Ordered();
void Deep_W_Ordered();
void EventLevel();
void HT_ST();
void Nj4_Nj8();
void NAK4();
void Nbtagf();
void Weightf(Double_t XS, Int_t Nevents, Double_t LUMI);
Int_t IsData;
TLorentzVector LMJ_j,LMJJ_j;
Double_t deltaRAK4AK8_new_2[15];
Double_t deltaRAK4AK8_new_3[15];
Double_t deltaRAK4AK8_new_4[15];
double deltaRak4sj[15]={0};
double deltaRak4sj2[15]={0};
double deltaRak4sj3[15]={0};
double deltaRak4sj4[15]={0};
double DR1,DR2,DR3,DR4,DR5,DR6;
double W_n_phi,W_n_eta;
double DR01,DR02,DR03,DR04,DR05;
float jetAK8puppi_pt ;
float jetAK8puppi_pt_2 ;
float jetAK8puppi_pt_3 ;
// float jetAK8puppi_eta;
// float jetAK8puppi_eta_2;
// float jetAK8puppi_eta_3;
// float jetAK8puppi_phi;
// float jetAK8puppi_phi_2;
// float jetAK8puppi_phi_3;
// float jetAK8puppi_sd;
// float jetAK8puppi_sd_2;
// float jetAK8puppi_sd_3;
Float_t MET_et;
float genWeight;
// Declaration of leaf types
// gKK 21.9.25
float DPhi_MET_j1;
float DPhi_MET_j2;
float DPhi_MET_j3;
float Mc_j1;
float Mc_j2;
float Mc_j3;
float Mc2_j1;
float Mc2_j2;
float MT1;
float MT2;
float MT3;
float MTdPhi_1;
float MTdPhi_2;
float Max_ptO_AK8;
float Min_ptO_AK8;
float Mid_ptO_AK8;
float Wa_ptO_AK8;
float Wc_ptO_AK8;
float Wb_ptO_AK8;
float WHa_ptO_AK8;
float WHc_ptO_AK8;
float WHb_ptO_AK8;
float Wa_MO_AK8;
float Wc_MO_AK8;
float Wb_MO_AK8;
float WHa_MO_AK8;
float WHc_MO_AK8;
float WHb_MO_AK8;
float DPhi_j12;
float DPhi_j13;
float DPhi_j23;
float DEta_j12;
float DEta_j13;
float DEta_j23;
float DR_j12;
float DR_j13;
float DR_j23;
float M2J_j12;
float M2J_j13;
float M2J_j23;
float DPhi_jmaxmin;
float DPhi_jmaxmid;
float DPhi_jmidmin;
float DEta_jmaxmin;
float DEta_jmaxmid;
float DEta_jmidmin;
float DR_jmaxmin;
float DR_jmaxmid;
float DR_jmidmin;
float M2J_jmaxmin;
float M2J_jmaxmid;
float M2J_jmidmin;
float Mj_a , Mj_b , Mj_c;
float PTj_a, PTj_b, PTj_c;
float Etaj_a, Etaj_b, Etaj_c;
float Phij_a, Phij_b, Phij_c;
float dnn_probTbcq_a, dnn_probTbcq_b, dnn_probTbcq_c;
float dnn_probTbqq_a, dnn_probTbqq_b, dnn_probTbqq_c;
float dnn_probTbc_a, dnn_probTbc_b, dnn_probTbc_c;
float dnn_probTbq_a, dnn_probTbq_b, dnn_probTbq_c;
float dnn_probWcq_a, dnn_probWcq_b, dnn_probWcq_c;
float dnn_probWqq_a, dnn_probWqq_b, dnn_probWqq_c;
float dnn_probZbb_a, dnn_probZbb_b, dnn_probZbb_c;
float dnn_probZcc_a, dnn_probZcc_b, dnn_probZcc_c;
float dnn_probZqq_a, dnn_probZqq_b, dnn_probZqq_c;
float dnn_probHbb_a, dnn_probHbb_b, dnn_probHbb_c;
float dnn_probHcc_a, dnn_probHcc_b, dnn_probHcc_c;
float dnn_probHqqqq_a, dnn_probHqqqq_b, dnn_probHqqqq_c;
float dnn_probQCDbb_a, dnn_probQCDbb_b, dnn_probQCDbb_c;
float dnn_probQCDcc_a, dnn_probQCDcc_b, dnn_probQCDcc_c;
float dnn_probQCDb_a, dnn_probQCDb_b, dnn_probQCDb_c;
float dnn_probQCDc_a, dnn_probQCDc_b, dnn_probQCDc_c;
float dnn_probQCDothers_a, dnn_probQCDothers_b, dnn_probQCDothers_c;
float dnnDecorr_probTbcq_a, dnnDecorr_probTbcq_b, dnnDecorr_probTbcq_c;
float dnnDecorr_probTbqq_a, dnnDecorr_probTbqq_b, dnnDecorr_probTbqq_c;
float dnnDecorr_probTbc_a, dnnDecorr_probTbc_b, dnnDecorr_probTbc_c;
float dnnDecorr_probTbq_a, dnnDecorr_probTbq_b, dnnDecorr_probTbq_c;
float dnnDecorr_probWcq_a, dnnDecorr_probWcq_b, dnnDecorr_probWcq_c;
float dnnDecorr_probWqq_a, dnnDecorr_probWqq_b, dnnDecorr_probWqq_c;
float dnnDecorr_probZbb_a, dnnDecorr_probZbb_b, dnnDecorr_probZbb_c;
float dnnDecorr_probZcc_a, dnnDecorr_probZcc_b, dnnDecorr_probZcc_c;
float dnnDecorr_probZqq_a, dnnDecorr_probZqq_b, dnnDecorr_probZqq_c;
float dnnDecorr_probHbb_a, dnnDecorr_probHbb_b, dnnDecorr_probHbb_c;
float dnnDecorr_probHcc_a, dnnDecorr_probHcc_b, dnnDecorr_probHcc_c;
float dnnDecorr_probHqqqq_a, dnnDecorr_probHqqqq_b, dnnDecorr_probHqqqq_c;
float dnnDecorr_probQCDbb_a, dnnDecorr_probQCDbb_b, dnnDecorr_probQCDbb_c;
float dnnDecorr_probQCDcc_a, dnnDecorr_probQCDcc_b, dnnDecorr_probQCDcc_c;
float dnnDecorr_probQCDb_a, dnnDecorr_probQCDb_b, dnnDecorr_probQCDb_c;
float dnnDecorr_probQCDc_a, dnnDecorr_probQCDc_b, dnnDecorr_probQCDc_c;
float dnnDecorr_probQCDothers_a, dnnDecorr_probQCDothers_b, dnnDecorr_probQCDothers_c;
float dnnTop_a, dnnTop_b, dnnTop_c;
float dnnW_a, dnnW_b, dnnW_c;
float dnnH4q_a, dnnH4q_b, dnnH4q_c;
float dnnZ_a, dnnZ_b, dnnZ_c;
float dnnZbb_a, dnnZbb_b, dnnZbb_c;
float dnnHbb_a, dnnHbb_b, dnnHbb_c;
float dnnDecorrTop_a, dnnDecorrTop_b, dnnDecorrTop_c;
float dnnDecorrW_a, dnnDecorrW_b, dnnDecorrW_c;
float dnnDecorrH4q_a, dnnDecorrH4q_b, dnnDecorrH4q_c;
float dnnDecorrZ_a, dnnDecorrZ_b, dnnDecorrZ_c;
float dnnDecorrZbb_a, dnnDecorrZbb_b, dnnDecorrZbb_c;
float dnnDecorrHbb_a, dnnDecorrHbb_b, dnnDecorrHbb_c;
float dnnDecorrbb_a, dnnDecorrbb_b, dnnDecorrbb_c;
float dnnDecorrcc_a, dnnDecorrcc_b, dnnDecorrcc_c;
float dnnDecorrbbnog_a, dnnDecorrbbnog_b, dnnDecorrbbnog_c;
float dnnDecorrccnog_a, dnnDecorrccnog_b, dnnDecorrccnog_c;
float dnnqcd_a, dnnqcd_b, dnnqcd_c;
float dnntop_a, dnntop_b, dnntop_c;
float dnnw_a, dnnw_b, dnnw_c;
float dnnz_a, dnnz_b, dnnz_c;
float dnnzbb_a, dnnzbb_b, dnnzbb_c;
float dnnhbb_a, dnnhbb_b, dnnhbb_c;
float dnnh4q_a, dnnh4q_b, dnnh4q_c;
float dnnDecorrqcd_a, dnnDecorrqcd_b, dnnDecorrqcd_c;
float dnnDecorrtop_a, dnnDecorrtop_b, dnnDecorrtop_c;
float dnnDecorrw_a, dnnDecorrw_b, dnnDecorrw_c;
float dnnDecorrz_a, dnnDecorrz_b, dnnDecorrz_c;
float dnnDecorrzbb_a, dnnDecorrzbb_b, dnnDecorrzbb_c;
float dnnDecorrhbb_a, dnnDecorrhbb_b, dnnDecorrhbb_c;
float dnnDecorrh4q_a, dnnDecorrh4q_b, dnnDecorrh4q_c;
// gKK deepW ordered
double Maxpt_AK4_deepflavor_probb;
double Maxpt_AK4_deepflavor_probc;
double Maxpt_AK4_deepflavor_probg;
double Maxpt_AK4_deepflavor_problepb;
double Maxpt_AK4_deepflavor_probbb;
double Maxpt_AK4_deepflavor_probuds;
Double_t ak4jet_deepflavor_probb[15];
Double_t ak4jet_deepflavor_probc[15];
Double_t ak4jet_deepflavor_probg[15];
Double_t ak4jet_deepflavor_problepb[15];
Double_t ak4jet_deepflavor_probbb[15];
Double_t ak4jet_deepflavor_probuds[15];
double Pt_tag1;
double Pt_tag2;
double Pt_tag3;
double Eta_tag1;
double Eta_tag2;
double Eta_tag3;
double Phi_tag1;
double Phi_tag2;
double Phi_tag3;
double Mass_tag1;
double Mass_tag2;
double Mass_tag3;
double deepW_tag1;
double deepW_tag2;
double deepW_tag3;
double jetAK8puppi_dnn_probTbcq_tag1;
double jetAK8puppi_dnn_probTbcq_tag2;
double jetAK8puppi_dnn_probTbcq_tag3;
double jetAK8puppi_dnn_probTbqq_tag1;
double jetAK8puppi_dnn_probTbqq_tag2;
double jetAK8puppi_dnn_probTbqq_tag3;
double jetAK8puppi_dnn_probTbc_tag1;
double jetAK8puppi_dnn_probTbc_tag2;
double jetAK8puppi_dnn_probTbc_tag3;
double jetAK8puppi_dnn_probTbq_tag1;
double jetAK8puppi_dnn_probTbq_tag2;
double jetAK8puppi_dnn_probTbq_tag3;
double jetAK8puppi_dnn_probWcq_tag1;
double jetAK8puppi_dnn_probWcq_tag2;
double jetAK8puppi_dnn_probWcq_tag3;
double jetAK8puppi_dnn_probWqq_tag1;
double jetAK8puppi_dnn_probWqq_tag2;
double jetAK8puppi_dnn_probWqq_tag3;
double jetAK8puppi_dnn_probZbb_tag1;
double jetAK8puppi_dnn_probZbb_tag2;
double jetAK8puppi_dnn_probZbb_tag3;
double jetAK8puppi_dnn_probZcc_tag1;
double jetAK8puppi_dnn_probZcc_tag2;
double jetAK8puppi_dnn_probZcc_tag3;
double jetAK8puppi_dnn_probZqq_tag1;
double jetAK8puppi_dnn_probZqq_tag2;
double jetAK8puppi_dnn_probZqq_tag3;
double jetAK8puppi_dnn_probHbb_tag1;
double jetAK8puppi_dnn_probHbb_tag2;
double jetAK8puppi_dnn_probHbb_tag3;
double jetAK8puppi_dnn_probHcc_tag1;
double jetAK8puppi_dnn_probHcc_tag2;
double jetAK8puppi_dnn_probHcc_tag3;
double jetAK8puppi_dnn_probHqqqq_tag1;
double jetAK8puppi_dnn_probHqqqq_tag2;
double jetAK8puppi_dnn_probHqqqq_tag3;
double jetAK8puppi_dnn_probQCDbb_tag1;
double jetAK8puppi_dnn_probQCDbb_tag2;
double jetAK8puppi_dnn_probQCDbb_tag3;
double jetAK8puppi_dnn_probQCDcc_tag1;
double jetAK8puppi_dnn_probQCDcc_tag2;
double jetAK8puppi_dnn_probQCDcc_tag3;
double jetAK8puppi_dnn_probQCDb_tag1;
double jetAK8puppi_dnn_probQCDb_tag2;
double jetAK8puppi_dnn_probQCDb_tag3;
double jetAK8puppi_dnn_probQCDc_tag1;
double jetAK8puppi_dnn_probQCDc_tag2;
double jetAK8puppi_dnn_probQCDc_tag3;
double jetAK8puppi_dnn_probQCDothers_tag1;
double jetAK8puppi_dnn_probQCDothers_tag2;
double jetAK8puppi_dnn_probQCDothers_tag3;
double jetAK8puppi_dnnDecorr_probTbcq_tag1;
double jetAK8puppi_dnnDecorr_probTbcq_tag2;
double jetAK8puppi_dnnDecorr_probTbcq_tag3;
double jetAK8puppi_dnnDecorr_probTbqq_tag1;
double jetAK8puppi_dnnDecorr_probTbqq_tag2;
double jetAK8puppi_dnnDecorr_probTbqq_tag3;
double jetAK8puppi_dnnDecorr_probTbc_tag1;
double jetAK8puppi_dnnDecorr_probTbc_tag2;
double jetAK8puppi_dnnDecorr_probTbc_tag3;
double jetAK8puppi_dnnDecorr_probTbq_tag1;
double jetAK8puppi_dnnDecorr_probTbq_tag2;
double jetAK8puppi_dnnDecorr_probTbq_tag3;
double jetAK8puppi_dnnDecorr_probWcq_tag1;
double jetAK8puppi_dnnDecorr_probWcq_tag2;
double jetAK8puppi_dnnDecorr_probWcq_tag3;
double jetAK8puppi_dnnDecorr_probWqq_tag1;
double jetAK8puppi_dnnDecorr_probWqq_tag2;
double jetAK8puppi_dnnDecorr_probWqq_tag3;
double jetAK8puppi_dnnDecorr_probZbb_tag1;
double jetAK8puppi_dnnDecorr_probZbb_tag2;
double jetAK8puppi_dnnDecorr_probZbb_tag3;
double jetAK8puppi_dnnDecorr_probZcc_tag1;
double jetAK8puppi_dnnDecorr_probZcc_tag2;
double jetAK8puppi_dnnDecorr_probZcc_tag3;
double jetAK8puppi_dnnDecorr_probZqq_tag1;
double jetAK8puppi_dnnDecorr_probZqq_tag2;
double jetAK8puppi_dnnDecorr_probZqq_tag3;
double jetAK8puppi_dnnDecorr_probHbb_tag1;
double jetAK8puppi_dnnDecorr_probHbb_tag2;
double jetAK8puppi_dnnDecorr_probHbb_tag3;
double jetAK8puppi_dnnDecorr_probHcc_tag1;
double jetAK8puppi_dnnDecorr_probHcc_tag2;
double jetAK8puppi_dnnDecorr_probHcc_tag3;
double jetAK8puppi_dnnDecorr_probHqqqq_tag1;
double jetAK8puppi_dnnDecorr_probHqqqq_tag2;
double jetAK8puppi_dnnDecorr_probHqqqq_tag3;
double jetAK8puppi_dnnDecorr_probQCDbb_tag1;
double jetAK8puppi_dnnDecorr_probQCDbb_tag2;
double jetAK8puppi_dnnDecorr_probQCDbb_tag3;
double jetAK8puppi_dnnDecorr_probQCDcc_tag1;
double jetAK8puppi_dnnDecorr_probQCDcc_tag2;
double jetAK8puppi_dnnDecorr_probQCDcc_tag3;
double jetAK8puppi_dnnDecorr_probQCDb_tag1;
double jetAK8puppi_dnnDecorr_probQCDb_tag2;
double jetAK8puppi_dnnDecorr_probQCDb_tag3;
double jetAK8puppi_dnnDecorr_probQCDc_tag1;
double jetAK8puppi_dnnDecorr_probQCDc_tag2;
double jetAK8puppi_dnnDecorr_probQCDc_tag3;
double jetAK8puppi_dnnDecorr_probQCDothers_tag1;
double jetAK8puppi_dnnDecorr_probQCDothers_tag2;
double jetAK8puppi_dnnDecorr_probQCDothers_tag3;
// gKK Mass ordered
double jetAK8puppi_dnn_probTbcq_max;
double jetAK8puppi_dnn_probTbcq_mid;
double jetAK8puppi_dnn_probTbcq_min;
double jetAK8puppi_dnn_probTbqq_max;
double jetAK8puppi_dnn_probTbqq_mid;
double jetAK8puppi_dnn_probTbqq_min;
double jetAK8puppi_dnn_probTbc_max;
double jetAK8puppi_dnn_probTbc_mid;
double jetAK8puppi_dnn_probTbc_min;
double jetAK8puppi_dnn_probTbq_max;
double jetAK8puppi_dnn_probTbq_mid;
double jetAK8puppi_dnn_probTbq_min;
double jetAK8puppi_dnn_probWcq_max;
double jetAK8puppi_dnn_probWcq_mid;
double jetAK8puppi_dnn_probWcq_min;
double jetAK8puppi_dnn_probWqq_max;
double jetAK8puppi_dnn_probWqq_mid;
double jetAK8puppi_dnn_probWqq_min;
double jetAK8puppi_dnn_probZbb_max;
double jetAK8puppi_dnn_probZbb_mid;
double jetAK8puppi_dnn_probZbb_min;
double jetAK8puppi_dnn_probZcc_max;
double jetAK8puppi_dnn_probZcc_mid;
double jetAK8puppi_dnn_probZcc_min;
double jetAK8puppi_dnn_probZqq_max;
double jetAK8puppi_dnn_probZqq_mid;
double jetAK8puppi_dnn_probZqq_min;
double jetAK8puppi_dnn_probHbb_max;
double jetAK8puppi_dnn_probHbb_mid;
double jetAK8puppi_dnn_probHbb_min;
double jetAK8puppi_dnn_probHcc_max;
double jetAK8puppi_dnn_probHcc_mid;
double jetAK8puppi_dnn_probHcc_min;
double jetAK8puppi_dnn_probHqqqq_max;
double jetAK8puppi_dnn_probHqqqq_mid;
double jetAK8puppi_dnn_probHqqqq_min;
double jetAK8puppi_dnn_probQCDbb_max;
double jetAK8puppi_dnn_probQCDbb_mid;
double jetAK8puppi_dnn_probQCDbb_min;
double jetAK8puppi_dnn_probQCDcc_max;
double jetAK8puppi_dnn_probQCDcc_mid;
double jetAK8puppi_dnn_probQCDcc_min;
double jetAK8puppi_dnn_probQCDb_max;
double jetAK8puppi_dnn_probQCDb_mid;
double jetAK8puppi_dnn_probQCDb_min;
double jetAK8puppi_dnn_probQCDc_max;
double jetAK8puppi_dnn_probQCDc_mid;
double jetAK8puppi_dnn_probQCDc_min;
double jetAK8puppi_dnn_probQCDothers_max;
double jetAK8puppi_dnn_probQCDothers_mid;
double jetAK8puppi_dnn_probQCDothers_min;
double jetAK8puppi_dnnDecorr_probTbcq_max;
double jetAK8puppi_dnnDecorr_probTbcq_mid;
double jetAK8puppi_dnnDecorr_probTbcq_min;
double jetAK8puppi_dnnDecorr_probTbqq_max;
double jetAK8puppi_dnnDecorr_probTbqq_mid;
double jetAK8puppi_dnnDecorr_probTbqq_min;
double jetAK8puppi_dnnDecorr_probTbc_max;
double jetAK8puppi_dnnDecorr_probTbc_mid;
double jetAK8puppi_dnnDecorr_probTbc_min;
double jetAK8puppi_dnnDecorr_probTbq_max;
double jetAK8puppi_dnnDecorr_probTbq_mid;
double jetAK8puppi_dnnDecorr_probTbq_min;
double jetAK8puppi_dnnDecorr_probWcq_max;
double jetAK8puppi_dnnDecorr_probWcq_mid;
double jetAK8puppi_dnnDecorr_probWcq_min;
double jetAK8puppi_dnnDecorr_probWqq_max;
double jetAK8puppi_dnnDecorr_probWqq_mid;
double jetAK8puppi_dnnDecorr_probWqq_min;
double jetAK8puppi_dnnDecorr_probZbb_max;
double jetAK8puppi_dnnDecorr_probZbb_mid;
double jetAK8puppi_dnnDecorr_probZbb_min;
double jetAK8puppi_dnnDecorr_probZcc_max;
double jetAK8puppi_dnnDecorr_probZcc_mid;
double jetAK8puppi_dnnDecorr_probZcc_min;
double jetAK8puppi_dnnDecorr_probZqq_max;
double jetAK8puppi_dnnDecorr_probZqq_mid;
double jetAK8puppi_dnnDecorr_probZqq_min;
double jetAK8puppi_dnnDecorr_probHbb_max;
double jetAK8puppi_dnnDecorr_probHbb_mid;
double jetAK8puppi_dnnDecorr_probHbb_min;
double jetAK8puppi_dnnDecorr_probHcc_max;
double jetAK8puppi_dnnDecorr_probHcc_mid;
double jetAK8puppi_dnnDecorr_probHcc_min;
double jetAK8puppi_dnnDecorr_probHqqqq_max;
double jetAK8puppi_dnnDecorr_probHqqqq_mid;
double jetAK8puppi_dnnDecorr_probHqqqq_min;
double jetAK8puppi_dnnDecorr_probQCDbb_max;
double jetAK8puppi_dnnDecorr_probQCDbb_mid;
double jetAK8puppi_dnnDecorr_probQCDbb_min;
double jetAK8puppi_dnnDecorr_probQCDcc_max;
double jetAK8puppi_dnnDecorr_probQCDcc_mid;
double jetAK8puppi_dnnDecorr_probQCDcc_min;
double jetAK8puppi_dnnDecorr_probQCDb_max;
double jetAK8puppi_dnnDecorr_probQCDb_mid;
double jetAK8puppi_dnnDecorr_probQCDb_min;
double jetAK8puppi_dnnDecorr_probQCDc_max;
double jetAK8puppi_dnnDecorr_probQCDc_mid;
double jetAK8puppi_dnnDecorr_probQCDc_min;
double jetAK8puppi_dnnDecorr_probQCDothers_max;
double jetAK8puppi_dnnDecorr_probQCDothers_mid;
double jetAK8puppi_dnnDecorr_probQCDothers_min;
// gKK 21.7.19
// deep H
double jetAK8puppi_dnnDecorrhbb_tag1;
double jetAK8puppi_dnnDecorrhbb_tag2;
double jetAK8puppi_dnnDecorrhbb_tag3;
double jetAK8puppi_dnnDecorrh4q_tag1;
double jetAK8puppi_dnnDecorrh4q_tag2;
double jetAK8puppi_dnnDecorrh4q_tag3;
// DR
double DR_j1j2 ;
double DR_j1j3 ;
double DR_j2j3 ;
double DR_j1j2_MassOrdered;
double DR_j1j3_MassOrdered;
double DR_j2j3_MassOrdered;
double DR_j1j2_deepwOrdered;
double DR_j1j3_deepwOrdered;
double DR_j2j3_deepwOrdered;
// DPhi
double DPhi_j1j2;
double DPhi_j1j3;
double DPhi_j2j3;
double DPhi_j1j2_Massordered;
double DPhi_j1j3_Massordered;
double DPhi_j2j3_Massordered;
double DPhi_j1j2_deepwordered;
double DPhi_j1j3_deepwordered;
double DPhi_j2j3_deepwordered;
// MJJ
double Mass_j1j2_deepwordered;
double Mass_j1j3_deepwordered;
double Mass_j2j3_deepwordered;
double Mass_j1j2;
double Mass_j1j3;
double Mass_j2j3;
double Mass_j1j2_Massordered;
double Mass_j1j3_Massordered;
double Mass_j2j3_Massordered;
double PT_j1j2_deepwordered;
double Eta_j1j2_deepwordered;
double Phi_j1j2_deepwordered;
double PT_j1j3_deepwordered;
double Eta_j1j3_deepwordered;
double Phi_j1j3_deepwordered;
double PT_j2j3_deepwordered;
double Eta_j2j3_deepwordered;
double Phi_j2j3_deepwordered;
double PT_j1j2_Massordered;
double Eta_j1j2_Massordered;
double Phi_j1j2_Massordered;
double PT_j1j3_Massordered;
double Eta_j1j3_Massordered;
double Phi_j1j3_Massordered;
double PT_j2j3_Massordered;
double Eta_j2j3_Massordered;
double Phi_j2j3_Massordered;
double PT_j1j2;
double Eta_j1j2;
double Phi_j1j2;
double PT_j1j3;
double Eta_j1j3;
double Phi_j1j3;
double PT_j2j3;
double Eta_j2j3;
double Phi_j2j3;
double DR_jj12_j3;
double DR_jj13_j2;
double DR_jj23_j1;
double DPhi_jj12_j3;
double DPhi_jj13_j2;
double DPhi_jj23_j1;
double DR_jj12_j3_Massordered;
double DR_jj13_j2_Massordered;
double DR_jj23_j1_Massordered;
double DPhi_jj12_j3_Massordered;
double DPhi_jj13_j2_Massordered;
double DPhi_jj23_j1_Massordered;
double DR_jj12_j3_deepwordered;
double DR_jj13_j2_deepwordered;
double DR_jj23_j1_deepwordered;
double DPhi_jj12_j3_deepwordered;
double DPhi_jj13_j2_deepwordered;
double DPhi_jj23_j1_deepwordered;
// gKK raw scores
double jetAK8puppi_dnn_probTbcq;
double jetAK8puppi_dnn_probTbqq;
double jetAK8puppi_dnn_probTbc;
double jetAK8puppi_dnn_probTbq;
double jetAK8puppi_dnn_probWcq;
double jetAK8puppi_dnn_probWqq;
double jetAK8puppi_dnn_probZbb;
double jetAK8puppi_dnn_probZcc;
double jetAK8puppi_dnn_probZqq;
double jetAK8puppi_dnn_probHbb;
double jetAK8puppi_dnn_probHcc;
double jetAK8puppi_dnn_probHqqqq;
double jetAK8puppi_dnn_probQCDbb;
double jetAK8puppi_dnn_probQCDcc;
double jetAK8puppi_dnn_probQCDb;
double jetAK8puppi_dnn_probQCDc;
double jetAK8puppi_dnn_probQCDothers;
double jetAK8puppi_dnnDecorr_probTbcq;
double jetAK8puppi_dnnDecorr_probTbqq;
double jetAK8puppi_dnnDecorr_probTbc;
double jetAK8puppi_dnnDecorr_probTbq;
double jetAK8puppi_dnnDecorr_probWcq;
double jetAK8puppi_dnnDecorr_probWqq;
double jetAK8puppi_dnnDecorr_probZbb;
double jetAK8puppi_dnnDecorr_probZcc;
double jetAK8puppi_dnnDecorr_probZqq;
double jetAK8puppi_dnnDecorr_probHbb;
double jetAK8puppi_dnnDecorr_probHcc;
double jetAK8puppi_dnnDecorr_probHqqqq;
double jetAK8puppi_dnnDecorr_probQCDbb;
double jetAK8puppi_dnnDecorr_probQCDcc;
double jetAK8puppi_dnnDecorr_probQCDb;
double jetAK8puppi_dnnDecorr_probQCDc;
double jetAK8puppi_dnnDecorr_probQCDothers;
double jetAK8puppi_dnn_probTbcq_2;
double jetAK8puppi_dnn_probTbqq_2;
double jetAK8puppi_dnn_probTbc_2;
double jetAK8puppi_dnn_probTbq_2;
double jetAK8puppi_dnn_probWcq_2;
double jetAK8puppi_dnn_probWqq_2;
double jetAK8puppi_dnn_probZbb_2;
double jetAK8puppi_dnn_probZcc_2;
double jetAK8puppi_dnn_probZqq_2;
double jetAK8puppi_dnn_probHbb_2;
double jetAK8puppi_dnn_probHcc_2;
double jetAK8puppi_dnn_probHqqqq_2;
double jetAK8puppi_dnn_probQCDbb_2;
double jetAK8puppi_dnn_probQCDcc_2;
double jetAK8puppi_dnn_probQCDb_2;
double jetAK8puppi_dnn_probQCDc_2;
double jetAK8puppi_dnn_probQCDothers_2;
double jetAK8puppi_dnnDecorr_probTbcq_2;
double jetAK8puppi_dnnDecorr_probTbqq_2;
double jetAK8puppi_dnnDecorr_probTbc_2;
double jetAK8puppi_dnnDecorr_probTbq_2;
double jetAK8puppi_dnnDecorr_probWcq_2;
double jetAK8puppi_dnnDecorr_probWqq_2;
double jetAK8puppi_dnnDecorr_probZbb_2;
double jetAK8puppi_dnnDecorr_probZcc_2;
double jetAK8puppi_dnnDecorr_probZqq_2;
double jetAK8puppi_dnnDecorr_probHbb_2;
double jetAK8puppi_dnnDecorr_probHcc_2;
double jetAK8puppi_dnnDecorr_probHqqqq_2;
double jetAK8puppi_dnnDecorr_probQCDbb_2;
double jetAK8puppi_dnnDecorr_probQCDcc_2;
double jetAK8puppi_dnnDecorr_probQCDb_2;
double jetAK8puppi_dnnDecorr_probQCDc_2;
double jetAK8puppi_dnnDecorr_probQCDothers_2;
double jetAK8puppi_dnn_probTbcq_3;
double jetAK8puppi_dnn_probTbqq_3;
double jetAK8puppi_dnn_probTbc_3;
double jetAK8puppi_dnn_probTbq_3;
double jetAK8puppi_dnn_probWcq_3;
double jetAK8puppi_dnn_probWqq_3;
double jetAK8puppi_dnn_probZbb_3;
double jetAK8puppi_dnn_probZcc_3;
double jetAK8puppi_dnn_probZqq_3;
double jetAK8puppi_dnn_probHbb_3;
double jetAK8puppi_dnn_probHcc_3;
double jetAK8puppi_dnn_probHqqqq_3;
double jetAK8puppi_dnn_probQCDbb_3;
double jetAK8puppi_dnn_probQCDcc_3;
double jetAK8puppi_dnn_probQCDb_3;
double jetAK8puppi_dnn_probQCDc_3;
double jetAK8puppi_dnn_probQCDothers_3;
double jetAK8puppi_dnnDecorr_probTbcq_3;
double jetAK8puppi_dnnDecorr_probTbqq_3;
double jetAK8puppi_dnnDecorr_probTbc_3;
double jetAK8puppi_dnnDecorr_probTbq_3;
double jetAK8puppi_dnnDecorr_probWcq_3;
double jetAK8puppi_dnnDecorr_probWqq_3;
double jetAK8puppi_dnnDecorr_probZbb_3;
double jetAK8puppi_dnnDecorr_probZcc_3;
double jetAK8puppi_dnnDecorr_probZqq_3;
double jetAK8puppi_dnnDecorr_probHbb_3;
double jetAK8puppi_dnnDecorr_probHcc_3;
double jetAK8puppi_dnnDecorr_probHqqqq_3;
double jetAK8puppi_dnnDecorr_probQCDbb_3;
double jetAK8puppi_dnnDecorr_probQCDcc_3;
double jetAK8puppi_dnnDecorr_probQCDb_3;
double jetAK8puppi_dnnDecorr_probQCDc_3;
double jetAK8puppi_dnnDecorr_probQCDothers_3;
double jetAK8puppi_dnn_probTbcq_4;
double jetAK8puppi_dnn_probTbqq_4;
double jetAK8puppi_dnn_probTbc_4;
double jetAK8puppi_dnn_probTbq_4;
double jetAK8puppi_dnn_probWcq_4;
double jetAK8puppi_dnn_probWqq_4;
double jetAK8puppi_dnn_probZbb_4;
double jetAK8puppi_dnn_probZcc_4;
double jetAK8puppi_dnn_probZqq_4;
double jetAK8puppi_dnn_probHbb_4;
double jetAK8puppi_dnn_probHcc_4;
double jetAK8puppi_dnn_probHqqqq_4;
double jetAK8puppi_dnn_probQCDbb_4;
double jetAK8puppi_dnn_probQCDcc_4;
double jetAK8puppi_dnn_probQCDb_4;
double jetAK8puppi_dnn_probQCDc_4;
double jetAK8puppi_dnn_probQCDothers_4;
double jetAK8puppi_dnnDecorr_probTbcq_4;
double jetAK8puppi_dnnDecorr_probTbqq_4;
double jetAK8puppi_dnnDecorr_probTbc_4;
double jetAK8puppi_dnnDecorr_probTbq_4;
double jetAK8puppi_dnnDecorr_probWcq_4;
double jetAK8puppi_dnnDecorr_probWqq_4;
double jetAK8puppi_dnnDecorr_probZbb_4;
double jetAK8puppi_dnnDecorr_probZcc_4;
double jetAK8puppi_dnnDecorr_probZqq_4;
double jetAK8puppi_dnnDecorr_probHbb_4;
double jetAK8puppi_dnnDecorr_probHcc_4;
double jetAK8puppi_dnnDecorr_probHqqqq_4;
double jetAK8puppi_dnnDecorr_probQCDbb_4;
double jetAK8puppi_dnnDecorr_probQCDcc_4;
double jetAK8puppi_dnnDecorr_probQCDb_4;
double jetAK8puppi_dnnDecorr_probQCDc_4;
double jetAK8puppi_dnnDecorr_probQCDothers_4;
TLorentzVector AK41,AK42,AK43,AK44,AK45,AK46;
TLorentzVector AK81,AK82,AK83,AK84;
Int_t R4q_max, R3q_max, R2q_max, Rlqq_max, Rlq_max;
Int_t R4q_min, R3q_min, R2q_min, Rlqq_min, Rlq_min;
Int_t R4q_mid, R3q_mid, R2q_mid, Rlqq_mid, Rlq_mid;
Int_t z_max,t_max,t_max_tag,w_max,g_max,q_max,u_max,z_mid,t_mid,t_mid_tag,w_mid,g_mid,q_mid,u_mid,z_min,t_min,t_min_tag,w_min,g_min,q_min,u_min,z_4,t_4,t_4_tag,w_4,g_4,q_4,u_4;
Int_t t34_max_tag,t34_mid_tag,t34_min_tag,t34_4_tag;
Int_t ls;
Int_t run;
Int_t nLooseEle;
Int_t nLooseMu;
// Int_t njets;
Int_t nbtag;
Int_t nbtag_deep;
Int_t nbtag_deep_loose;
Int_t nbtag_deep_tight;
// gKK 21.9.7 adding inclusive b jets
Int_t num_bJet_in;
Int_t num_bJet_loose_in;
Int_t num_bJet_tight_in;
Int_t num_bJet_deep_in;
Int_t num_bJet_loose_deep_in;
Int_t num_bJet_tight_deep_in;
Int_t num_bJet;
Int_t num_bJet_deep;
Int_t num_bJet_loose;
Int_t num_bJet_tight;
Int_t num_bJet_loose_deep;
Int_t num_bJet_tight_deep;
// Float_t jet2_pt;
// Float_t jet2_btag;
// Float_t jet3_pt;
// Float_t jet3_btag;
Double_t weight_top_up;
Double_t weight_top_down;
Double_t weight_center_top_up;
Double_t weight_center_top_down;
double weight_deep_lumi_psupsfw_wMjLL,weight_deep_lumi_psupsft34_wMjHL,weight_deep_lumi_psupsfg_wMjLL,weight_deep_lumi_psupsft2_wMjLL;
double weight_deep_lumi_psupsfw_whMjLL,weight_deep_lumi_psupsft34_whMjHL,weight_deep_lumi_psupsfg_whMjLL,weight_deep_lumi_psupsft2_whMjLL,weight_deep_lumi_psupsfg_whMjHL,weight_deep_lumi_psupsft2_whMjHL;
double weight_deep_lumi_psupsfw_wMjLH,weight_deep_lumi_psupsft34_wMjHH,weight_deep_lumi_psupsfg_wMjLH,weight_deep_lumi_psupsft2_wMjLH;
double weight_deep_lumi_psupsfw_whMjLH,weight_deep_lumi_psupsft34_whMjHH,weight_deep_lumi_psupsfg_whMjLH,weight_deep_lumi_psupsft2_whMjLH,weight_deep_lumi_psupsfg_whMjHH,weight_deep_lumi_psupsft2_whMjHH;
double weight_deep_lumi_psdownsfw_wMjLL,weight_deep_lumi_psdownsft34_wMjHL,weight_deep_lumi_psdownsfg_wMjLL,weight_deep_lumi_psdownsft2_wMjLL;
double weight_deep_lumi_psdownsfw_whMjLL,weight_deep_lumi_psdownsft34_whMjHL,weight_deep_lumi_psdownsfg_whMjLL,weight_deep_lumi_psdownsft2_whMjLL,weight_deep_lumi_psdownsfg_whMjHL,weight_deep_lumi_psdownsft2_whMjHL;
double weight_deep_lumi_psdownsfw_wMjLH,weight_deep_lumi_psdownsft34_wMjHH,weight_deep_lumi_psdownsfg_wMjLH,weight_deep_lumi_psdownsft2_wMjLH;
double weight_deep_lumi_psdownsfw_whMjLH,weight_deep_lumi_psdownsft34_whMjHH,weight_deep_lumi_psdownsfg_whMjLH,weight_deep_lumi_psdownsft2_whMjLH,weight_deep_lumi_psdownsfg_whMjHH,weight_deep_lumi_psdownsft2_whMjHH;
Float_t pfMET;
Float_t pfMETPhi;
Float_t l_pt;
Float_t mtVlepnew;
Float_t MTVlep;
Float_t l_eta;
Float_t l_phi;
Float_t jet_pt;
Float_t PTj;
Float_t jet_eta;
Float_t jet_phi;
Float_t jet_mass_pruned;
Float_t Mj;
Float_t Mj_un;
Float_t Mj_corr;
// Float_t jet_mass_softdrop;
Float_t jet_tau2tau1;
Float_t tau21;
Float_t jet_tau1_puppi;
Float_t jet_tau2_puppi;
Float_t jet_tau3_puppi;
Float_t jet_tau4_puppi;
Float_t tau31;
Float_t tau41;
Float_t tau32;
Float_t tau43;
Float_t W_pt;
Float_t W_eta;
Float_t W_phi;
Float_t MJJJ;
Float_t MJJJ_JEC_up ;
Float_t MJJJ_JEC_down ;
Float_t MJJJ_JER_up ;
Float_t MJJJ_JER_down ;
// Float_t M_ww;
Float_t fjet2_pt;
Float_t fjet2_btag;
Float_t fjet3_pt;
Float_t fjet3_btag;
Double_t MJ_j_18;
Double_t MJJ_j_18;
Double_t MJ_j_10;
Double_t MJJ_j_10;
Double_t MJ_j_12;
Double_t MJJ_j_12;
Double_t MJ_j_14;
Double_t MJJ_j_14;
Double_t MJ_j_16;
Double_t MJJ_j_16;
//JEC
// Double_t corr_AK8;
Double_t jetAK8_pt;
Double_t jetAK8_mass;
Double_t jetAK8_jec;
// Double_t jetAK8_e;
// Double_t corr;
Double_t METraw_et;
Double_t METraw_phi;
Double_t METraw_sumEt;
Double_t MET_phi;
Double_t MET_sumEt;
Double_t MET_eta;
Double_t Mj_maxc;
Double_t Mj_minc;
Double_t MJJc;
Double_t Mj_max2;
Double_t Mj_mid2;
Double_t Mj_min2;
Double_t Mj_mostmin2;
Double_t PTj_max2;
Double_t PTj_mid2;
Double_t PTj_min2;
Double_t PTj_mostmin2;
Double_t tau21_max2;
Double_t tau21_mid2;
Double_t tau21_min2;
Double_t tau21_mostmin2;
Double_t tau41_max2;
Double_t tau41_mid2;
Double_t tau41_min2;
Double_t tau41_mostmin2;
Double_t tau42_max2;
Double_t tau42_mid2;
Double_t tau42_min2;
Double_t tau42_mostmin2;
Double_t jetAK8puppi_dnnTop, jetAK8puppi_dnnW,jetAK8puppi_dnnH4q,jetAK8puppi_dnnTop_2, jetAK8puppi_dnnW_2,jetAK8puppi_dnnH4q_2,jetAK8puppi_dnnTop_3, jetAK8puppi_dnnW_3,jetAK8puppi_dnnH4q_3, jetAK8puppi_dnnTop_4, jetAK8puppi_dnnW_4,jetAK8puppi_dnnH4q_4; //DeepAK8
Double_t jetAK8puppi_dnnZ,jetAK8puppi_dnnZbb,jetAK8puppi_dnnHbb,jetAK8puppi_dnnZ_2,jetAK8puppi_dnnZbb_2,jetAK8puppi_dnnHbb_2,jetAK8puppi_dnnZ_3,jetAK8puppi_dnnZbb_3,jetAK8puppi_dnnHbb_3,jetAK8puppi_dnnZ_4,jetAK8puppi_dnnZbb_4,jetAK8puppi_dnnHbb_4;
Double_t jetAK8puppi_dnnDecorrTop, jetAK8puppi_dnnDecorrW,jetAK8puppi_dnnDecorrH4q,jetAK8puppi_dnnDecorrTop_2, jetAK8puppi_dnnDecorrW_2, jetAK8puppi_dnnDecorrH4q_2,jetAK8puppi_dnnDecorrTop_3, jetAK8puppi_dnnDecorrW_3, jetAK8puppi_dnnDecorrH4q_3,jetAK8puppi_dnnDecorrTop_4, jetAK8puppi_dnnDecorrW_4,jetAK8puppi_dnnDecorrH4q_4; //Decorrelated DeepAK8
Double_t jetAK8puppi_dnnDecorrZ,jetAK8puppi_dnnDecorrZbb,jetAK8puppi_dnnDecorrHbb,jetAK8puppi_dnnDecorrZ_2,jetAK8puppi_dnnDecorrZbb_2,jetAK8puppi_dnnDecorrHbb_2,jetAK8puppi_dnnDecorrZ_3,jetAK8puppi_dnnDecorrZbb_3,jetAK8puppi_dnnDecorrHbb_3,jetAK8puppi_dnnDecorrZ_4,jetAK8puppi_dnnDecorrZbb_4,jetAK8puppi_dnnDecorrHbb_4;
Double_t jetAK8puppi_dnnDecorrbb,jetAK8puppi_dnnDecorrcc,jetAK8puppi_dnnDecorrbbnog,jetAK8puppi_dnnDecorrccnog,jetAK8puppi_dnnDecorrbb_2,jetAK8puppi_dnnDecorrcc_2,jetAK8puppi_dnnDecorrbbnog_2,jetAK8puppi_dnnDecorrccnog_2,jetAK8puppi_dnnDecorrbb_3,jetAK8puppi_dnnDecorrcc_3,jetAK8puppi_dnnDecorrbbnog_3,jetAK8puppi_dnnDecorrccnog_3,jetAK8puppi_dnnDecorrbb_4,jetAK8puppi_dnnDecorrcc_4,jetAK8puppi_dnnDecorrbbnog_4,jetAK8puppi_dnnDecorrccnog_4;
Double_t jetAK8puppi_dnnqcd,jetAK8puppi_dnntop,jetAK8puppi_dnnw,jetAK8puppi_dnnz,jetAK8puppi_dnnzbb,jetAK8puppi_dnnhbb,jetAK8puppi_dnnh4q,jetAK8puppi_dnnqcd_2,jetAK8puppi_dnntop_2,jetAK8puppi_dnnw_2,jetAK8puppi_dnnz_2,jetAK8puppi_dnnzbb_2,jetAK8puppi_dnnhbb_2,jetAK8puppi_dnnh4q_2,jetAK8puppi_dnnqcd_3,jetAK8puppi_dnntop_3,jetAK8puppi_dnnw_3,jetAK8puppi_dnnz_3,jetAK8puppi_dnnzbb_3,jetAK8puppi_dnnhbb_3,jetAK8puppi_dnnh4q_3,jetAK8puppi_dnnqcd_4,jetAK8puppi_dnntop_4,jetAK8puppi_dnnw_4,jetAK8puppi_dnnz_4,jetAK8puppi_dnnzbb_4,jetAK8puppi_dnnhbb_4,jetAK8puppi_dnnh4q_4;
Double_t jetAK8puppi_dnnDecorrqcd,jetAK8puppi_dnnDecorrtop,jetAK8puppi_dnnDecorrw,jetAK8puppi_dnnDecorrz,jetAK8puppi_dnnDecorrzbb,jetAK8puppi_dnnDecorrhbb,jetAK8puppi_dnnDecorrh4q,jetAK8puppi_dnnDecorrqcd_2,jetAK8puppi_dnnDecorrtop_2,jetAK8puppi_dnnDecorrw_2,jetAK8puppi_dnnDecorrz_2,jetAK8puppi_dnnDecorrzbb_2,jetAK8puppi_dnnDecorrhbb_2,jetAK8puppi_dnnDecorrh4q_2,jetAK8puppi_dnnDecorrqcd_3,jetAK8puppi_dnnDecorrtop_3,jetAK8puppi_dnnDecorrw_3,jetAK8puppi_dnnDecorrz_3,jetAK8puppi_dnnDecorrzbb_3,jetAK8puppi_dnnDecorrhbb_3,jetAK8puppi_dnnDecorrh4q_3,jetAK8puppi_dnnDecorrqcd_4,jetAK8puppi_dnnDecorrtop_4,jetAK8puppi_dnnDecorrw_4,jetAK8puppi_dnnDecorrz_4,jetAK8puppi_dnnDecorrzbb_4,jetAK8puppi_dnnDecorrhbb_4,jetAK8puppi_dnnDecorrh4q_4;
Double_t jetAK8puppi_dnnTop_max, jetAK8puppi_dnnW_max, jetAK8puppi_dnnH4q_max, jetAK8puppi_dnnTop_mid, jetAK8puppi_dnnW_mid, jetAK8puppi_dnnH4q_mid, jetAK8puppi_dnnTop_min, jetAK8puppi_dnnW_min, jetAK8puppi_dnnH4q_min, jetAK8puppi_dnnZ_max, jetAK8puppi_dnnZbb_max, jetAK8puppi_dnnHbb_max, jetAK8puppi_dnnZ_mid, jetAK8puppi_dnnZbb_mid, jetAK8puppi_dnnHbb_mid, jetAK8puppi_dnnZ_min, jetAK8puppi_dnnZbb_min, jetAK8puppi_dnnHbb_min, jetAK8puppi_dnnDecorrTop_max, jetAK8puppi_dnnDecorrW_max, jetAK8puppi_dnnDecorrH4q_max, jetAK8puppi_dnnDecorrTop_mid, jetAK8puppi_dnnDecorrW_mid, jetAK8puppi_dnnDecorrH4q_mid, jetAK8puppi_dnnDecorrTop_min, jetAK8puppi_dnnDecorrW_min, jetAK8puppi_dnnDecorrH4q_min, jetAK8puppi_dnnDecorrZ_max, jetAK8puppi_dnnDecorrZbb_max, jetAK8puppi_dnnDecorrHbb_max, jetAK8puppi_dnnDecorrZ_mid, jetAK8puppi_dnnDecorrZbb_mid, jetAK8puppi_dnnDecorrHbb_mid, jetAK8puppi_dnnDecorrZ_min, jetAK8puppi_dnnDecorrZbb_min, jetAK8puppi_dnnDecorrHbb_min, jetAK8puppi_dnnDecorrbb_max, jetAK8puppi_dnnDecorrcc_max, jetAK8puppi_dnnDecorrbbnog_max, jetAK8puppi_dnnDecorrccnog_max, jetAK8puppi_dnnDecorrbb_mid, jetAK8puppi_dnnDecorrcc_mid, jetAK8puppi_dnnDecorrbbnog_mid, jetAK8puppi_dnnDecorrccnog_mid, jetAK8puppi_dnnDecorrbb_min, jetAK8puppi_dnnDecorrcc_min, jetAK8puppi_dnnDecorrbbnog_min, jetAK8puppi_dnnDecorrccnog_min, jetAK8puppi_dnnqcd_max, jetAK8puppi_dnntop_max, jetAK8puppi_dnnw_max, jetAK8puppi_dnnz_max, jetAK8puppi_dnnzbb_max, jetAK8puppi_dnnhbb_max, jetAK8puppi_dnnh4q_max, jetAK8puppi_dnnqcd_mid, jetAK8puppi_dnntop_mid, jetAK8puppi_dnnw_mid, jetAK8puppi_dnnz_mid, jetAK8puppi_dnnzbb_mid, jetAK8puppi_dnnhbb_mid, jetAK8puppi_dnnh4q_mid, jetAK8puppi_dnnqcd_min, jetAK8puppi_dnntop_min, jetAK8puppi_dnnw_min, jetAK8puppi_dnnz_min, jetAK8puppi_dnnzbb_min, jetAK8puppi_dnnhbb_min, jetAK8puppi_dnnh4q_min, jetAK8puppi_dnnDecorrqcd_max, jetAK8puppi_dnnDecorrtop_max, jetAK8puppi_dnnDecorrw_max, jetAK8puppi_dnnDecorrz_max, jetAK8puppi_dnnDecorrzbb_max, jetAK8puppi_dnnDecorrhbb_max, jetAK8puppi_dnnDecorrh4q_max, jetAK8puppi_dnnDecorrqcd_mid, jetAK8puppi_dnnDecorrtop_mid, jetAK8puppi_dnnDecorrw_mid, jetAK8puppi_dnnDecorrz_mid, jetAK8puppi_dnnDecorrzbb_mid, jetAK8puppi_dnnDecorrhbb_mid, jetAK8puppi_dnnDecorrh4q_mid, jetAK8puppi_dnnDecorrqcd_min, jetAK8puppi_dnnDecorrtop_min, jetAK8puppi_dnnDecorrw_min, jetAK8puppi_dnnDecorrz_min, jetAK8puppi_dnnDecorrzbb_min, jetAK8puppi_dnnDecorrhbb_min, jetAK8puppi_dnnDecorrh4q_min;
Int_t CategoryID;
Int_t vTagID;//1: tau21<0.45; 0: tau21>0.45 <0.75; -1: tau21 >0.75
Double_t isMatch;
Double_t weight;
Double_t weight_center;
Double_t weight_bias_up;
Double_t weight_ps_up;
Double_t weight_deep;
Double_t weight_nobtag;
Double_t IDweight;
Double_t IDweightISO;
Double_t IDweighttrk;
Double_t ToppTweight;
Double_t trigger_eff;
Double_t btagweight_center;
Double_t btagweight_up;
Double_t btagweight_down;
Double_t btagweight_center_deep;
Double_t btagweight_up_deep;
Double_t btagweight_down_deep;
Long64_t event;
Int_t nVtx;
Int_t numCands;
Double_t ptVlep;
Double_t ptVhad;
Double_t yVlep;
Double_t yVhad;
Double_t yVhadJEC;
Double_t phiVlep;
Double_t phiVhad;
Double_t massVlep;
Double_t mtVlep;
Double_t massVhad;
// Double_t massVhad_gen;
Double_t tau1;
Double_t tau2;
Double_t tau3;
// Double_t tau21;
// Double_t sdrop;
Int_t lep;
Int_t channel;
Double_t candMass;
Double_t ptlep1;
Double_t ptlep2;
Double_t etalep1;
Double_t etalep2;
Double_t philep1;
Double_t philep2;
Double_t met;
Double_t metPhi;
Double_t theWeight;
Double_t nump;
Double_t numm;
Double_t npT;
Double_t npIT;
Int_t nBX;
Double_t triggerWeight;
Double_t lumiWeight;
Double_t pileupWeight;
Double_t delPhilepmet;
Double_t deltaRlepjet;
Double_t delPhijetmet;
Double_t delPhijetlep;
Int_t vbftag;
Bool_t IDLoose;
Bool_t IDTight;
//Bool_t isHighPt;
//Bool_t isHEEP;
Double_t trackIso;
Double_t muchaiso;
Double_t muneuiso;
Double_t muphoiso;
Double_t muPU;
Double_t muisolation;
//Double_t METraw_et;
//Double_t METraw_phi;
//Double_t METraw_sumEt;
//Double_t MET_et;
//Double_t MET_phi;
//Double_t MET_sumEt;
//Double_t jetAK8_pt;
//Double_t jetAK8_mass;
//Double_t jetAK8_jec;
Double_t pweight[254];
Double_t jetAK8_pt1[3];
Double_t jetAK8_eta1[3];
Double_t jetAK8_mass1[3];
Double_t jetAK8_SF_mass1[3];
Double_t jetAK8_SF_mass2[3];
Double_t jetAK8_jec1[3];
Double_t jetAK8_eta;
Double_t jetAK8_phi;
Double_t candMassJEC;
Double_t ptVlepJEC;
Double_t yVlepJEC;
Double_t phiVlepJEC;
Double_t massVlepJEC;
Double_t massVhadJEC;
Double_t jetAK8puppi_sdJEC;
Double_t jetAK8puppi_sd;
Double_t jetAK8puppi_tau21;
Double_t jetAK8puppi_tau1;
Double_t jetAK8puppi_tau2;
Double_t jetAK8puppi_tau3;
Double_t jetAK8puppi_tau4;
Double_t jetAK8puppi_ptJEC;
Double_t jetAK8puppi_eta;
Float_t Etaj;
Double_t jetAK8puppi_phi;
Float_t Phij;
Double_t jetAK8puppi_sdcorr;
Double_t candMasspuppiJEC;
Double_t candMasspuppiJEC_new;
Double_t candMasspuppiJEC_JEC_up;
Double_t candMasspuppiJEC_JEC_down;
Double_t candMasspuppiJEC_JER_up;
Double_t candMasspuppiJEC_JER_down;
Double_t jetAK8puppi_sdJEC_2;
Double_t jetAK8puppi_sd_2;
Double_t jetAK8puppi_tau21_2;
Double_t jetAK8puppi_tau42_2;
Double_t jetAK8puppi_tau1_2;
Double_t jetAK8puppi_tau2_2;
Double_t jetAK8puppi_tau3_2;
Double_t jetAK8puppi_tau4_2;
Double_t jetAK8puppi_tau42;
Double_t jetAK8puppi_ptJEC_2;
Double_t jetAK8puppi_eta_2;
Float_t Etaj_2;
Double_t jetAK8puppi_phi_2;
Float_t Phij_2;
Double_t jetAK8puppi_sdcorr_2;
//Double_t MassVV[3];
Double_t MJJ_midmin;
Double_t Mj_2;