From a9d4f508fb3ac0fd89f8f9ea289c123f5f0d02d5 Mon Sep 17 00:00:00 2001 From: pekraem Date: Mon, 11 Nov 2019 10:48:33 +0100 Subject: [PATCH 1/3] varSet for 2017 legacy --- variable_sets/legacy_2017_allVars.py | 1841 ++++++++++++++++++++++++++ 1 file changed, 1841 insertions(+) create mode 100644 variable_sets/legacy_2017_allVars.py diff --git a/variable_sets/legacy_2017_allVars.py b/variable_sets/legacy_2017_allVars.py new file mode 100644 index 00000000..b8cac791 --- /dev/null +++ b/variable_sets/legacy_2017_allVars.py @@ -0,0 +1,1841 @@ +variables = {} +variables["4j_ge3t"] = [ + 'Evt_CSV_avg', + 'Evt_CSV_avg_tagged', + 'Evt_CSV_dev', + 'Evt_CSV_dev_tagged', + 'Evt_CSV_min', + 'Evt_CSV_min_tagged', + 'Evt_Deta_JetsAverage', + 'Evt_Deta_TaggedJetsAverage', + 'Evt_Deta_maxDetaJetJet', + 'Evt_Deta_maxDetaJetTag', + 'Evt_Deta_maxDetaTagTag', + 'Evt_Dr_JetsAverage', + 'Evt_Dr_TaggedJetsAverage', + 'Evt_Dr_maxDrJets', + 'Evt_Dr_maxDrTaggedJets', + 'Evt_Dr_minDrJets', + 'Evt_Dr_minDrLepJet', + 'Evt_Dr_minDrLepTag', + 'Evt_Dr_minDrTaggedJets', + 'Evt_E_JetsAverage', + 'Evt_E_TaggedJetsAverage', + 'Evt_Eta_JetsAverage', + 'Evt_Eta_TaggedJetsAverage', + 'Evt_HT', + 'Evt_HT_jets', + 'Evt_HT_tags', + 'Evt_HT_wo_MET', + 'Evt_JetPt_over_JetE', + 'Evt_M2_JetsAverage', + 'Evt_M2_TaggedJetsAverage', + 'Evt_M2_closestTo125TaggedJets', + 'Evt_M2_closestTo91TaggedJets', + 'Evt_M2_minDrJets', + 'Evt_M2_minDrTaggedJets', + 'Evt_M3', + 'Evt_M3_oneTagged', + 'Evt_MET', + 'Evt_MET_Phi', + 'Evt_MET_Pt', + 'Evt_MHT', + 'Evt_MTW', + 'Evt_M_JetsAverage', + 'Evt_M_TaggedJetsAverage', + 'Evt_M_Total', + 'Evt_M_minDrLepJet', + 'Evt_M_minDrLepTag', + 'Evt_Pt_JetsAverage', + 'Evt_Pt_TaggedJetsAverage', + 'Evt_Pt_minDrJets', + 'Evt_Pt_minDrTaggedJets', + 'Evt_TaggedJetPt_over_TaggedJetE', + 'Evt_aplanarity', + 'Evt_aplanarity_jets', + 'Evt_aplanarity_tags', + 'Evt_blr', + 'Evt_blr_transformed', + 'Evt_h0', + 'Evt_h1', + 'Evt_h2', + 'Evt_h3', + 'Evt_sphericity', + 'Evt_sphericity_jets', + 'Evt_sphericity_tags', + 'Evt_transverse_sphericity', + 'Evt_transverse_sphericity_jets', + 'Evt_transverse_sphericity_tags', + #'RecoTTH_Chi2Higgs', + #'RecoTTH_Chi2TopHad', + #'RecoTTH_Chi2TopLep', + #'RecoTTH_Chi2Total', + #'RecoTTH_Chi2WHad', + #'RecoTTH_Deta_Higgs_Lep', + #'RecoTTH_Deta_Higgs_bHad', + #'RecoTTH_Deta_Higgs_bLep', + #'RecoTTH_Deta_Higgs_topHad', + #'RecoTTH_Deta_Higgs_topLep', + #'RecoTTH_Deta_Lep_bHad', + #'RecoTTH_Deta_Lep_topHad', + #'RecoTTH_Deta_bHad_wHad', + #'RecoTTH_Deta_bLep_bHad', + #'RecoTTH_Deta_bLep_topHad', + #'RecoTTH_Deta_bLep_wLep', + #'RecoTTH_Deta_topHad_wLep', + #'RecoTTH_Deta_topLep_bHad', + #'RecoTTH_Deta_topLep_topHad', + #'RecoTTH_Dphi_Higgs_Lep', + #'RecoTTH_Dphi_Higgs_bHad', + #'RecoTTH_Dphi_Higgs_bLep', + #'RecoTTH_Dphi_Higgs_topHad', + #'RecoTTH_Dphi_Higgs_topLep', + #'RecoTTH_Dphi_Lep_bHad', + #'RecoTTH_Dphi_Lep_topHad', + #'RecoTTH_Dphi_bHad_wHad', + #'RecoTTH_Dphi_bLep_bHad', + #'RecoTTH_Dphi_bLep_topHad', + #'RecoTTH_Dphi_bLep_wLep', + #'RecoTTH_Dphi_topHad_wLep', + #'RecoTTH_Dphi_topLep_bHad', + #'RecoTTH_Dphi_topLep_topHad', + #'RecoTTH_Higgs_BJet1_E', + #'RecoTTH_Higgs_BJet1_Eta', + #'RecoTTH_Higgs_BJet1_Phi', + #'RecoTTH_Higgs_BJet1_Pt', + #'RecoTTH_Higgs_BJet2_E', + #'RecoTTH_Higgs_BJet2_Eta', + #'RecoTTH_Higgs_BJet2_Phi', + #'RecoTTH_Higgs_BJet2_Pt', + #'RecoTTH_Higgs_E', + #'RecoTTH_Higgs_Eta', + #'RecoTTH_Higgs_M', + #'RecoTTH_Higgs_Phi', + #'RecoTTH_Higgs_Pt', + #'RecoTTH_TopHad_BJet_E', + #'RecoTTH_TopHad_BJet_Eta', + #'RecoTTH_TopHad_BJet_Phi', + #'RecoTTH_TopHad_BJet_Pt', + #'RecoTTH_TopHad_E', + #'RecoTTH_TopHad_Eta', + #'RecoTTH_TopHad_M', + #'RecoTTH_TopHad_Phi', + #'RecoTTH_TopHad_Pt', + #'RecoTTH_TopHad_W_E', + #'RecoTTH_TopHad_W_Eta', + #'RecoTTH_TopHad_W_Phi', + #'RecoTTH_TopHad_W_Pt', + #'RecoTTH_TopLep_BJet_E', + #'RecoTTH_TopLep_BJet_Eta', + #'RecoTTH_TopLep_BJet_Phi', + #'RecoTTH_TopLep_BJet_Pt', + #'RecoTTH_TopLep_E', + #'RecoTTH_TopLep_Eta', + #'RecoTTH_TopLep_M', + #'RecoTTH_TopLep_Phi', + #'RecoTTH_TopLep_Pt', + #'RecoTTH_TopLep_W_E', + #'RecoTTH_TopLep_W_Eta', + #'RecoTTH_TopLep_W_Phi', + #'RecoTTH_TopLep_W_Pt', + #'RecoTTH_cosdTheta_Higgs_Lep', + #'RecoTTH_cosdTheta_Higgs_bHad', + #'RecoTTH_cosdTheta_Higgs_bLep', + #'RecoTTH_cosdTheta_Higgs_topHad', + #'RecoTTH_cosdTheta_Higgs_topLep', + #'RecoTTH_cosdTheta_Lep_bHad', + #'RecoTTH_cosdTheta_Lep_topHad', + #'RecoTTH_cosdTheta_bHad_wHad', + #'RecoTTH_cosdTheta_bLep_bHad', + #'RecoTTH_cosdTheta_bLep_topHad', + #'RecoTTH_cosdTheta_bLep_wLep', + #'RecoTTH_cosdTheta_topHad_wLep', + #'RecoTTH_cosdTheta_topLep_bHad', + #'RecoTTH_cosdTheta_topLep_topHad', + 'Reco_JABDT_tHW_Jet_CSV_btop', + 'Reco_JABDT_tHW_Jet_CSV_hdau1', + 'Reco_JABDT_tHW_Jet_CSV_hdau2', + 'Reco_JABDT_tHW_Jet_CSV_whaddau1', + 'Reco_JABDT_tHW_Jet_CSV_whaddau2', + 'Reco_JABDT_tHW_abs_btop_eta', + 'Reco_JABDT_tHW_abs_top_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__wb_eta', + 'Reco_JABDT_tHW_abs_wb_eta', + 'Reco_JABDT_tHW_abs_wlep_eta__M__whad_eta', + 'Reco_JABDT_tHW_costheta_btop_lep', + 'Reco_JABDT_tHW_log_h_m', + 'Reco_JABDT_tHW_log_h_pt', + 'Reco_JABDT_tHW_log_top_m', + 'Reco_JABDT_tHW_log_top_pt', + 'Reco_JABDT_tHW_log_wb_m', + 'Reco_JABDT_tHW_log_wb_pt', + 'Reco_JABDT_tHW_log_whad_m', + 'Reco_JABDT_tHW_log_whad_pt', + 'Reco_JABDT_tHW_top_pt__P__h_pt__P__wb_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_tHW_wlep_pt__M__whad_pt', + 'Reco_JABDT_tHq_Jet_CSV_btop', + 'Reco_JABDT_tHq_Jet_CSV_hdau1', + 'Reco_JABDT_tHq_Jet_CSV_hdau2', + 'Reco_JABDT_tHq_Jet_CSV_ljet', + 'Reco_JABDT_tHq_abs_btop_eta', + 'Reco_JABDT_tHq_abs_h_eta', + 'Reco_JABDT_tHq_abs_ljet_eta', + 'Reco_JABDT_tHq_abs_ljet_eta__M__btop_eta', + 'Reco_JABDT_tHq_abs_top_eta', + 'Reco_JABDT_tHq_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHq_costheta_btop_lep', + 'Reco_JABDT_tHq_ljet_e__M__btop_e', + 'Reco_JABDT_tHq_log_h_m', + 'Reco_JABDT_tHq_log_h_pt', + 'Reco_JABDT_tHq_log_ljet_pt', + 'Reco_JABDT_tHq_log_min_hdau1_pt_hdau2_pt', + 'Reco_JABDT_tHq_log_top_m', + 'Reco_JABDT_tHq_log_top_pt', + 'Reco_JABDT_tHq_top_pt__P__h_pt__P__ljet_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttH_Jet_CSV_btophad', + 'Reco_JABDT_ttH_Jet_CSV_btoplep', + 'Reco_JABDT_ttH_Jet_CSV_hdau1', + 'Reco_JABDT_ttH_Jet_CSV_hdau2', + 'Reco_JABDT_ttH_Jet_CSV_whaddau1', + 'Reco_JABDT_ttH_Jet_CSV_whaddau2', + 'Reco_JABDT_ttH_log_h_m', + 'Reco_JABDT_ttH_log_h_pt', + 'Reco_JABDT_ttH_log_tophad_m', + 'Reco_JABDT_ttH_log_tophad_m__M__whad_m', + 'Reco_JABDT_ttH_log_tophad_pt', + 'Reco_JABDT_ttH_log_toplep_m', + 'Reco_JABDT_ttH_log_toplep_pt', + 'Reco_JABDT_ttH_log_whad_m', + 'Reco_JABDT_ttH_tophad_pt__P__toplep_pt__P__h_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttbar_Jet_CSV_btophad', + 'Reco_JABDT_ttbar_Jet_CSV_btoplep', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau1', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau2', + 'Reco_JABDT_ttbar_costheta_toplep_tophad', + 'Reco_JABDT_ttbar_log_tophad_m', + 'Reco_JABDT_ttbar_log_tophad_pt', + 'Reco_JABDT_ttbar_log_toplep_m', + 'Reco_JABDT_ttbar_log_toplep_pt', + 'Reco_JABDT_ttbar_log_whad_m', + 'Reco_JABDT_ttbar_tophad_pt__P__toplep_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_LeptonicW_Eta', + 'Reco_LeptonicW_M', + 'Reco_LeptonicW_Phi', + 'Reco_LeptonicW_Pt', + 'Reco_WLep_E', + 'Reco_WLep_Eta', + 'Reco_WLep_Mass', + 'Reco_WLep_Phi', + 'Reco_WLep_Pt', + 'Reco_best_higgs_mass', + 'Reco_dEta_fn', + 'Reco_tHW_bestJABDToutput', + 'Reco_tHW_btop_eta', + 'Reco_tHW_btop_idx', + 'Reco_tHW_btop_lepw_dr', + 'Reco_tHW_btop_m', + 'Reco_tHW_btop_phi', + 'Reco_tHW_btop_pt', + 'Reco_tHW_h_dr', + 'Reco_tHW_h_eta', + 'Reco_tHW_h_m', + 'Reco_tHW_h_phi', + 'Reco_tHW_h_pt', + 'Reco_tHW_hdau_eta1', + 'Reco_tHW_hdau_eta2', + 'Reco_tHW_hdau_idx1', + 'Reco_tHW_hdau_idx2', + 'Reco_tHW_hdau_m1', + 'Reco_tHW_hdau_m2', + 'Reco_tHW_hdau_phi1', + 'Reco_tHW_hdau_phi2', + 'Reco_tHW_hdau_pt1', + 'Reco_tHW_hdau_pt2', + 'Reco_tHW_leptonictop', + 'Reco_tHW_top_eta', + 'Reco_tHW_top_h_dr', + 'Reco_tHW_top_m', + 'Reco_tHW_top_phi', + 'Reco_tHW_top_pt', + 'Reco_tHW_wb_eta', + 'Reco_tHW_wb_h_dr', + 'Reco_tHW_wb_m', + 'Reco_tHW_wb_phi', + 'Reco_tHW_wb_pt', + 'Reco_tHW_whad_dr', + 'Reco_tHW_whad_eta', + 'Reco_tHW_whad_m', + 'Reco_tHW_whad_phi', + 'Reco_tHW_whad_pt', + 'Reco_tHW_whaddau_eta1', + 'Reco_tHW_whaddau_eta2', + 'Reco_tHW_whaddau_idx1', + 'Reco_tHW_whaddau_idx2', + 'Reco_tHW_whaddau_m1', + 'Reco_tHW_whaddau_m2', + 'Reco_tHW_whaddau_phi1', + 'Reco_tHW_whaddau_phi2', + 'Reco_tHW_whaddau_pt1', + 'Reco_tHW_whaddau_pt2', + 'Reco_tHW_wtop_eta', + 'Reco_tHW_wtop_h_dr', + 'Reco_tHW_wtop_m', + 'Reco_tHW_wtop_phi', + 'Reco_tHW_wtop_pt', + 'Reco_tHq_bestJABDToutput', + 'Reco_tHq_btop_eta', + 'Reco_tHq_btop_idx', + 'Reco_tHq_btop_lep_dr', + 'Reco_tHq_btop_m', + 'Reco_tHq_btop_phi', + 'Reco_tHq_btop_pt', + 'Reco_tHq_btop_w_dr', + 'Reco_tHq_costhetastar', + 'Reco_tHq_h_dr', + 'Reco_tHq_h_eta', + 'Reco_tHq_h_m', + 'Reco_tHq_h_phi', + 'Reco_tHq_h_pt', + 'Reco_tHq_hdau_eta1', + 'Reco_tHq_hdau_eta2', + 'Reco_tHq_hdau_idx1', + 'Reco_tHq_hdau_idx2', + 'Reco_tHq_hdau_m1', + 'Reco_tHq_hdau_m2', + 'Reco_tHq_hdau_phi1', + 'Reco_tHq_hdau_phi2', + 'Reco_tHq_hdau_pt1', + 'Reco_tHq_hdau_pt2', + 'Reco_tHq_ljet_eta', + 'Reco_tHq_ljet_idx', + 'Reco_tHq_ljet_m', + 'Reco_tHq_ljet_phi', + 'Reco_tHq_ljet_pt', + 'Reco_tHq_top_eta', + 'Reco_tHq_top_h_dr', + 'Reco_tHq_top_m', + 'Reco_tHq_top_phi', + 'Reco_tHq_top_pt', + 'Reco_ttH_bestJABDToutput', + 'Reco_ttH_btophad_eta', + 'Reco_ttH_btophad_idx', + 'Reco_ttH_btophad_m', + 'Reco_ttH_btophad_phi', + 'Reco_ttH_btophad_pt', + 'Reco_ttH_btoplep_eta', + 'Reco_ttH_btoplep_idx', + 'Reco_ttH_btoplep_m', + 'Reco_ttH_btoplep_phi', + 'Reco_ttH_btoplep_pt', + 'Reco_ttH_btoplep_w_dr', + 'Reco_ttH_h_dr', + 'Reco_ttH_h_eta', + 'Reco_ttH_h_m', + 'Reco_ttH_h_phi', + 'Reco_ttH_h_pt', + 'Reco_ttH_hdau_eta1', + 'Reco_ttH_hdau_eta2', + 'Reco_ttH_hdau_idx1', + 'Reco_ttH_hdau_idx2', + 'Reco_ttH_hdau_m1', + 'Reco_ttH_hdau_m2', + 'Reco_ttH_hdau_phi1', + 'Reco_ttH_hdau_phi2', + 'Reco_ttH_hdau_pt1', + 'Reco_ttH_hdau_pt2', + 'Reco_ttH_tophad_dr', + 'Reco_ttH_tophad_eta', + 'Reco_ttH_tophad_m', + 'Reco_ttH_tophad_phi', + 'Reco_ttH_tophad_pt', + 'Reco_ttH_toplep_eta', + 'Reco_ttH_toplep_m', + 'Reco_ttH_toplep_phi', + 'Reco_ttH_toplep_pt', + 'Reco_ttH_whad_dr', + 'Reco_ttH_whad_eta', + 'Reco_ttH_whad_m', + 'Reco_ttH_whad_phi', + 'Reco_ttH_whad_pt', + 'Reco_ttH_whaddau_eta1', + 'Reco_ttH_whaddau_eta2', + 'Reco_ttH_whaddau_idx1', + 'Reco_ttH_whaddau_idx2', + 'Reco_ttH_whaddau_m1', + 'Reco_ttH_whaddau_m2', + 'Reco_ttH_whaddau_phi1', + 'Reco_ttH_whaddau_phi2', + 'Reco_ttH_whaddau_pt1', + 'Reco_ttH_whaddau_pt2', + 'Reco_ttbar_bestJABDToutput', + 'Reco_ttbar_btophad_eta', + 'Reco_ttbar_btophad_idx', + 'Reco_ttbar_btophad_m', + 'Reco_ttbar_btophad_phi', + 'Reco_ttbar_btophad_pt', + 'Reco_ttbar_btophad_w_dr', + 'Reco_ttbar_btoplep_eta', + 'Reco_ttbar_btoplep_idx', + 'Reco_ttbar_btoplep_m', + 'Reco_ttbar_btoplep_phi', + 'Reco_ttbar_btoplep_pt', + 'Reco_ttbar_btoplep_w_dr', + 'Reco_ttbar_tophad_eta', + 'Reco_ttbar_tophad_m', + 'Reco_ttbar_tophad_phi', + 'Reco_ttbar_tophad_pt', + 'Reco_ttbar_toplep_eta', + 'Reco_ttbar_toplep_m', + 'Reco_ttbar_toplep_phi', + 'Reco_ttbar_toplep_pt', + 'Reco_ttbar_whad_dr', + 'Reco_ttbar_whad_eta', + 'Reco_ttbar_whad_m', + 'Reco_ttbar_whad_phi', + 'Reco_ttbar_whad_pt', + 'Reco_ttbar_whaddau_eta1', + 'Reco_ttbar_whaddau_eta2', + 'Reco_ttbar_whaddau_idx1', + 'Reco_ttbar_whaddau_idx2', + 'Reco_ttbar_whaddau_m1', + 'Reco_ttbar_whaddau_m2', + 'Reco_ttbar_whaddau_phi1', + 'Reco_ttbar_whaddau_phi2', + 'Reco_ttbar_whaddau_pt1', + 'Reco_ttbar_whaddau_pt2', + 'N_BTagsL', + 'N_BTagsM', + 'N_BTagsT', + 'N_ForwardJets', + 'N_HEM_Jets', + 'N_Jets', + 'N_LooseJets', + 'N_LooseLeptons', + 'N_MisTagsM', + 'N_PrimaryVertices', + 'N_TightLeptons', + 'CSV[0]', + 'CSV[1]', + 'CSV[2]', + 'CSV[3]', + 'ForwardJet_E[0]', + 'ForwardJet_E[1]', + 'ForwardJet_E[2]', + 'ForwardJet_E[3]', + 'ForwardJet_Eta[0]', + 'ForwardJet_Eta[1]', + 'ForwardJet_Eta[2]', + 'ForwardJet_Eta[3]', + 'ForwardJet_M[0]', + 'ForwardJet_M[1]', + 'ForwardJet_M[2]', + 'ForwardJet_M[3]', + 'ForwardJet_Phi[0]', + 'ForwardJet_Phi[1]', + 'ForwardJet_Phi[2]', + 'ForwardJet_Phi[3]', + 'ForwardJet_Pt[0]', + 'ForwardJet_Pt[1]', + 'ForwardJet_Pt[2]', + 'ForwardJet_Pt[3]', + 'Jet_CSV[0]', + 'Jet_CSV[1]', + 'Jet_CSV[2]', + 'Jet_CSV[3]', + 'Jet_Charge[0]', + 'Jet_Charge[1]', + 'Jet_Charge[2]', + 'Jet_Charge[3]', + 'Jet_DeepJetCSV[0]', + 'Jet_DeepJetCSV[1]', + 'Jet_DeepJetCSV[2]', + 'Jet_DeepJetCSV[3]', + 'Jet_DeepJet_b[0]', + 'Jet_DeepJet_b[1]', + 'Jet_DeepJet_b[2]', + 'Jet_DeepJet_b[3]', + 'Jet_DeepJet_bb[0]', + 'Jet_DeepJet_bb[1]', + 'Jet_DeepJet_bb[2]', + 'Jet_DeepJet_bb[3]', + 'Jet_DeepJet_c[0]', + 'Jet_DeepJet_c[1]', + 'Jet_DeepJet_c[2]', + 'Jet_DeepJet_c[3]', + 'Jet_DeepJet_g[0]', + 'Jet_DeepJet_g[1]', + 'Jet_DeepJet_g[2]', + 'Jet_DeepJet_g[3]', + 'Jet_DeepJet_lepb[0]', + 'Jet_DeepJet_lepb[1]', + 'Jet_DeepJet_lepb[2]', + 'Jet_DeepJet_lepb[3]', + 'Jet_DeepJet_uds[0]', + 'Jet_DeepJet_uds[1]', + 'Jet_DeepJet_uds[2]', + 'Jet_DeepJet_uds[3]', + 'Jet_E[0]', + 'Jet_E[1]', + 'Jet_E[2]', + 'Jet_E[3]', + 'Jet_Eta[0]', + 'Jet_Eta[1]', + 'Jet_Eta[2]', + 'Jet_Eta[3]', + 'Jet_M[0]', + 'Jet_M[1]', + 'Jet_M[2]', + 'Jet_M[3]', + 'Jet_Phi[0]', + 'Jet_Phi[1]', + 'Jet_Phi[2]', + 'Jet_Phi[3]', + 'Jet_Pt[0]', + 'Jet_Pt[1]', + 'Jet_Pt[2]', + 'Jet_Pt[3]', + 'LooseJet_CSV[0]', + 'LooseJet_CSV[1]', + 'LooseJet_CSV[2]', + 'LooseJet_CSV[3]', + 'LooseJet_Charge[0]', + 'LooseJet_Charge[1]', + 'LooseJet_Charge[2]', + 'LooseJet_Charge[3]', + 'LooseJet_DeepJetCSV[0]', + 'LooseJet_DeepJetCSV[1]', + 'LooseJet_DeepJetCSV[2]', + 'LooseJet_DeepJetCSV[3]', + 'LooseJet_DeepJet_b[0]', + 'LooseJet_DeepJet_b[1]', + 'LooseJet_DeepJet_b[2]', + 'LooseJet_DeepJet_b[3]', + 'LooseJet_DeepJet_bb[0]', + 'LooseJet_DeepJet_bb[1]', + 'LooseJet_DeepJet_bb[2]', + 'LooseJet_DeepJet_bb[3]', + 'LooseJet_DeepJet_c[0]', + 'LooseJet_DeepJet_c[1]', + 'LooseJet_DeepJet_c[2]', + 'LooseJet_DeepJet_c[3]', + 'LooseJet_DeepJet_g[0]', + 'LooseJet_DeepJet_g[1]', + 'LooseJet_DeepJet_g[2]', + 'LooseJet_DeepJet_g[3]', + 'LooseJet_DeepJet_lepb[0]', + 'LooseJet_DeepJet_lepb[1]', + 'LooseJet_DeepJet_lepb[2]', + 'LooseJet_DeepJet_lepb[3]', + 'LooseJet_DeepJet_uds[0]', + 'LooseJet_DeepJet_uds[1]', + 'LooseJet_DeepJet_uds[2]', + 'LooseJet_DeepJet_uds[3]', + 'LooseJet_E[0]', + 'LooseJet_E[1]', + 'LooseJet_E[2]', + 'LooseJet_E[3]', + 'LooseJet_Eta[0]', + 'LooseJet_Eta[1]', + 'LooseJet_Eta[2]', + 'LooseJet_Eta[3]', + 'LooseJet_M[0]', + 'LooseJet_M[1]', + 'LooseJet_M[2]', + 'LooseJet_M[3]', + 'LooseJet_Phi[0]', + 'LooseJet_Phi[1]', + 'LooseJet_Phi[2]', + 'LooseJet_Phi[3]', + 'LooseJet_Pt[0]', + 'LooseJet_Pt[1]', + 'LooseJet_Pt[2]', + 'LooseJet_Pt[3]', + 'LooseLepton_E[0]', + 'LooseLepton_Eta[0]', + 'LooseLepton_M[0]', + 'LooseLepton_Phi[0]', + 'LooseLepton_Pt[0]', + 'TaggedJet_CSV[0]', + 'TaggedJet_CSV[1]', + 'TaggedJet_CSV[2]', + 'TaggedJet_CSV[3]', + 'TaggedJet_DeepJetCSV[0]', + 'TaggedJet_DeepJetCSV[1]', + 'TaggedJet_DeepJetCSV[2]', + 'TaggedJet_DeepJetCSV[3]', + 'TaggedJet_DeepJet_b[0]', + 'TaggedJet_DeepJet_b[1]', + 'TaggedJet_DeepJet_b[2]', + 'TaggedJet_DeepJet_b[3]', + 'TaggedJet_DeepJet_bb[0]', + 'TaggedJet_DeepJet_bb[1]', + 'TaggedJet_DeepJet_bb[2]', + 'TaggedJet_DeepJet_bb[3]', + 'TaggedJet_DeepJet_c[0]', + 'TaggedJet_DeepJet_c[1]', + 'TaggedJet_DeepJet_c[2]', + 'TaggedJet_DeepJet_c[3]', + 'TaggedJet_DeepJet_g[0]', + 'TaggedJet_DeepJet_g[1]', + 'TaggedJet_DeepJet_g[2]', + 'TaggedJet_DeepJet_g[3]', + 'TaggedJet_DeepJet_lepb[0]', + 'TaggedJet_DeepJet_lepb[1]', + 'TaggedJet_DeepJet_lepb[2]', + 'TaggedJet_DeepJet_lepb[3]', + 'TaggedJet_DeepJet_uds[0]', + 'TaggedJet_DeepJet_uds[1]', + 'TaggedJet_DeepJet_uds[2]', + 'TaggedJet_DeepJet_uds[3]', + 'TaggedJet_E[0]', + 'TaggedJet_E[1]', + 'TaggedJet_E[2]', + 'TaggedJet_E[3]', + 'TaggedJet_Eta[0]', + 'TaggedJet_Eta[1]', + 'TaggedJet_Eta[2]', + 'TaggedJet_Eta[3]', + 'TaggedJet_M[0]', + 'TaggedJet_M[1]', + 'TaggedJet_M[2]', + 'TaggedJet_M[3]', + 'TaggedJet_Phi[0]', + 'TaggedJet_Phi[1]', + 'TaggedJet_Phi[2]', + 'TaggedJet_Phi[3]', + 'TaggedJet_Pt[0]', + 'TaggedJet_Pt[1]', + 'TaggedJet_Pt[2]', + 'TaggedJet_Pt[3]', + ] + +variables["5j_ge3t"] = [ + 'Evt_CSV_avg', + 'Evt_CSV_avg_tagged', + 'Evt_CSV_dev', + 'Evt_CSV_dev_tagged', + 'Evt_CSV_min', + 'Evt_CSV_min_tagged', + 'Evt_Deta_JetsAverage', + 'Evt_Deta_TaggedJetsAverage', + 'Evt_Deta_maxDetaJetJet', + 'Evt_Deta_maxDetaJetTag', + 'Evt_Deta_maxDetaTagTag', + 'Evt_Dr_JetsAverage', + 'Evt_Dr_TaggedJetsAverage', + 'Evt_Dr_maxDrJets', + 'Evt_Dr_maxDrTaggedJets', + 'Evt_Dr_minDrJets', + 'Evt_Dr_minDrLepJet', + 'Evt_Dr_minDrLepTag', + 'Evt_Dr_minDrTaggedJets', + 'Evt_E_JetsAverage', + 'Evt_E_TaggedJetsAverage', + 'Evt_Eta_JetsAverage', + 'Evt_Eta_TaggedJetsAverage', + 'Evt_HT', + 'Evt_HT_jets', + 'Evt_HT_tags', + 'Evt_HT_wo_MET', + 'Evt_JetPt_over_JetE', + 'Evt_M2_JetsAverage', + 'Evt_M2_TaggedJetsAverage', + 'Evt_M2_closestTo125TaggedJets', + 'Evt_M2_closestTo91TaggedJets', + 'Evt_M2_minDrJets', + 'Evt_M2_minDrTaggedJets', + 'Evt_M3', + 'Evt_M3_oneTagged', + 'Evt_MET', + 'Evt_MET_Phi', + 'Evt_MET_Pt', + 'Evt_MHT', + 'Evt_MTW', + 'Evt_M_JetsAverage', + 'Evt_M_TaggedJetsAverage', + 'Evt_M_Total', + 'Evt_M_minDrLepJet', + 'Evt_M_minDrLepTag', + 'Evt_Pt_JetsAverage', + 'Evt_Pt_TaggedJetsAverage', + 'Evt_Pt_minDrJets', + 'Evt_Pt_minDrTaggedJets', + 'Evt_TaggedJetPt_over_TaggedJetE', + 'Evt_aplanarity', + 'Evt_aplanarity_jets', + 'Evt_aplanarity_tags', + 'Evt_blr', + 'Evt_blr_transformed', + 'Evt_h0', + 'Evt_h1', + 'Evt_h2', + 'Evt_h3', + 'Evt_sphericity', + 'Evt_sphericity_jets', + 'Evt_sphericity_tags', + 'Evt_transverse_sphericity', + 'Evt_transverse_sphericity_jets', + 'Evt_transverse_sphericity_tags', + #'RecoTTH_Chi2Higgs', + #'RecoTTH_Chi2TopHad', + #'RecoTTH_Chi2TopLep', + #'RecoTTH_Chi2Total', + #'RecoTTH_Chi2WHad', + #'RecoTTH_Deta_Higgs_Lep', + #'RecoTTH_Deta_Higgs_bHad', + #'RecoTTH_Deta_Higgs_bLep', + #'RecoTTH_Deta_Higgs_topHad', + #'RecoTTH_Deta_Higgs_topLep', + #'RecoTTH_Deta_Lep_bHad', + #'RecoTTH_Deta_Lep_topHad', + #'RecoTTH_Deta_bHad_wHad', + #'RecoTTH_Deta_bLep_bHad', + #'RecoTTH_Deta_bLep_topHad', + #'RecoTTH_Deta_bLep_wLep', + #'RecoTTH_Deta_topHad_wLep', + #'RecoTTH_Deta_topLep_bHad', + #'RecoTTH_Deta_topLep_topHad', + #'RecoTTH_Dphi_Higgs_Lep', + #'RecoTTH_Dphi_Higgs_bHad', + #'RecoTTH_Dphi_Higgs_bLep', + #'RecoTTH_Dphi_Higgs_topHad', + #'RecoTTH_Dphi_Higgs_topLep', + #'RecoTTH_Dphi_Lep_bHad', + #'RecoTTH_Dphi_Lep_topHad', + #'RecoTTH_Dphi_bHad_wHad', + #'RecoTTH_Dphi_bLep_bHad', + #'RecoTTH_Dphi_bLep_topHad', + #'RecoTTH_Dphi_bLep_wLep', + #'RecoTTH_Dphi_topHad_wLep', + #'RecoTTH_Dphi_topLep_bHad', + #'RecoTTH_Dphi_topLep_topHad', + #'RecoTTH_Higgs_BJet1_E', + #'RecoTTH_Higgs_BJet1_Eta', + #'RecoTTH_Higgs_BJet1_Phi', + #'RecoTTH_Higgs_BJet1_Pt', + #'RecoTTH_Higgs_BJet2_E', + #'RecoTTH_Higgs_BJet2_Eta', + #'RecoTTH_Higgs_BJet2_Phi', + #'RecoTTH_Higgs_BJet2_Pt', + #'RecoTTH_Higgs_E', + #'RecoTTH_Higgs_Eta', + #'RecoTTH_Higgs_M', + #'RecoTTH_Higgs_Phi', + #'RecoTTH_Higgs_Pt', + #'RecoTTH_TopHad_BJet_E', + #'RecoTTH_TopHad_BJet_Eta', + #'RecoTTH_TopHad_BJet_Phi', + #'RecoTTH_TopHad_BJet_Pt', + #'RecoTTH_TopHad_E', + #'RecoTTH_TopHad_Eta', + #'RecoTTH_TopHad_M', + #'RecoTTH_TopHad_Phi', + #'RecoTTH_TopHad_Pt', + #'RecoTTH_TopHad_W_E', + #'RecoTTH_TopHad_W_Eta', + #'RecoTTH_TopHad_W_Phi', + #'RecoTTH_TopHad_W_Pt', + #'RecoTTH_TopLep_BJet_E', + #'RecoTTH_TopLep_BJet_Eta', + #'RecoTTH_TopLep_BJet_Phi', + #'RecoTTH_TopLep_BJet_Pt', + #'RecoTTH_TopLep_E', + #'RecoTTH_TopLep_Eta', + #'RecoTTH_TopLep_M', + #'RecoTTH_TopLep_Phi', + #'RecoTTH_TopLep_Pt', + #'RecoTTH_TopLep_W_E', + #'RecoTTH_TopLep_W_Eta', + #'RecoTTH_TopLep_W_Phi', + #'RecoTTH_TopLep_W_Pt', + #'RecoTTH_cosdTheta_Higgs_Lep', + #'RecoTTH_cosdTheta_Higgs_bHad', + #'RecoTTH_cosdTheta_Higgs_bLep', + #'RecoTTH_cosdTheta_Higgs_topHad', + #'RecoTTH_cosdTheta_Higgs_topLep', + #'RecoTTH_cosdTheta_Lep_bHad', + #'RecoTTH_cosdTheta_Lep_topHad', + #'RecoTTH_cosdTheta_bHad_wHad', + #'RecoTTH_cosdTheta_bLep_bHad', + #'RecoTTH_cosdTheta_bLep_topHad', + #'RecoTTH_cosdTheta_bLep_wLep', + #'RecoTTH_cosdTheta_topHad_wLep', + #'RecoTTH_cosdTheta_topLep_bHad', + #'RecoTTH_cosdTheta_topLep_topHad', + 'Reco_JABDT_tHW_Jet_CSV_btop', + 'Reco_JABDT_tHW_Jet_CSV_hdau1', + 'Reco_JABDT_tHW_Jet_CSV_hdau2', + 'Reco_JABDT_tHW_Jet_CSV_whaddau1', + 'Reco_JABDT_tHW_Jet_CSV_whaddau2', + 'Reco_JABDT_tHW_abs_btop_eta', + 'Reco_JABDT_tHW_abs_top_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__wb_eta', + 'Reco_JABDT_tHW_abs_wb_eta', + 'Reco_JABDT_tHW_abs_wlep_eta__M__whad_eta', + 'Reco_JABDT_tHW_costheta_btop_lep', + 'Reco_JABDT_tHW_log_h_m', + 'Reco_JABDT_tHW_log_h_pt', + 'Reco_JABDT_tHW_log_top_m', + 'Reco_JABDT_tHW_log_top_pt', + 'Reco_JABDT_tHW_log_wb_m', + 'Reco_JABDT_tHW_log_wb_pt', + 'Reco_JABDT_tHW_log_whad_m', + 'Reco_JABDT_tHW_log_whad_pt', + 'Reco_JABDT_tHW_top_pt__P__h_pt__P__wb_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_tHW_wlep_pt__M__whad_pt', + 'Reco_JABDT_tHq_Jet_CSV_btop', + 'Reco_JABDT_tHq_Jet_CSV_hdau1', + 'Reco_JABDT_tHq_Jet_CSV_hdau2', + 'Reco_JABDT_tHq_Jet_CSV_ljet', + 'Reco_JABDT_tHq_abs_btop_eta', + 'Reco_JABDT_tHq_abs_h_eta', + 'Reco_JABDT_tHq_abs_ljet_eta', + 'Reco_JABDT_tHq_abs_ljet_eta__M__btop_eta', + 'Reco_JABDT_tHq_abs_top_eta', + 'Reco_JABDT_tHq_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHq_costheta_btop_lep', + 'Reco_JABDT_tHq_ljet_e__M__btop_e', + 'Reco_JABDT_tHq_log_h_m', + 'Reco_JABDT_tHq_log_h_pt', + 'Reco_JABDT_tHq_log_ljet_pt', + 'Reco_JABDT_tHq_log_min_hdau1_pt_hdau2_pt', + 'Reco_JABDT_tHq_log_top_m', + 'Reco_JABDT_tHq_log_top_pt', + 'Reco_JABDT_tHq_top_pt__P__h_pt__P__ljet_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttH_Jet_CSV_btophad', + 'Reco_JABDT_ttH_Jet_CSV_btoplep', + 'Reco_JABDT_ttH_Jet_CSV_hdau1', + 'Reco_JABDT_ttH_Jet_CSV_hdau2', + 'Reco_JABDT_ttH_Jet_CSV_whaddau1', + 'Reco_JABDT_ttH_Jet_CSV_whaddau2', + 'Reco_JABDT_ttH_log_h_m', + 'Reco_JABDT_ttH_log_h_pt', + 'Reco_JABDT_ttH_log_tophad_m', + 'Reco_JABDT_ttH_log_tophad_m__M__whad_m', + 'Reco_JABDT_ttH_log_tophad_pt', + 'Reco_JABDT_ttH_log_toplep_m', + 'Reco_JABDT_ttH_log_toplep_pt', + 'Reco_JABDT_ttH_log_whad_m', + 'Reco_JABDT_ttH_tophad_pt__P__toplep_pt__P__h_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttbar_Jet_CSV_btophad', + 'Reco_JABDT_ttbar_Jet_CSV_btoplep', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau1', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau2', + 'Reco_JABDT_ttbar_costheta_toplep_tophad', + 'Reco_JABDT_ttbar_log_tophad_m', + 'Reco_JABDT_ttbar_log_tophad_pt', + 'Reco_JABDT_ttbar_log_toplep_m', + 'Reco_JABDT_ttbar_log_toplep_pt', + 'Reco_JABDT_ttbar_log_whad_m', + 'Reco_JABDT_ttbar_tophad_pt__P__toplep_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_LeptonicW_Eta', + 'Reco_LeptonicW_M', + 'Reco_LeptonicW_Phi', + 'Reco_LeptonicW_Pt', + 'Reco_WLep_E', + 'Reco_WLep_Eta', + 'Reco_WLep_Mass', + 'Reco_WLep_Phi', + 'Reco_WLep_Pt', + 'Reco_best_higgs_mass', + 'Reco_dEta_fn', + 'Reco_tHW_bestJABDToutput', + 'Reco_tHW_btop_eta', + 'Reco_tHW_btop_idx', + 'Reco_tHW_btop_lepw_dr', + 'Reco_tHW_btop_m', + 'Reco_tHW_btop_phi', + 'Reco_tHW_btop_pt', + 'Reco_tHW_h_dr', + 'Reco_tHW_h_eta', + 'Reco_tHW_h_m', + 'Reco_tHW_h_phi', + 'Reco_tHW_h_pt', + 'Reco_tHW_hdau_eta1', + 'Reco_tHW_hdau_eta2', + 'Reco_tHW_hdau_idx1', + 'Reco_tHW_hdau_idx2', + 'Reco_tHW_hdau_m1', + 'Reco_tHW_hdau_m2', + 'Reco_tHW_hdau_phi1', + 'Reco_tHW_hdau_phi2', + 'Reco_tHW_hdau_pt1', + 'Reco_tHW_hdau_pt2', + 'Reco_tHW_leptonictop', + 'Reco_tHW_top_eta', + 'Reco_tHW_top_h_dr', + 'Reco_tHW_top_m', + 'Reco_tHW_top_phi', + 'Reco_tHW_top_pt', + 'Reco_tHW_wb_eta', + 'Reco_tHW_wb_h_dr', + 'Reco_tHW_wb_m', + 'Reco_tHW_wb_phi', + 'Reco_tHW_wb_pt', + 'Reco_tHW_whad_dr', + 'Reco_tHW_whad_eta', + 'Reco_tHW_whad_m', + 'Reco_tHW_whad_phi', + 'Reco_tHW_whad_pt', + 'Reco_tHW_whaddau_eta1', + 'Reco_tHW_whaddau_eta2', + 'Reco_tHW_whaddau_idx1', + 'Reco_tHW_whaddau_idx2', + 'Reco_tHW_whaddau_m1', + 'Reco_tHW_whaddau_m2', + 'Reco_tHW_whaddau_phi1', + 'Reco_tHW_whaddau_phi2', + 'Reco_tHW_whaddau_pt1', + 'Reco_tHW_whaddau_pt2', + 'Reco_tHW_wtop_eta', + 'Reco_tHW_wtop_h_dr', + 'Reco_tHW_wtop_m', + 'Reco_tHW_wtop_phi', + 'Reco_tHW_wtop_pt', + 'Reco_tHq_bestJABDToutput', + 'Reco_tHq_btop_eta', + 'Reco_tHq_btop_idx', + 'Reco_tHq_btop_lep_dr', + 'Reco_tHq_btop_m', + 'Reco_tHq_btop_phi', + 'Reco_tHq_btop_pt', + 'Reco_tHq_btop_w_dr', + 'Reco_tHq_costhetastar', + 'Reco_tHq_h_dr', + 'Reco_tHq_h_eta', + 'Reco_tHq_h_m', + 'Reco_tHq_h_phi', + 'Reco_tHq_h_pt', + 'Reco_tHq_hdau_eta1', + 'Reco_tHq_hdau_eta2', + 'Reco_tHq_hdau_idx1', + 'Reco_tHq_hdau_idx2', + 'Reco_tHq_hdau_m1', + 'Reco_tHq_hdau_m2', + 'Reco_tHq_hdau_phi1', + 'Reco_tHq_hdau_phi2', + 'Reco_tHq_hdau_pt1', + 'Reco_tHq_hdau_pt2', + 'Reco_tHq_ljet_eta', + 'Reco_tHq_ljet_idx', + 'Reco_tHq_ljet_m', + 'Reco_tHq_ljet_phi', + 'Reco_tHq_ljet_pt', + 'Reco_tHq_top_eta', + 'Reco_tHq_top_h_dr', + 'Reco_tHq_top_m', + 'Reco_tHq_top_phi', + 'Reco_tHq_top_pt', + 'Reco_ttH_bestJABDToutput', + 'Reco_ttH_btophad_eta', + 'Reco_ttH_btophad_idx', + 'Reco_ttH_btophad_m', + 'Reco_ttH_btophad_phi', + 'Reco_ttH_btophad_pt', + 'Reco_ttH_btoplep_eta', + 'Reco_ttH_btoplep_idx', + 'Reco_ttH_btoplep_m', + 'Reco_ttH_btoplep_phi', + 'Reco_ttH_btoplep_pt', + 'Reco_ttH_btoplep_w_dr', + 'Reco_ttH_h_dr', + 'Reco_ttH_h_eta', + 'Reco_ttH_h_m', + 'Reco_ttH_h_phi', + 'Reco_ttH_h_pt', + 'Reco_ttH_hdau_eta1', + 'Reco_ttH_hdau_eta2', + 'Reco_ttH_hdau_idx1', + 'Reco_ttH_hdau_idx2', + 'Reco_ttH_hdau_m1', + 'Reco_ttH_hdau_m2', + 'Reco_ttH_hdau_phi1', + 'Reco_ttH_hdau_phi2', + 'Reco_ttH_hdau_pt1', + 'Reco_ttH_hdau_pt2', + 'Reco_ttH_tophad_dr', + 'Reco_ttH_tophad_eta', + 'Reco_ttH_tophad_m', + 'Reco_ttH_tophad_phi', + 'Reco_ttH_tophad_pt', + 'Reco_ttH_toplep_eta', + 'Reco_ttH_toplep_m', + 'Reco_ttH_toplep_phi', + 'Reco_ttH_toplep_pt', + 'Reco_ttH_whad_dr', + 'Reco_ttH_whad_eta', + 'Reco_ttH_whad_m', + 'Reco_ttH_whad_phi', + 'Reco_ttH_whad_pt', + 'Reco_ttH_whaddau_eta1', + 'Reco_ttH_whaddau_eta2', + 'Reco_ttH_whaddau_idx1', + 'Reco_ttH_whaddau_idx2', + 'Reco_ttH_whaddau_m1', + 'Reco_ttH_whaddau_m2', + 'Reco_ttH_whaddau_phi1', + 'Reco_ttH_whaddau_phi2', + 'Reco_ttH_whaddau_pt1', + 'Reco_ttH_whaddau_pt2', + 'Reco_ttbar_bestJABDToutput', + 'Reco_ttbar_btophad_eta', + 'Reco_ttbar_btophad_idx', + 'Reco_ttbar_btophad_m', + 'Reco_ttbar_btophad_phi', + 'Reco_ttbar_btophad_pt', + 'Reco_ttbar_btophad_w_dr', + 'Reco_ttbar_btoplep_eta', + 'Reco_ttbar_btoplep_idx', + 'Reco_ttbar_btoplep_m', + 'Reco_ttbar_btoplep_phi', + 'Reco_ttbar_btoplep_pt', + 'Reco_ttbar_btoplep_w_dr', + 'Reco_ttbar_tophad_eta', + 'Reco_ttbar_tophad_m', + 'Reco_ttbar_tophad_phi', + 'Reco_ttbar_tophad_pt', + 'Reco_ttbar_toplep_eta', + 'Reco_ttbar_toplep_m', + 'Reco_ttbar_toplep_phi', + 'Reco_ttbar_toplep_pt', + 'Reco_ttbar_whad_dr', + 'Reco_ttbar_whad_eta', + 'Reco_ttbar_whad_m', + 'Reco_ttbar_whad_phi', + 'Reco_ttbar_whad_pt', + 'Reco_ttbar_whaddau_eta1', + 'Reco_ttbar_whaddau_eta2', + 'Reco_ttbar_whaddau_idx1', + 'Reco_ttbar_whaddau_idx2', + 'Reco_ttbar_whaddau_m1', + 'Reco_ttbar_whaddau_m2', + 'Reco_ttbar_whaddau_phi1', + 'Reco_ttbar_whaddau_phi2', + 'Reco_ttbar_whaddau_pt1', + 'Reco_ttbar_whaddau_pt2', + 'N_BTagsL', + 'N_BTagsM', + 'N_BTagsT', + 'N_ForwardJets', + 'N_HEM_Jets', + 'N_Jets', + 'N_LooseJets', + 'N_LooseLeptons', + 'N_MisTagsM', + 'N_PrimaryVertices', + 'N_TightLeptons', + 'CSV[0]', + 'CSV[1]', + 'CSV[2]', + 'CSV[3]', + 'ForwardJet_E[0]', + 'ForwardJet_E[1]', + 'ForwardJet_E[2]', + 'ForwardJet_E[3]', + 'ForwardJet_Eta[0]', + 'ForwardJet_Eta[1]', + 'ForwardJet_Eta[2]', + 'ForwardJet_Eta[3]', + 'ForwardJet_M[0]', + 'ForwardJet_M[1]', + 'ForwardJet_M[2]', + 'ForwardJet_M[3]', + 'ForwardJet_Phi[0]', + 'ForwardJet_Phi[1]', + 'ForwardJet_Phi[2]', + 'ForwardJet_Phi[3]', + 'ForwardJet_Pt[0]', + 'ForwardJet_Pt[1]', + 'ForwardJet_Pt[2]', + 'ForwardJet_Pt[3]', + 'Jet_CSV[0]', + 'Jet_CSV[1]', + 'Jet_CSV[2]', + 'Jet_CSV[3]', + 'Jet_Charge[0]', + 'Jet_Charge[1]', + 'Jet_Charge[2]', + 'Jet_Charge[3]', + 'Jet_DeepJetCSV[0]', + 'Jet_DeepJetCSV[1]', + 'Jet_DeepJetCSV[2]', + 'Jet_DeepJetCSV[3]', + 'Jet_DeepJet_b[0]', + 'Jet_DeepJet_b[1]', + 'Jet_DeepJet_b[2]', + 'Jet_DeepJet_b[3]', + 'Jet_DeepJet_bb[0]', + 'Jet_DeepJet_bb[1]', + 'Jet_DeepJet_bb[2]', + 'Jet_DeepJet_bb[3]', + 'Jet_DeepJet_c[0]', + 'Jet_DeepJet_c[1]', + 'Jet_DeepJet_c[2]', + 'Jet_DeepJet_c[3]', + 'Jet_DeepJet_g[0]', + 'Jet_DeepJet_g[1]', + 'Jet_DeepJet_g[2]', + 'Jet_DeepJet_g[3]', + 'Jet_DeepJet_lepb[0]', + 'Jet_DeepJet_lepb[1]', + 'Jet_DeepJet_lepb[2]', + 'Jet_DeepJet_lepb[3]', + 'Jet_DeepJet_uds[0]', + 'Jet_DeepJet_uds[1]', + 'Jet_DeepJet_uds[2]', + 'Jet_DeepJet_uds[3]', + 'Jet_E[0]', + 'Jet_E[1]', + 'Jet_E[2]', + 'Jet_E[3]', + 'Jet_Eta[0]', + 'Jet_Eta[1]', + 'Jet_Eta[2]', + 'Jet_Eta[3]', + 'Jet_M[0]', + 'Jet_M[1]', + 'Jet_M[2]', + 'Jet_M[3]', + 'Jet_Phi[0]', + 'Jet_Phi[1]', + 'Jet_Phi[2]', + 'Jet_Phi[3]', + 'Jet_Pt[0]', + 'Jet_Pt[1]', + 'Jet_Pt[2]', + 'Jet_Pt[3]', + 'LooseJet_CSV[0]', + 'LooseJet_CSV[1]', + 'LooseJet_CSV[2]', + 'LooseJet_CSV[3]', + 'LooseJet_Charge[0]', + 'LooseJet_Charge[1]', + 'LooseJet_Charge[2]', + 'LooseJet_Charge[3]', + 'LooseJet_DeepJetCSV[0]', + 'LooseJet_DeepJetCSV[1]', + 'LooseJet_DeepJetCSV[2]', + 'LooseJet_DeepJetCSV[3]', + 'LooseJet_DeepJet_b[0]', + 'LooseJet_DeepJet_b[1]', + 'LooseJet_DeepJet_b[2]', + 'LooseJet_DeepJet_b[3]', + 'LooseJet_DeepJet_bb[0]', + 'LooseJet_DeepJet_bb[1]', + 'LooseJet_DeepJet_bb[2]', + 'LooseJet_DeepJet_bb[3]', + 'LooseJet_DeepJet_c[0]', + 'LooseJet_DeepJet_c[1]', + 'LooseJet_DeepJet_c[2]', + 'LooseJet_DeepJet_c[3]', + 'LooseJet_DeepJet_g[0]', + 'LooseJet_DeepJet_g[1]', + 'LooseJet_DeepJet_g[2]', + 'LooseJet_DeepJet_g[3]', + 'LooseJet_DeepJet_lepb[0]', + 'LooseJet_DeepJet_lepb[1]', + 'LooseJet_DeepJet_lepb[2]', + 'LooseJet_DeepJet_lepb[3]', + 'LooseJet_DeepJet_uds[0]', + 'LooseJet_DeepJet_uds[1]', + 'LooseJet_DeepJet_uds[2]', + 'LooseJet_DeepJet_uds[3]', + 'LooseJet_E[0]', + 'LooseJet_E[1]', + 'LooseJet_E[2]', + 'LooseJet_E[3]', + 'LooseJet_Eta[0]', + 'LooseJet_Eta[1]', + 'LooseJet_Eta[2]', + 'LooseJet_Eta[3]', + 'LooseJet_M[0]', + 'LooseJet_M[1]', + 'LooseJet_M[2]', + 'LooseJet_M[3]', + 'LooseJet_Phi[0]', + 'LooseJet_Phi[1]', + 'LooseJet_Phi[2]', + 'LooseJet_Phi[3]', + 'LooseJet_Pt[0]', + 'LooseJet_Pt[1]', + 'LooseJet_Pt[2]', + 'LooseJet_Pt[3]', + 'LooseLepton_E[0]', + 'LooseLepton_Eta[0]', + 'LooseLepton_M[0]', + 'LooseLepton_Phi[0]', + 'LooseLepton_Pt[0]', + 'TaggedJet_CSV[0]', + 'TaggedJet_CSV[1]', + 'TaggedJet_CSV[2]', + 'TaggedJet_CSV[3]', + 'TaggedJet_DeepJetCSV[0]', + 'TaggedJet_DeepJetCSV[1]', + 'TaggedJet_DeepJetCSV[2]', + 'TaggedJet_DeepJetCSV[3]', + 'TaggedJet_DeepJet_b[0]', + 'TaggedJet_DeepJet_b[1]', + 'TaggedJet_DeepJet_b[2]', + 'TaggedJet_DeepJet_b[3]', + 'TaggedJet_DeepJet_bb[0]', + 'TaggedJet_DeepJet_bb[1]', + 'TaggedJet_DeepJet_bb[2]', + 'TaggedJet_DeepJet_bb[3]', + 'TaggedJet_DeepJet_c[0]', + 'TaggedJet_DeepJet_c[1]', + 'TaggedJet_DeepJet_c[2]', + 'TaggedJet_DeepJet_c[3]', + 'TaggedJet_DeepJet_g[0]', + 'TaggedJet_DeepJet_g[1]', + 'TaggedJet_DeepJet_g[2]', + 'TaggedJet_DeepJet_g[3]', + 'TaggedJet_DeepJet_lepb[0]', + 'TaggedJet_DeepJet_lepb[1]', + 'TaggedJet_DeepJet_lepb[2]', + 'TaggedJet_DeepJet_lepb[3]', + 'TaggedJet_DeepJet_uds[0]', + 'TaggedJet_DeepJet_uds[1]', + 'TaggedJet_DeepJet_uds[2]', + 'TaggedJet_DeepJet_uds[3]', + 'TaggedJet_E[0]', + 'TaggedJet_E[1]', + 'TaggedJet_E[2]', + 'TaggedJet_E[3]', + 'TaggedJet_Eta[0]', + 'TaggedJet_Eta[1]', + 'TaggedJet_Eta[2]', + 'TaggedJet_Eta[3]', + 'TaggedJet_M[0]', + 'TaggedJet_M[1]', + 'TaggedJet_M[2]', + 'TaggedJet_M[3]', + 'TaggedJet_Phi[0]', + 'TaggedJet_Phi[1]', + 'TaggedJet_Phi[2]', + 'TaggedJet_Phi[3]', + 'TaggedJet_Pt[0]', + 'TaggedJet_Pt[1]', + 'TaggedJet_Pt[2]', + 'TaggedJet_Pt[3]', + ] + +variables["ge6j_ge3t"] = [ + 'Evt_CSV_avg', + 'Evt_CSV_avg_tagged', + 'Evt_CSV_dev', + 'Evt_CSV_dev_tagged', + 'Evt_CSV_min', + 'Evt_CSV_min_tagged', + 'Evt_Deta_JetsAverage', + 'Evt_Deta_TaggedJetsAverage', + 'Evt_Deta_maxDetaJetJet', + 'Evt_Deta_maxDetaJetTag', + 'Evt_Deta_maxDetaTagTag', + 'Evt_Dr_JetsAverage', + 'Evt_Dr_TaggedJetsAverage', + 'Evt_Dr_maxDrJets', + 'Evt_Dr_maxDrTaggedJets', + 'Evt_Dr_minDrJets', + 'Evt_Dr_minDrLepJet', + 'Evt_Dr_minDrLepTag', + 'Evt_Dr_minDrTaggedJets', + 'Evt_E_JetsAverage', + 'Evt_E_TaggedJetsAverage', + 'Evt_Eta_JetsAverage', + 'Evt_Eta_TaggedJetsAverage', + 'Evt_HT', + 'Evt_HT_jets', + 'Evt_HT_tags', + 'Evt_HT_wo_MET', + 'Evt_JetPt_over_JetE', + 'Evt_M2_JetsAverage', + 'Evt_M2_TaggedJetsAverage', + 'Evt_M2_closestTo125TaggedJets', + 'Evt_M2_closestTo91TaggedJets', + 'Evt_M2_minDrJets', + 'Evt_M2_minDrTaggedJets', + 'Evt_M3', + 'Evt_M3_oneTagged', + 'Evt_MET', + 'Evt_MET_Phi', + 'Evt_MET_Pt', + 'Evt_MHT', + 'Evt_MTW', + 'Evt_M_JetsAverage', + 'Evt_M_TaggedJetsAverage', + 'Evt_M_Total', + 'Evt_M_minDrLepJet', + 'Evt_M_minDrLepTag', + 'Evt_Pt_JetsAverage', + 'Evt_Pt_TaggedJetsAverage', + 'Evt_Pt_minDrJets', + 'Evt_Pt_minDrTaggedJets', + 'Evt_TaggedJetPt_over_TaggedJetE', + 'Evt_aplanarity', + 'Evt_aplanarity_jets', + 'Evt_aplanarity_tags', + 'Evt_blr', + 'Evt_blr_transformed', + 'Evt_h0', + 'Evt_h1', + 'Evt_h2', + 'Evt_h3', + 'Evt_sphericity', + 'Evt_sphericity_jets', + 'Evt_sphericity_tags', + 'Evt_transverse_sphericity', + 'Evt_transverse_sphericity_jets', + 'Evt_transverse_sphericity_tags', + #'RecoTTH_Chi2Higgs', + #'RecoTTH_Chi2TopHad', + #'RecoTTH_Chi2TopLep', + #'RecoTTH_Chi2Total', + #'RecoTTH_Chi2WHad', + #'RecoTTH_Deta_Higgs_Lep', + #'RecoTTH_Deta_Higgs_bHad', + #'RecoTTH_Deta_Higgs_bLep', + #'RecoTTH_Deta_Higgs_topHad', + #'RecoTTH_Deta_Higgs_topLep', + #'RecoTTH_Deta_Lep_bHad', + #'RecoTTH_Deta_Lep_topHad', + #'RecoTTH_Deta_bHad_wHad', + #'RecoTTH_Deta_bLep_bHad', + #'RecoTTH_Deta_bLep_topHad', + #'RecoTTH_Deta_bLep_wLep', + #'RecoTTH_Deta_topHad_wLep', + #'RecoTTH_Deta_topLep_bHad', + #'RecoTTH_Deta_topLep_topHad', + #'RecoTTH_Dphi_Higgs_Lep', + #'RecoTTH_Dphi_Higgs_bHad', + #'RecoTTH_Dphi_Higgs_bLep', + #'RecoTTH_Dphi_Higgs_topHad', + #'RecoTTH_Dphi_Higgs_topLep', + #'RecoTTH_Dphi_Lep_bHad', + #'RecoTTH_Dphi_Lep_topHad', + #'RecoTTH_Dphi_bHad_wHad', + #'RecoTTH_Dphi_bLep_bHad', + #'RecoTTH_Dphi_bLep_topHad', + #'RecoTTH_Dphi_bLep_wLep', + #'RecoTTH_Dphi_topHad_wLep', + #'RecoTTH_Dphi_topLep_bHad', + #'RecoTTH_Dphi_topLep_topHad', + #'RecoTTH_Higgs_BJet1_E', + #'RecoTTH_Higgs_BJet1_Eta', + #'RecoTTH_Higgs_BJet1_Phi', + #'RecoTTH_Higgs_BJet1_Pt', + #'RecoTTH_Higgs_BJet2_E', + #'RecoTTH_Higgs_BJet2_Eta', + #'RecoTTH_Higgs_BJet2_Phi', + #'RecoTTH_Higgs_BJet2_Pt', + #'RecoTTH_Higgs_E', + #'RecoTTH_Higgs_Eta', + #'RecoTTH_Higgs_M', + #'RecoTTH_Higgs_Phi', + #'RecoTTH_Higgs_Pt', + #'RecoTTH_TopHad_BJet_E', + #'RecoTTH_TopHad_BJet_Eta', + #'RecoTTH_TopHad_BJet_Phi', + #'RecoTTH_TopHad_BJet_Pt', + #'RecoTTH_TopHad_E', + #'RecoTTH_TopHad_Eta', + #'RecoTTH_TopHad_M', + #'RecoTTH_TopHad_Phi', + #'RecoTTH_TopHad_Pt', + #'RecoTTH_TopHad_W_E', + #'RecoTTH_TopHad_W_Eta', + #'RecoTTH_TopHad_W_Phi', + #'RecoTTH_TopHad_W_Pt', + #'RecoTTH_TopLep_BJet_E', + #'RecoTTH_TopLep_BJet_Eta', + #'RecoTTH_TopLep_BJet_Phi', + #'RecoTTH_TopLep_BJet_Pt', + #'RecoTTH_TopLep_E', + #'RecoTTH_TopLep_Eta', + #'RecoTTH_TopLep_M', + #'RecoTTH_TopLep_Phi', + #'RecoTTH_TopLep_Pt', + #'RecoTTH_TopLep_W_E', + #'RecoTTH_TopLep_W_Eta', + #'RecoTTH_TopLep_W_Phi', + #'RecoTTH_TopLep_W_Pt', + #'RecoTTH_cosdTheta_Higgs_Lep', + #'RecoTTH_cosdTheta_Higgs_bHad', + #'RecoTTH_cosdTheta_Higgs_bLep', + #'RecoTTH_cosdTheta_Higgs_topHad', + #'RecoTTH_cosdTheta_Higgs_topLep', + #'RecoTTH_cosdTheta_Lep_bHad', + #'RecoTTH_cosdTheta_Lep_topHad', + #'RecoTTH_cosdTheta_bHad_wHad', + #'RecoTTH_cosdTheta_bLep_bHad', + #'RecoTTH_cosdTheta_bLep_topHad', + #'RecoTTH_cosdTheta_bLep_wLep', + #'RecoTTH_cosdTheta_topHad_wLep', + #'RecoTTH_cosdTheta_topLep_bHad', + #'RecoTTH_cosdTheta_topLep_topHad', + 'Reco_JABDT_tHW_Jet_CSV_btop', + 'Reco_JABDT_tHW_Jet_CSV_hdau1', + 'Reco_JABDT_tHW_Jet_CSV_hdau2', + 'Reco_JABDT_tHW_Jet_CSV_whaddau1', + 'Reco_JABDT_tHW_Jet_CSV_whaddau2', + 'Reco_JABDT_tHW_abs_btop_eta', + 'Reco_JABDT_tHW_abs_top_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHW_abs_top_eta__M__wb_eta', + 'Reco_JABDT_tHW_abs_wb_eta', + 'Reco_JABDT_tHW_abs_wlep_eta__M__whad_eta', + 'Reco_JABDT_tHW_costheta_btop_lep', + 'Reco_JABDT_tHW_log_h_m', + 'Reco_JABDT_tHW_log_h_pt', + 'Reco_JABDT_tHW_log_top_m', + 'Reco_JABDT_tHW_log_top_pt', + 'Reco_JABDT_tHW_log_wb_m', + 'Reco_JABDT_tHW_log_wb_pt', + 'Reco_JABDT_tHW_log_whad_m', + 'Reco_JABDT_tHW_log_whad_pt', + 'Reco_JABDT_tHW_top_pt__P__h_pt__P__wb_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_tHW_wlep_pt__M__whad_pt', + 'Reco_JABDT_tHq_Jet_CSV_btop', + 'Reco_JABDT_tHq_Jet_CSV_hdau1', + 'Reco_JABDT_tHq_Jet_CSV_hdau2', + 'Reco_JABDT_tHq_Jet_CSV_ljet', + 'Reco_JABDT_tHq_abs_btop_eta', + 'Reco_JABDT_tHq_abs_h_eta', + 'Reco_JABDT_tHq_abs_ljet_eta', + 'Reco_JABDT_tHq_abs_ljet_eta__M__btop_eta', + 'Reco_JABDT_tHq_abs_top_eta', + 'Reco_JABDT_tHq_abs_top_eta__M__higg_eta', + 'Reco_JABDT_tHq_costheta_btop_lep', + 'Reco_JABDT_tHq_ljet_e__M__btop_e', + 'Reco_JABDT_tHq_log_h_m', + 'Reco_JABDT_tHq_log_h_pt', + 'Reco_JABDT_tHq_log_ljet_pt', + 'Reco_JABDT_tHq_log_min_hdau1_pt_hdau2_pt', + 'Reco_JABDT_tHq_log_top_m', + 'Reco_JABDT_tHq_log_top_pt', + 'Reco_JABDT_tHq_top_pt__P__h_pt__P__ljet_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttH_Jet_CSV_btophad', + 'Reco_JABDT_ttH_Jet_CSV_btoplep', + 'Reco_JABDT_ttH_Jet_CSV_hdau1', + 'Reco_JABDT_ttH_Jet_CSV_hdau2', + 'Reco_JABDT_ttH_Jet_CSV_whaddau1', + 'Reco_JABDT_ttH_Jet_CSV_whaddau2', + 'Reco_JABDT_ttH_log_h_m', + 'Reco_JABDT_ttH_log_h_pt', + 'Reco_JABDT_ttH_log_tophad_m', + 'Reco_JABDT_ttH_log_tophad_m__M__whad_m', + 'Reco_JABDT_ttH_log_tophad_pt', + 'Reco_JABDT_ttH_log_toplep_m', + 'Reco_JABDT_ttH_log_toplep_pt', + 'Reco_JABDT_ttH_log_whad_m', + 'Reco_JABDT_ttH_tophad_pt__P__toplep_pt__P__h_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_JABDT_ttbar_Jet_CSV_btophad', + 'Reco_JABDT_ttbar_Jet_CSV_btoplep', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau1', + 'Reco_JABDT_ttbar_Jet_CSV_whaddau2', + 'Reco_JABDT_ttbar_costheta_toplep_tophad', + 'Reco_JABDT_ttbar_log_tophad_m', + 'Reco_JABDT_ttbar_log_tophad_pt', + 'Reco_JABDT_ttbar_log_toplep_m', + 'Reco_JABDT_ttbar_log_toplep_pt', + 'Reco_JABDT_ttbar_log_whad_m', + 'Reco_JABDT_ttbar_tophad_pt__P__toplep_pt__DIV__Evt_HT__P__Evt_Pt_MET__P__Lep_Pt', + 'Reco_LeptonicW_Eta', + 'Reco_LeptonicW_M', + 'Reco_LeptonicW_Phi', + 'Reco_LeptonicW_Pt', + 'Reco_WLep_E', + 'Reco_WLep_Eta', + 'Reco_WLep_Mass', + 'Reco_WLep_Phi', + 'Reco_WLep_Pt', + 'Reco_best_higgs_mass', + 'Reco_dEta_fn', + 'Reco_tHW_bestJABDToutput', + 'Reco_tHW_btop_eta', + 'Reco_tHW_btop_idx', + 'Reco_tHW_btop_lepw_dr', + 'Reco_tHW_btop_m', + 'Reco_tHW_btop_phi', + 'Reco_tHW_btop_pt', + 'Reco_tHW_h_dr', + 'Reco_tHW_h_eta', + 'Reco_tHW_h_m', + 'Reco_tHW_h_phi', + 'Reco_tHW_h_pt', + 'Reco_tHW_hdau_eta1', + 'Reco_tHW_hdau_eta2', + 'Reco_tHW_hdau_idx1', + 'Reco_tHW_hdau_idx2', + 'Reco_tHW_hdau_m1', + 'Reco_tHW_hdau_m2', + 'Reco_tHW_hdau_phi1', + 'Reco_tHW_hdau_phi2', + 'Reco_tHW_hdau_pt1', + 'Reco_tHW_hdau_pt2', + 'Reco_tHW_leptonictop', + 'Reco_tHW_top_eta', + 'Reco_tHW_top_h_dr', + 'Reco_tHW_top_m', + 'Reco_tHW_top_phi', + 'Reco_tHW_top_pt', + 'Reco_tHW_wb_eta', + 'Reco_tHW_wb_h_dr', + 'Reco_tHW_wb_m', + 'Reco_tHW_wb_phi', + 'Reco_tHW_wb_pt', + 'Reco_tHW_whad_dr', + 'Reco_tHW_whad_eta', + 'Reco_tHW_whad_m', + 'Reco_tHW_whad_phi', + 'Reco_tHW_whad_pt', + 'Reco_tHW_whaddau_eta1', + 'Reco_tHW_whaddau_eta2', + 'Reco_tHW_whaddau_idx1', + 'Reco_tHW_whaddau_idx2', + 'Reco_tHW_whaddau_m1', + 'Reco_tHW_whaddau_m2', + 'Reco_tHW_whaddau_phi1', + 'Reco_tHW_whaddau_phi2', + 'Reco_tHW_whaddau_pt1', + 'Reco_tHW_whaddau_pt2', + 'Reco_tHW_wtop_eta', + 'Reco_tHW_wtop_h_dr', + 'Reco_tHW_wtop_m', + 'Reco_tHW_wtop_phi', + 'Reco_tHW_wtop_pt', + 'Reco_tHq_bestJABDToutput', + 'Reco_tHq_btop_eta', + 'Reco_tHq_btop_idx', + 'Reco_tHq_btop_lep_dr', + 'Reco_tHq_btop_m', + 'Reco_tHq_btop_phi', + 'Reco_tHq_btop_pt', + 'Reco_tHq_btop_w_dr', + 'Reco_tHq_costhetastar', + 'Reco_tHq_h_dr', + 'Reco_tHq_h_eta', + 'Reco_tHq_h_m', + 'Reco_tHq_h_phi', + 'Reco_tHq_h_pt', + 'Reco_tHq_hdau_eta1', + 'Reco_tHq_hdau_eta2', + 'Reco_tHq_hdau_idx1', + 'Reco_tHq_hdau_idx2', + 'Reco_tHq_hdau_m1', + 'Reco_tHq_hdau_m2', + 'Reco_tHq_hdau_phi1', + 'Reco_tHq_hdau_phi2', + 'Reco_tHq_hdau_pt1', + 'Reco_tHq_hdau_pt2', + 'Reco_tHq_ljet_eta', + 'Reco_tHq_ljet_idx', + 'Reco_tHq_ljet_m', + 'Reco_tHq_ljet_phi', + 'Reco_tHq_ljet_pt', + 'Reco_tHq_top_eta', + 'Reco_tHq_top_h_dr', + 'Reco_tHq_top_m', + 'Reco_tHq_top_phi', + 'Reco_tHq_top_pt', + 'Reco_ttH_bestJABDToutput', + 'Reco_ttH_btophad_eta', + 'Reco_ttH_btophad_idx', + 'Reco_ttH_btophad_m', + 'Reco_ttH_btophad_phi', + 'Reco_ttH_btophad_pt', + 'Reco_ttH_btoplep_eta', + 'Reco_ttH_btoplep_idx', + 'Reco_ttH_btoplep_m', + 'Reco_ttH_btoplep_phi', + 'Reco_ttH_btoplep_pt', + 'Reco_ttH_btoplep_w_dr', + 'Reco_ttH_h_dr', + 'Reco_ttH_h_eta', + 'Reco_ttH_h_m', + 'Reco_ttH_h_phi', + 'Reco_ttH_h_pt', + 'Reco_ttH_hdau_eta1', + 'Reco_ttH_hdau_eta2', + 'Reco_ttH_hdau_idx1', + 'Reco_ttH_hdau_idx2', + 'Reco_ttH_hdau_m1', + 'Reco_ttH_hdau_m2', + 'Reco_ttH_hdau_phi1', + 'Reco_ttH_hdau_phi2', + 'Reco_ttH_hdau_pt1', + 'Reco_ttH_hdau_pt2', + 'Reco_ttH_tophad_dr', + 'Reco_ttH_tophad_eta', + 'Reco_ttH_tophad_m', + 'Reco_ttH_tophad_phi', + 'Reco_ttH_tophad_pt', + 'Reco_ttH_toplep_eta', + 'Reco_ttH_toplep_m', + 'Reco_ttH_toplep_phi', + 'Reco_ttH_toplep_pt', + 'Reco_ttH_whad_dr', + 'Reco_ttH_whad_eta', + 'Reco_ttH_whad_m', + 'Reco_ttH_whad_phi', + 'Reco_ttH_whad_pt', + 'Reco_ttH_whaddau_eta1', + 'Reco_ttH_whaddau_eta2', + 'Reco_ttH_whaddau_idx1', + 'Reco_ttH_whaddau_idx2', + 'Reco_ttH_whaddau_m1', + 'Reco_ttH_whaddau_m2', + 'Reco_ttH_whaddau_phi1', + 'Reco_ttH_whaddau_phi2', + 'Reco_ttH_whaddau_pt1', + 'Reco_ttH_whaddau_pt2', + 'Reco_ttbar_bestJABDToutput', + 'Reco_ttbar_btophad_eta', + 'Reco_ttbar_btophad_idx', + 'Reco_ttbar_btophad_m', + 'Reco_ttbar_btophad_phi', + 'Reco_ttbar_btophad_pt', + 'Reco_ttbar_btophad_w_dr', + 'Reco_ttbar_btoplep_eta', + 'Reco_ttbar_btoplep_idx', + 'Reco_ttbar_btoplep_m', + 'Reco_ttbar_btoplep_phi', + 'Reco_ttbar_btoplep_pt', + 'Reco_ttbar_btoplep_w_dr', + 'Reco_ttbar_tophad_eta', + 'Reco_ttbar_tophad_m', + 'Reco_ttbar_tophad_phi', + 'Reco_ttbar_tophad_pt', + 'Reco_ttbar_toplep_eta', + 'Reco_ttbar_toplep_m', + 'Reco_ttbar_toplep_phi', + 'Reco_ttbar_toplep_pt', + 'Reco_ttbar_whad_dr', + 'Reco_ttbar_whad_eta', + 'Reco_ttbar_whad_m', + 'Reco_ttbar_whad_phi', + 'Reco_ttbar_whad_pt', + 'Reco_ttbar_whaddau_eta1', + 'Reco_ttbar_whaddau_eta2', + 'Reco_ttbar_whaddau_idx1', + 'Reco_ttbar_whaddau_idx2', + 'Reco_ttbar_whaddau_m1', + 'Reco_ttbar_whaddau_m2', + 'Reco_ttbar_whaddau_phi1', + 'Reco_ttbar_whaddau_phi2', + 'Reco_ttbar_whaddau_pt1', + 'Reco_ttbar_whaddau_pt2', + 'N_BTagsL', + 'N_BTagsM', + 'N_BTagsT', + 'N_ForwardJets', + 'N_HEM_Jets', + 'N_Jets', + 'N_LooseJets', + 'N_LooseLeptons', + 'N_MisTagsM', + 'N_PrimaryVertices', + 'N_TightLeptons', + 'CSV[0]', + 'CSV[1]', + 'CSV[2]', + 'CSV[3]', + 'ForwardJet_E[0]', + 'ForwardJet_E[1]', + 'ForwardJet_E[2]', + 'ForwardJet_E[3]', + 'ForwardJet_Eta[0]', + 'ForwardJet_Eta[1]', + 'ForwardJet_Eta[2]', + 'ForwardJet_Eta[3]', + 'ForwardJet_M[0]', + 'ForwardJet_M[1]', + 'ForwardJet_M[2]', + 'ForwardJet_M[3]', + 'ForwardJet_Phi[0]', + 'ForwardJet_Phi[1]', + 'ForwardJet_Phi[2]', + 'ForwardJet_Phi[3]', + 'ForwardJet_Pt[0]', + 'ForwardJet_Pt[1]', + 'ForwardJet_Pt[2]', + 'ForwardJet_Pt[3]', + 'Jet_CSV[0]', + 'Jet_CSV[1]', + 'Jet_CSV[2]', + 'Jet_CSV[3]', + 'Jet_Charge[0]', + 'Jet_Charge[1]', + 'Jet_Charge[2]', + 'Jet_Charge[3]', + 'Jet_DeepJetCSV[0]', + 'Jet_DeepJetCSV[1]', + 'Jet_DeepJetCSV[2]', + 'Jet_DeepJetCSV[3]', + 'Jet_DeepJet_b[0]', + 'Jet_DeepJet_b[1]', + 'Jet_DeepJet_b[2]', + 'Jet_DeepJet_b[3]', + 'Jet_DeepJet_bb[0]', + 'Jet_DeepJet_bb[1]', + 'Jet_DeepJet_bb[2]', + 'Jet_DeepJet_bb[3]', + 'Jet_DeepJet_c[0]', + 'Jet_DeepJet_c[1]', + 'Jet_DeepJet_c[2]', + 'Jet_DeepJet_c[3]', + 'Jet_DeepJet_g[0]', + 'Jet_DeepJet_g[1]', + 'Jet_DeepJet_g[2]', + 'Jet_DeepJet_g[3]', + 'Jet_DeepJet_lepb[0]', + 'Jet_DeepJet_lepb[1]', + 'Jet_DeepJet_lepb[2]', + 'Jet_DeepJet_lepb[3]', + 'Jet_DeepJet_uds[0]', + 'Jet_DeepJet_uds[1]', + 'Jet_DeepJet_uds[2]', + 'Jet_DeepJet_uds[3]', + 'Jet_E[0]', + 'Jet_E[1]', + 'Jet_E[2]', + 'Jet_E[3]', + 'Jet_Eta[0]', + 'Jet_Eta[1]', + 'Jet_Eta[2]', + 'Jet_Eta[3]', + 'Jet_M[0]', + 'Jet_M[1]', + 'Jet_M[2]', + 'Jet_M[3]', + 'Jet_Phi[0]', + 'Jet_Phi[1]', + 'Jet_Phi[2]', + 'Jet_Phi[3]', + 'Jet_Pt[0]', + 'Jet_Pt[1]', + 'Jet_Pt[2]', + 'Jet_Pt[3]', + 'LooseJet_CSV[0]', + 'LooseJet_CSV[1]', + 'LooseJet_CSV[2]', + 'LooseJet_CSV[3]', + 'LooseJet_Charge[0]', + 'LooseJet_Charge[1]', + 'LooseJet_Charge[2]', + 'LooseJet_Charge[3]', + 'LooseJet_DeepJetCSV[0]', + 'LooseJet_DeepJetCSV[1]', + 'LooseJet_DeepJetCSV[2]', + 'LooseJet_DeepJetCSV[3]', + 'LooseJet_DeepJet_b[0]', + 'LooseJet_DeepJet_b[1]', + 'LooseJet_DeepJet_b[2]', + 'LooseJet_DeepJet_b[3]', + 'LooseJet_DeepJet_bb[0]', + 'LooseJet_DeepJet_bb[1]', + 'LooseJet_DeepJet_bb[2]', + 'LooseJet_DeepJet_bb[3]', + 'LooseJet_DeepJet_c[0]', + 'LooseJet_DeepJet_c[1]', + 'LooseJet_DeepJet_c[2]', + 'LooseJet_DeepJet_c[3]', + 'LooseJet_DeepJet_g[0]', + 'LooseJet_DeepJet_g[1]', + 'LooseJet_DeepJet_g[2]', + 'LooseJet_DeepJet_g[3]', + 'LooseJet_DeepJet_lepb[0]', + 'LooseJet_DeepJet_lepb[1]', + 'LooseJet_DeepJet_lepb[2]', + 'LooseJet_DeepJet_lepb[3]', + 'LooseJet_DeepJet_uds[0]', + 'LooseJet_DeepJet_uds[1]', + 'LooseJet_DeepJet_uds[2]', + 'LooseJet_DeepJet_uds[3]', + 'LooseJet_E[0]', + 'LooseJet_E[1]', + 'LooseJet_E[2]', + 'LooseJet_E[3]', + 'LooseJet_Eta[0]', + 'LooseJet_Eta[1]', + 'LooseJet_Eta[2]', + 'LooseJet_Eta[3]', + 'LooseJet_M[0]', + 'LooseJet_M[1]', + 'LooseJet_M[2]', + 'LooseJet_M[3]', + 'LooseJet_Phi[0]', + 'LooseJet_Phi[1]', + 'LooseJet_Phi[2]', + 'LooseJet_Phi[3]', + 'LooseJet_Pt[0]', + 'LooseJet_Pt[1]', + 'LooseJet_Pt[2]', + 'LooseJet_Pt[3]', + 'LooseLepton_E[0]', + 'LooseLepton_Eta[0]', + 'LooseLepton_M[0]', + 'LooseLepton_Phi[0]', + 'LooseLepton_Pt[0]', + 'TaggedJet_CSV[0]', + 'TaggedJet_CSV[1]', + 'TaggedJet_CSV[2]', + 'TaggedJet_CSV[3]', + 'TaggedJet_DeepJetCSV[0]', + 'TaggedJet_DeepJetCSV[1]', + 'TaggedJet_DeepJetCSV[2]', + 'TaggedJet_DeepJetCSV[3]', + 'TaggedJet_DeepJet_b[0]', + 'TaggedJet_DeepJet_b[1]', + 'TaggedJet_DeepJet_b[2]', + 'TaggedJet_DeepJet_b[3]', + 'TaggedJet_DeepJet_bb[0]', + 'TaggedJet_DeepJet_bb[1]', + 'TaggedJet_DeepJet_bb[2]', + 'TaggedJet_DeepJet_bb[3]', + 'TaggedJet_DeepJet_c[0]', + 'TaggedJet_DeepJet_c[1]', + 'TaggedJet_DeepJet_c[2]', + 'TaggedJet_DeepJet_c[3]', + 'TaggedJet_DeepJet_g[0]', + 'TaggedJet_DeepJet_g[1]', + 'TaggedJet_DeepJet_g[2]', + 'TaggedJet_DeepJet_g[3]', + 'TaggedJet_DeepJet_lepb[0]', + 'TaggedJet_DeepJet_lepb[1]', + 'TaggedJet_DeepJet_lepb[2]', + 'TaggedJet_DeepJet_lepb[3]', + 'TaggedJet_DeepJet_uds[0]', + 'TaggedJet_DeepJet_uds[1]', + 'TaggedJet_DeepJet_uds[2]', + 'TaggedJet_DeepJet_uds[3]', + 'TaggedJet_E[0]', + 'TaggedJet_E[1]', + 'TaggedJet_E[2]', + 'TaggedJet_E[3]', + 'TaggedJet_Eta[0]', + 'TaggedJet_Eta[1]', + 'TaggedJet_Eta[2]', + 'TaggedJet_Eta[3]', + 'TaggedJet_M[0]', + 'TaggedJet_M[1]', + 'TaggedJet_M[2]', + 'TaggedJet_M[3]', + 'TaggedJet_Phi[0]', + 'TaggedJet_Phi[1]', + 'TaggedJet_Phi[2]', + 'TaggedJet_Phi[3]', + 'TaggedJet_Pt[0]', + 'TaggedJet_Pt[1]', + 'TaggedJet_Pt[2]', + 'TaggedJet_Pt[3]', + ] + +variables["ge4j_3t"] = variables["4j_ge3t"] +variables["ge4j_ge4t"] = variables["4j_ge3t"] +variables["ge4j_3t_0f"] = variables["4j_ge3t"] +variables["ge4j_ge4t_0f"] = variables["4j_ge3t"] +variables["ge4j_ge3t_ge1f"] = variables["4j_ge3t"] + +all_variables = list(set( [v for key in variables for v in variables[key] ] )) From d7de02a0be10220d9380a5aa7ad8bb15414f2dd3 Mon Sep 17 00:00:00 2001 From: pekraem Date: Mon, 11 Nov 2019 11:01:50 +0100 Subject: [PATCH 2/3] added vetos to generateVariableSet.py --- utils/generateVariableSet.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/generateVariableSet.py b/utils/generateVariableSet.py index acb452c6..a092b2f2 100644 --- a/utils/generateVariableSet.py +++ b/utils/generateVariableSet.py @@ -26,9 +26,9 @@ def getAllVariables(infile): t = f.Get("MVATree") variables = [] vetos = ["Weight", "HTXS", "Gen", "Prescale", - "Electron", "Muon", "AK8", - "Triggered", "DeepFlavour", - "common5_output", "Untagged", + "Electron", "Muon", "AK8", "DeepCSV", + "Triggered", "DeepFlavour", "RecoTTH", + "common5_output", "Untagged", "Flav", "CSV_DNN", "PileUp", "Evt_ID", "Evt_Lumi", "Evt_Odd", "Evt_Run", "PartonFlav", "GoodTags",] From 109df236732437c9bb672cad276fd0dfc7cf5eca Mon Sep 17 00:00:00 2001 From: pekraem Date: Wed, 27 Nov 2019 11:19:36 +0100 Subject: [PATCH 3/3] number of indices according to n_jets and n_tags possible --- utils/generateVariableSet.py | 40 ++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 11 deletions(-) diff --git a/utils/generateVariableSet.py b/utils/generateVariableSet.py index 24f541a2..70bcccc4 100644 --- a/utils/generateVariableSet.py +++ b/utils/generateVariableSet.py @@ -7,8 +7,8 @@ parser = optparse.OptionParser(usage="%prog [options]") parser.add_option("-f","--file",dest="file",metavar="FILE", help="ntuple file to check variables") -parser.add_option("-n",dest="number_of_indices",metavar="NINDICES",default=4, - help="determine how many indices should be considered") +parser.add_option("-n",dest="number_of_indices",metavar="NINDICES",default=0, + help="determine how many indices should be considered,\n\tif <1: jets and tags of the category are used") parser.add_option("--generateSet",action="store_true",dest="generateSet",default=False, help="generate printout for generating a variable_set.py file") parser.add_option("-o",dest="outputfile", @@ -20,7 +20,9 @@ parser.error("need to specify file") opts.number_of_indices = int(opts.number_of_indices) - +numbers = [] +for i in range(10): + numbers.append(str(i)) def getAllVariables(infile): f = ROOT.TFile(infile) @@ -32,7 +34,8 @@ def getAllVariables(infile): "common5_output", "Untagged", "Flav", "CSV_DNN", "PileUp", "Evt_ID", "Evt_Lumi", "Evt_Odd", "Evt_Run", - "PartonFlav", "GoodTags",] + "PartonFlav", "GoodTags", "HEM", + "DeepJet_", "Forward", "Loose",] for b in list(t.GetListOfBranches()): ignore = False for veto in vetos: @@ -42,19 +45,33 @@ def getAllVariables(infile): return variables -def figureOutVectors(variables, infile): +def figureOutVectors(variables, infile, category): + if opts.number_of_indices < 1: + for i,c in enumerate(category): + if c in numbers and category[i+1]=="t": + n_tags = int(c) + print("number of jets:\t{}".format(n_tags)) + if c in numbers and category[i+1]=="j": + n_jets = int(c) + print("number of tags:\t{}".format(n_jets)) + else: + n_jets = opts.number_of_indices + n_tags = opts.number_of_indices + new_variables = [] with uproot.open(infile) as f: tree = f["MVATree"] for v in variables: - print("looking at variable: {}".format(v)) + #print("looking at variable: {}".format(v)) df = tree.pandas.df([v]) if "subentry" in df.index.names: - if "LooseLepton" in v: + if "Lepton" in v: new_variables += [v+"[0]"] + elif "Tagged" in v: + new_variables += [v+"[{}]".format(i) for i in range(n_tags)] elif "Jet" in v or "CSV" in v: - new_variables += [v+"[{}]".format(i) for i in range(opts.number_of_indices)] + new_variables += [v+"[{}]".format(i) for i in range(n_jets)] else: print("vector variable {} did not match name query".format(v)) else: @@ -66,8 +83,9 @@ def figureOutVectors(variables, infile): def generateVariableSet(variables, categories, path): out = "variables = {}\n" for cat in categories: + newVars = figureOutVectors(variables, opts.file, cat) out += "variables[\"{}\"] = [\n".format(cat) - for v in variables: + for v in newVars: out += " '{}',\n".format(v) out += " ]\n\n" @@ -83,9 +101,9 @@ def generateVariableSet(variables, categories, path): variables = getAllVariables(opts.file) -new_variables = figureOutVectors(variables, opts.file) +#new_variables = figureOutVectors(variables, opts.file) if opts.generateSet: - generateVariableSet(new_variables, opts.jtregions.split(","), opts.outputfile) + generateVariableSet(variables, opts.jtregions.split(","), opts.outputfile) else: print("variables:") for v in variables: print(v)