Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bb ww devel #103

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
704f3b2
plot trainvars
saswatinandan Jan 21, 2021
1688689
coorecting one mistake and setting 2000 as default nr_events for signal
saswatinandan Jan 21, 2021
bc51854
updating hyperparameters for few BM point and removing BM points from…
saswatinandan Jan 21, 2021
0163156
removing BM points from trainvar and changing pb file name
saswatinandan Jan 21, 2021
5eea2d7
updaing input file and trainvars
saswatinandan Jan 21, 2021
2fa5a68
removing btag information
saswatinandan Jan 21, 2021
454d8a0
adding all era
saswatinandan Jan 21, 2021
b45c1b3
adding more samples for bbww
saswatinandan Feb 27, 2021
2833274
plot cm with true label normed
saswatinandan Feb 27, 2021
9681491
merge Wjets for DL and more processes into Other
saswatinandan Feb 27, 2021
16023c9
adding bbww sl info
saswatinandan Feb 27, 2021
ea159a1
add options to split ggf and vbf
saswatinandan Feb 28, 2021
8ab827c
adding options to split ggf, vbf
saswatinandan Feb 28, 2021
012bbbf
grouped entropy for ggf vbf splitting
saswatinandan Feb 28, 2021
33ea7ac
use VV, VVV as sample name for bbww
saswatinandan Mar 10, 2021
9acbabb
updating location of root files
saswatinandan Mar 10, 2021
756427b
adding signal weight option and remooving plot_DNNscore function
saswatinandan Mar 10, 2021
8d775b7
aplying sig_weight in bbWW normalizer and correcting vbf process name
saswatinandan Mar 10, 2021
5ac7ac1
use more events for training
saswatinandan Mar 16, 2021
d063714
adding trainvariables for bbww DL
saswatinandan Mar 18, 2021
f738b4c
keep otions to separate SingleH and correct the weight applied
saswatinandan Mar 27, 2021
d623036
separate data for train, validation and test
saswatinandan Mar 27, 2021
9dc2dd3
split data in three category, train, validation, test
saswatinandan Mar 27, 2021
2ff9f3b
final variables
saswatinandan Mar 27, 2021
50fc007
final variables
saswatinandan Mar 27, 2021
75091aa
new trainvar
saswatinandan Apr 20, 2021
53964ed
updating path address
saswatinandan Apr 20, 2021
9822f4b
correcting mistake
saswatinandan Apr 20, 2021
f923f4d
updating path address
saswatinandan Apr 20, 2021
3e69583
updating trainvar
saswatinandan Apr 20, 2021
e7fa4b4
adding NLO options
saswatinandan Apr 20, 2021
b3eb95e
adding NLO options
saswatinandan Apr 20, 2021
c962125
updating multiclass information
saswatinandan Apr 20, 2021
f9e847f
changing some minor things
saswatinandan Apr 20, 2021
86205e4
updating train variables
saswatinandan Apr 20, 2021
a568a72
adding cm matrix for true level normed and also predicted level normed
saswatinandan Apr 20, 2021
35f100d
correcting indentation and removing blank space
saswatinandan Apr 20, 2021
4f1c166
implementing bbww
saswatinandan Apr 21, 2021
e621546
correcting mistake
saswatinandan Apr 23, 2021
6230f81
adding function from Siddesh to find out best fit function, correctin…
saswatinandan Apr 23, 2021
4f61b03
after fitting need to reset the y range for tprofile
saswatinandan Apr 23, 2021
fbe23b1
some changes for testing purpose
saswatinandan Apr 26, 2021
2390815
minor change
saswatinandan May 5, 2021
8a67610
adding low and high mass training options for resonant case
saswatinandan May 5, 2021
3e78c4b
use low and high mass region for resonant training
saswatinandan May 5, 2021
b28f72c
use some assert error if fitfunction is not found
saswatinandan May 5, 2021
ca755d0
correcting small error and add single Higgs as separate node
saswatinandan May 5, 2021
c8bc405
changing the method of accuracy calculation
saswatinandan May 5, 2021
b251ba6
some minor change
saswatinandan May 5, 2021
542f156
adding resonant files
saswatinandan May 5, 2021
5b196b5
correcting some background sample
saswatinandan Jul 1, 2021
326237b
included all era
saswatinandan Jul 1, 2021
49847d5
change the multitarget
saswatinandan Jul 1, 2021
f9a8230
replacing spin variable with BM
saswatinandan Sep 17, 2021
c28b9e1
removing unwanted files
saswatinandan Sep 17, 2021
ceb47f9
adding some test function
saswatinandan Oct 27, 2021
bfd9921
adding one print statement
saswatinandan Nov 11, 2021
919eda7
correcting some mistake
saswatinandan Nov 11, 2021
07d06e2
adding ll variables to hl variables as well
saswatinandan Nov 11, 2021
9837ec5
changing time limit and partition for batch submission
saswatinandan Nov 11, 2021
32365e2
changing some change only for NN training
saswatinandan Nov 11, 2021
6590db5
adding two extra jet variables and also some extra hl variables from …
saswatinandan Nov 11, 2021
032c47f
split train test data using stratified sampling and also make distrib…
saswatinandan Nov 11, 2021
99c9469
use full stat and remove flattening from here
saswatinandan Nov 11, 2021
76a9aff
introduce residual network, add ll variables to hl and other changes
saswatinandan Nov 11, 2021
780d596
split train and val data using stratified sampling and flat the distr…
saswatinandan Nov 11, 2021
a7748e2
remove cmssw dependency to submit job in gpu
saswatinandan Nov 11, 2021
b504f6b
adding regression training
saswatinandan Jan 10, 2022
bd55f9b
changing path address
saswatinandan Apr 18, 2022
cdb6fc3
changing path address
saswatinandan Apr 18, 2022
4fc5716
removing unwanted file
saswatinandan May 29, 2022
7054e71
removing unwanted file
saswatinandan May 29, 2022
f513c95
removing unwanted file
saswatinandan May 30, 2022
c4f4dbc
some correction
saswatinandan May 30, 2022
7d079a2
Revert "remove cmssw dependency to submit job in gpu"
saswatinandan May 30, 2022
975cee1
Revert "introduce residual network, add ll variables to hl and other …
saswatinandan May 30, 2022
9d57da5
Revert "use full stat and remove flattening from here"
saswatinandan May 30, 2022
21d37ce
Revert "split train test data using stratified sampling and also make…
saswatinandan May 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 92 additions & 47 deletions info/HH/background_categories.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
"ZHToTauTau": "VH",
"VHToNonbb_M125": "VH"
},
"ZH": {
"ZH_HToBB_ZToLL": "ZH",
"ZH_HToBB_ZToLL_ext1": "ZH",
"ZHToTauTau": "ZH",
"ZHToNonbb_M125": "ZH"
},
"WH": {
"WHToNonbb_M125": "WH"
},
"ggH": {
"GluGluHToZZTo4L": "ggH",
"GluGluHToZZTo4L_ext1": "ggH",
Expand Down Expand Up @@ -41,32 +50,33 @@
"VBFHToWWToLNuQQ_M125_PSweights": "qqH",
"VBFHToWWToLNuQQ_M125_ext1": "qqH"
},
"ZZ": {
"ZZTo4L": "qqZZ",
"ZZTo4L_ext1": "qqZZ",
"ZZTo4L_ext2": "qqZZ",
"ZZTo2L2Nu": "ZZ",
"ZZTo2L2Q": "ZZ",
"ggZZTo4tau": "ggZZ",
"ggZZTo4tau_ext1": "ggZZ",
"ggZZTo4mu": "ggZZ",
"ggZZTo4mu_ext1": "ggZZ",
"ggZZTo4mu_ext2": "ggZZ",
"ggZZTo4e": "ggZZ",
"ggZZTo4e_ext1": "ggZZ",
"ggZZTo4e_ext2": "ggZZ",
"ggZZTo2e2tau": "ggZZ",
"ggZZTo2e2tau_ext1": "ggZZ",
"ggZZTo2e2mu": "ggZZ",
"ggZZTo2e2mu_ext1": "ggZZ",
"ggZZTo2mu2tau": "ggZZ",
"ggZZTo2mu2tau_ext1": "ggZZ"
"ZZ_bbWW": {
"ZZTo4L": "VV",
"ZZTo4L_ext1": "VV",
"ZZTo4L_ext2": "VV",
"ZZTo2L2Nu": "VV",
"ZZTo2L2Q": "VV",
"ggZZTo4tau": "VV",
"ggZZTo4tau_ext1": "VV",
"ggZZTo4mu": "VV",
"ggZZTo4mu_ext1": "VV",
"ggZZTo4mu_ext2": "VV",
"ggZZTo4e": "VV",
"ggZZTo4e_ext1": "VV",
"ggZZTo4e_ext2": "VV",
"ggZZTo2e2tau": "VV",
"ggZZTo2e2tau_ext1": "VV",
"ggZZTo2e2mu": "VV",
"ggZZTo2e2mu_ext1": "VV",
"ggZZTo2mu2tau": "VV",
"ggZZTo2mu2tau_ext1": "VV"
},
"WZ": {
"WZTo3LNu_powheg": "WZ",
"WZTo3LNu_powheg_ext1": "WZ",
"WZTo3LNu_mllmin01": "WZ",
"WZTo3LNu_mllmin01_ext1": "WZ"
"WZTo3LNu_mllmin01_ext1": "WZ",
"WZTo3LNu": "WZ"
},
"TTTo": {
"TTTo2L2Nu": "TT",
Expand Down Expand Up @@ -95,14 +105,23 @@
"WW": {
"WWTo2L2Nu": "WW",
"WWTo2L2Nu_PSweights_ext1": "WW"
},
"WW_bbWW": {
"WWTo2L2Nu": "VV",
"WWTo2L2Nu_PSweights_ext1": "VV",
"WWToLNuQQ": "VV",
"WWToLNuQQ_ext1": "VV",
"WWToLNuQQ_PSweights_ext1": "VV"
},
"TTZ": {
"TTZJets_LO": "TTZ",
"TTZJets_LO_ext1": "TTZ",
"TTZToLL_M-1to10": "TTZ",
"TTZToLL_M10_ext2": "TTZ",
"TTZToLL_M10_ext3": "TTZ",
"TTZToQQ": "TTZ"
"TTZToQQ": "TTZ",
"TTZToLL_M10": "TTZ",
"TTZToQQ_ext1": "TTZ"
},
"TTW": {
"TTWJets_LO": "TTW",
Expand All @@ -111,14 +130,20 @@
"DY_bbWW":{
"DYToLL_2J": "DY",
"DYJetsToLL_M-10to50": "DY",
"DYToLL_0J": "DY",
"DYToLL_0J_backup": "DY",
"DYToLL_0J_backup": "DY",
"DYToLL_1J_backup": "DY",
"DYToLL_1J": "DY",
"DYToLL_2J_ext1": "DY",
"DYToLL_0J_ext1": "DY",
"DYToLL_1J_ext1": "DY",
"DYJetsToLL_M-50_amcatnloFXFX": "DY",
"DYJetsToLL_M-50_amcatnloFXFX_ext2": "DY"
},
"TTW_bbWW":{
"TTWJetsToQQ": "TTW",
"TTWJetsToLNu": "TTW",
"TTWJetsToLNu_PSweights": "TTW"
},
"DY": {
"DYToLL_2J": "DY",
"DYJetsToLL_M-10to50": "DY",
Expand Down Expand Up @@ -162,27 +187,6 @@
"DYJetsToLL_M50_HT2500toInf": "DY",
"DYJetsToLL_M50_HT2500toInf_PSweights": "DY"
},
"ZZ_all": {
"ZZTo4L": "qqZZ",
"ZZTo4L_ext1": "qqZZ",
"ZZTo4L_ext2": "qqZZ",
"ZZTo2L2Nu": "ZZ",
"ZZTo2L2Q": "ZZ",
"ggZZTo4tau": "ggZZ",
"ggZZTo4tau_ext1": "ggZZ",
"ggZZTo4mu": "ggZZ",
"ggZZTo4mu_ext1": "ggZZ",
"ggZZTo4mu_ext2": "ggZZ",
"ggZZTo4e": "ggZZ",
"ggZZTo4e_ext1": "ggZZ",
"ggZZTo4e_ext2": "ggZZ",
"ggZZTo2e2tau": "ggZZ",
"ggZZTo2e2tau_ext1": "ggZZ",
"ggZZTo2e2mu": "ggZZ",
"ggZZTo2e2mu_ext1": "ggZZ",
"ggZZTo2mu2tau": "ggZZ",
"ggZZTo2mu2tau_ext1": "ggZZ"
},
"WZ_all": {
"WZTo3LNu": "WZ",
"WZTo3LNu_powheg": "WZ",
Expand Down Expand Up @@ -293,17 +297,21 @@
"ttHToNonbb_M125_powheg": "TTH",
"ttHToNonbb_M125_powheg_ext1": "TTH"
},
"TTH_bbWW": {
"ttHJetTobb_M125_ext3": "TTH",
"ttHJetToNonbb_M125_amcatnlo_ext1": "TTH"
},
"tHq": {
"THQ_ctcvcp": "tHq"
},
"ttH_ctcvcp": {
"TTH_4f_ctcvcp": "TTH"
},
"TTZH": {
"TTZH": "TTZ"
"TTZH_ext1": "TTZH"
},
"TTWH": {
"TTWH": "TTW"
"TTWH_ext1": "TTWH"
},
"EWK": {
"DYJetsToLL_M-10to50": "DY",
Expand Down Expand Up @@ -461,6 +469,32 @@
"TTZZ": "Other",
"TTZZ_ext1": "Other"
},
"Other_bbWW": {
"WWW": "VVV",
"WWW_ext1": "VVV",
"WWZ": "VVV",
"WWZ_ext1": "VVV",
"WZZ": "VVV",
"WZZ_ext1": "VVV",
"ZZZ": "VVV",
"ZZZ_ext1": "VVV",
"WZG": "Other",
"tZq_ll_4f_ext1": "Other",
"tZq_ll_4f_PSweights": "Other",
"WpWpJJ_EWK_QCD": "Other",
"WWTo2L2Nu_DoubleScattering": "Other",
"TTTT": "Other",
"TTTT_PSweights": "Other",
"TTTT_ext1": "Other",
"TTTW": "Other",
"TTTW_ext1": "Other",
"TTTJ": "Other",
"TTTJ_ext1": "Other",
"TTWZ": "Other",
"TTWZ_ext1": "Other",
"TTZZ": "Other",
"TTZZ_ext1": "Other"
},
"XGamma": {
"TGJets": "XGamma",
"TGJets_PSweights": "XGamma",
Expand All @@ -475,5 +509,16 @@
"TH": {
"THW_ctcvcp": "tHW",
"THQ_ctcvcp": "tHq"
},
"TH_bbWW": {
"THW_ctcvcp_CP5": "tHW",
"THQ_ctcvcp_CP5": "tHq"
},
"WZ_bbWW": {
"WZTo3LNu_powheg": "VV",
"WZTo3LNu_powheg_ext1": "VV",
"WZTo3LNu_mllmin01": "VV",
"WZTo3LNu_mllmin01_ext1": "VV",
"WZTo3LNu": "VV"
}
}
54 changes: 44 additions & 10 deletions info/HH/bb1l/all_trainvars.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@
{"key": "bjet2_btagCSV", "true_int": 0}
{"key": "wjet1_btagCSV", "true_int": 0}
{"key": "wjet2_btagCSV", "true_int": 0}
{"key": "mht", "true_int": 0}
{"key": "lep_pt", "true_int": 0}
{"key": "bjet1_btagCSV", "true_int": 0}
{"key": "bjet2_btagCSV", "true_int": 0}
{"key": "wjet1_btagCSV", "true_int": 0}
{"key": "wjet2_btagCSV", "true_int": 0}
{"key": "met", "true_int": 0}
{"key": "mht", "true_int": 0}
{"key": "met_LD", "true_int": 0}
{"key": "HT", "true_int": 0}
{"key": "STMET", "true_int": 0}
Expand All @@ -33,11 +38,10 @@
{"key": "dPhi_Hbb", "true_int": 0}
{"key": "pT_Hbb", "true_int": 0}
{"key": "eta_Hbb", "true_int": 0}
{"key": "jpaScore", "true_int": 0}
{"key": "m_Wjj", "true_int": 0}
{"key": "pT_Wjj", "true_int": 0}
{"key": "dR_Wjj", "true_int": 0}
{"key": "dPhi_Wjj", "true_int": 0}
{"key": "pT_Wjj", "true_int": 0}
{"key": "dR_Hww", "true_int": 0}
{"key": "dPhi_Hww", "true_int": 0}
{"key": "pT_Hww", "true_int": 0}
Expand All @@ -46,6 +50,7 @@
{"key": "dR_b2lep", "true_int": 0}
{"key": "m_HHvis", "true_int": 0}
{"key": "pT_HHvis", "true_int": 0}
{"key": "eta_HHvis", "true_int": 0}
{"key": "dPhi_HHvis", "true_int": 0}
{"key": "m_HH", "true_int": 0}
{"key": "m_HH_B2G_18_008", "true_int": 0}
Expand All @@ -57,14 +62,43 @@
{"key": "mT_top_3particle", "true_int": 0}
{"key": "mindr_lep1_jet", "true_int": 0}
{"key": "avg_dr_jet_central", "true_int": 0}
{"key": "mll_loose", "true_int": 0}
{"key": "cosThetaS_WW", "true_int": 0}
{"key": "cosThetaS_HH", "true_int": 0}
{"key": "cosThetaS_Hbb", "true_int": 0}
{"key": "cosThetaS_Hbb_reg", "true_int": 0}
{"key": "leadFwdJet_pt", "true_int": 0}
{"key": "mbb_loose", "true_int": 0}
{"key": "mbb_medium", "true_int": 0}
{"key": "cosThetaS_Hbb", "true_int": 0}
{"key": "dR_HH", "true_int": 0}
{"key": "tau21_Hbb", "true_int": 1}
{"key": "cosThetaS_Wjj", "true_int": 0}
{"key": "cosThetaS_WW", "true_int": 0}
{"key": "cosThetaS_HH", "true_int": 0}
{"key": "mll_loose", "true_int": 0}
{"key": "mostFwdJet_eta", "true_int": 0}
{"key": "mostFwdJet_pt", "true_int": 0}
{"key": "leadFwdJet_pt", "true_int": 0}
{"key": "leadFwdJet_eta", "true_int": 0}
{"key": "numJets", "true_int": 1}
{"key": "numBJets_loose", "true_int": 1}
{"key": "numBJets_medium", "true_int": 1}
{"key": "selLepton_type", "true_int": 1}
{"key": "numJetsForward", "true_int": 1}
{"key": "mjj_highestpt", "true_int": 0}
{"key": "tau21_Hbb", "true_int": 1}
{"true_int": 0, "key": "jet1_e"}
{"true_int": 0, "key": "jet1_px"}
{"true_int": 0, "key": "jet1_py"}
{"true_int": 0, "key": "jet1_pz"}
{"true_int": 0, "key": "jet2_e"}
{"true_int": 0, "key": "jet2_px"}
{"true_int": 0, "key": "jet2_py"}
{"true_int": 0, "key": "jet2_pz"}
{"true_int": 0, "key": "met_e"}
{"true_int": 0, "key": "met_px"}
{"true_int": 0, "key": "met_py"}
{"true_int": 0, "key": "met_pz"}
{"true_int": 0, "key": "m_Hww"}
{"true_int": 0, "key": "m_HH_bbregCorr"}
{"true_int": 0, "key": "m_wlep"}
{"true_int": 0, "key": "dPhi_met_lep"}
{"true_int": 0, "key": "dR_lep_Wjj"}
{"true_int": 0, "key": "dR_lep_Hbb"}
{"true_int": 0, "key": "pT_wlep"}
{"true_int": 0, "key": "dPhi_met_Hbb"}
{"true_int": 0, "key": "dPhi_met_Wjj"}
9 changes: 9 additions & 0 deletions info/HH/bb1l/nonres/base/boosted/hyperparameters.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"n_estimators": 500,
"subsample": 0.8360804485364571,
"colsample_bytree": 0.3909355061932762,
"gamma": 5,
"learning_rate": 0.08691351095048883,
"max_depth": 6,
"min_child_weight": 212.33994104956497
}
Loading