python mcPlots.py --pdir 2lss_legacy_closuretest_mufake/all/2lss_legacy_closuretest_mufake --xf THQ_LHE,THW_LHE,TTTW,TTWH --FMCs {P}/0_jmeUnc_v1 --FDs {P}/1_recl --FMCs {P}/1_recl_allvars --FMCs {P}/2_btag_SFs --FMCs {P}/2_scalefactors_lep_fixed --Fs {P}/3_tauCount --Fs {P}/4_evtVars  --Fs {P}/5_BDThtt_reco_new_blah --Fs {P}/6_mva2lss --Fs {P}/6_mva3l --Fs {P}/6_mva4l   -P /pool/ciencias/HeppyTrees/EdgeZ/TTH//NanoTrees_TTH_090120_091019_v6_skim2lss/  -f -j 32 -l 35.9,41.4,59.7 -L ttH-multilepton/functionsTTH.cc --tree NanoAOD --mcc ttH-multilepton/lepchoice-ttH-FO.txt --split-factor=-1 --WA prescaleFromSkim --year 2016,2017,2018  --mcc ttH-multilepton/mcc-METFixEE2017.txt --maxRatioRange 0.0 2.49 --fixRatioRange   --showRatio --attachRatioPanel --fixRatioRange  --legendColumns 1 --legendWidth 0.4  --legendFontSize 0.042  --noCms --topSpamSize 1.1 --lspam '#scale[1.1]{#bf{CMS}} #scale[0.9]{#it{Preliminary}}'   --showMCError --rebin 4 --xP 'nT_.*' --xP 'debug_.*' ttH-multilepton/mca-2lss-mc-closuretest.txt ttH-multilepton/2lss_tight_legacy.txt  -W 'L1PreFiringWeight_Nom*puWeight*btagSF_shape*leptonSF_2lss*triggerSF_ttH(LepGood1_pdgId, LepGood1_conePt, LepGood2_pdgId, LepGood2_conePt, 2, year)' ttH-multilepton/2lss_3l_plots.txt --xP '^lep(3|4)_.*' --xP '^(3|4)lep_.*' --xP 'kinMVA_3l_.*'  --binname 2lss  --AP --plotmode nostack --sP 2lep_catIndex_nosign --sP 2lep_catIndex --sP kinMVA_2lss_ttbar --sP kinMVA_2lss_ttV --sP nBJetMedium25 --sP 2lep_nJet25_from4 --sP lep1_conePt --sP lep2_conePt --sP lep1_eta --sP lep2_eta  --sP kinMVA_2lss_MVA --sP kinMVA_2lss_score_.*  -p TT_FR_QCD -p TT_FR_TT -p TT_fake --ratioDen TT_FR_QCD --ratioNums TT_fake,TT_FR_TT --errors  -A alwaystrue mufake '(abs(LepGood1_pdgId)==13 && LepGood1_mcMatchId==0) || (abs(LepGood2_pdgId)==13 && LepGood2_mcMatchId==0)' --sP muo_fake_conePt


python mcPlots.py --pdir 2lss_legacy_closuretest_elfake/all/2lss_legacy_closuretest_elfake --xf THQ_LHE,THW_LHE,TTTW,TTWH --FMCs {P}/0_jmeUnc_v1 --FDs {P}/1_recl --FMCs {P}/1_recl_allvars --FMCs {P}/2_btag_SFs --FMCs {P}/2_scalefactors_lep_fixed --Fs {P}/3_tauCount --Fs {P}/4_evtVars  --Fs {P}/5_BDThtt_reco_new_blah --Fs {P}/6_mva2lss --Fs {P}/6_mva3l --Fs {P}/6_mva4l   -P /pool/ciencias/HeppyTrees/EdgeZ/TTH//NanoTrees_TTH_090120_091019_v6_skim2lss/  -f -j 32 -l 35.9,41.4,59.7 -L ttH-multilepton/functionsTTH.cc --tree NanoAOD --mcc ttH-multilepton/lepchoice-ttH-FO.txt --split-factor=-1 --WA prescaleFromSkim --year 2016,2017,2018  --mcc ttH-multilepton/mcc-METFixEE2017.txt --maxRatioRange 0.0 2.49 --fixRatioRange   --showRatio --attachRatioPanel --fixRatioRange  --legendColumns 1 --legendWidth 0.4  --legendFontSize 0.042  --noCms --topSpamSize 1.1 --lspam '#scale[1.1]{#bf{CMS}} #scale[0.9]{#it{Preliminary}}'   --showMCError --rebin 4 --xP 'nT_.*' --xP 'debug_.*' ttH-multilepton/mca-2lss-mc-closuretest.txt ttH-multilepton/2lss_tight_legacy.txt  -W 'L1PreFiringWeight_Nom*puWeight*btagSF_shape*leptonSF_2lss*triggerSF_ttH(LepGood1_pdgId, LepGood1_conePt, LepGood2_pdgId, LepGood2_conePt, 2, year)' ttH-multilepton/2lss_3l_plots.txt --xP '^lep(3|4)_.*' --xP '^(3|4)lep_.*' --xP 'kinMVA_3l_.*'  --binname 2lss  --AP --plotmode nostack --sP 2lep_catIndex_nosign --sP 2lep_catIndex --sP kinMVA_2lss_ttbar --sP kinMVA_2lss_ttV --sP nBJetMedium25 --sP 2lep_nJet25_from4 --sP lep1_conePt --sP lep2_conePt --sP lep1_eta --sP lep2_eta  --sP kinMVA_2lss_MVA --sP kinMVA_2lss_score_.*  -p TT_FR_QCD -p TT_FR_TT -p TT_fake --ratioDen TT_FR_QCD --ratioNums TT_fake,TT_FR_TT --errors  -A alwaystrue elfake '(abs(LepGood1_pdgId)==11 && (LepGood1_mcMatchId==0 && LepGood1_mcPromptGamma==0)) || (abs(LepGood2_pdgId)==11 && (LepGood2_mcMatchId==0 && LepGood2_mcPromptGamma==0))' --sP ele_fake_conePt
