Skip to content

Commit

Permalink
Merge pull request #1 from GonzalezFJR/80X_M17
Browse files Browse the repository at this point in the history
80 x m17
  • Loading branch information
vischia authored Dec 5, 2016
2 parents 5a0861b + 4580136 commit ecc79b1
Show file tree
Hide file tree
Showing 14 changed files with 1,027 additions and 192 deletions.
723 changes: 723 additions & 0 deletions TTHAnalysis/python/plotter/functions.cc

Large diffs are not rendered by default.

11 changes: 10 additions & 1 deletion TTHAnalysis/python/plotter/susy-ewkino/2lss/cuts_2lss.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pt2010: LepGood1_conePt>20 && (abs(LepGood1_pdgId)!=11 || LepGood1_conePt>25) &&
pt25: if3(abs(LepGood1_pdgId)!=13 && abs(LepGood2_pdgId)!=11,LepGood1_conePt>25,1)
TT: LepGood1_isTight && LepGood2_isTight
#exclusive: nLepTight<=2 && if3(nLepFO>2,LepGood3_mvaSUSY<-0.20+(0.20+0.50)*(abs(LepGood3_pdgId)==11),1) && nTightTauSel==0
exclusive: nLepTight_Mini<3 && nTightTauSel==0
#exclusive: nLepTight_Mini<3 && nTightTauSel==0
exclusive: nLepTight_Recl<3 && nTightTauSel==0
same-sign: (LepGood1_charge*LepGood2_charge > 0)
met: met_pt > 60
0bjetM: nBJetMedium25 == 0
Expand All @@ -32,11 +33,19 @@ ee: abs(LepGood1_pdgId)==11 && abs(LepGood2_pdgId)==11; Disable=True
em: abs(LepGood1_pdgId) != abs(LepGood2_pdgId); Disable=True
mm: abs(LepGood1_pdgId)==13 && abs(LepGood2_pdgId)==13; Disable=True
sr: SR_ewk_ss2l(nJet40,LepGood1_pt,LepGood1_phi, LepGood2_pt,LepGood2_phi, met_pt,met_phi)>0; Disable=True
nomet100: met_pt < 100; Disable=True
met100: met_pt > 100; Disable=True
met140: met_pt > 140; Disable=True
met250: met_pt > 250; Disable=True
met200: met_pt > 200; Disable=True
met150: met_pt > 100 && met_pt < 150 ; Disable=True
metge150: met_pt > 150 ; Disable=True
mtminse100: min(mt_2(LepGood1_pt,LepGood1_phi,met_pt,met_phi),mt_2(LepGood2_pt,LepGood2_phi,met_pt,met_phi)) < 100 ; Disable=True
mtmin100: min(mt_2(LepGood1_pt,LepGood1_phi,met_pt,met_phi),mt_2(LepGood2_pt,LepGood2_phi,met_pt,met_phi)) > 100 ; Disable=True
ptdil0: pt_2(LepGood1_pt, LepGood1_phi, LepGood2_pt, LepGood2_phi) < 50 ; Disable=True
ptdil50: pt_2(LepGood1_pt, LepGood1_phi, LepGood2_pt, LepGood2_phi) > 50 && pt_2(LepGood1_pt, LepGood1_phi, LepGood2_pt, LepGood2_phi) < 100 ; Disable=True
ptll: (LepGood1_pt + LepGood2_pt) < 120 ; Disable=True
ptdil100: pt_2(LepGood1_pt, LepGood1_phi, LepGood2_pt, LepGood2_phi) > 100 ; Disable=True
Cutptdil: pt_2(LepGood1_pt, LepGood1_phi, LepGood2_pt, LepGood2_phi) < 60 ; Disable = True
gHH: (LepGood1_pt > 30 && LepGood2_pt > 30); Disable=True
noHH: !(LepGood1_pt > 30 && LepGood2_pt > 30); Disable=True
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_2(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
weight: (35.0/12.9)*fakeRateWeight_2lss_2(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
#####FOR 80X
load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_data_comb
load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_data_comb
#load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_data_comb
#load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_data_comb
load-histo: FR2_mu : $CMSSW_BASE/src/CMGTools/TTHAnalysis/data/fakerate/FR2016_LightFlavor_13invfb_VT.root : FR_susy_wpV_mu_data_comb
load-histo: FR2_el : $CMSSW_BASE/src/CMGTools/TTHAnalysis/data/fakerate/FR2016_LightFlavor_13invfb_VT.root : FR_susy_wpV_el_data_comb

#cut-change: LepGood_isTight_Mini\[iF_Mini\[0\]\]: 1
#cut-change: LepGood_isTight_Mini\[iF_Mini\[1\]\]: 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_down(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
load-histo: FR4_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_data_comb_down
load-histo: FR4_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_data_comb_down
load-histo: FR4_mu : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_mu_data_comb_down
load-histo: FR4_el : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_el_data_comb_down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_up(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
load-histo: FR3_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_data_comb_up
load-histo: FR3_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_data_comb_up
load-histo: FR3_mu : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_mu_data_comb_up
load-histo: FR3_el : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_el_data_comb_up
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_2(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
#####FOR 80X
#load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_data_comb
#load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_data_comb
load-histo: FR2_mu : $CMSSW_BASE/src/CMGTools/TTHAnalysis/data/fakerate/FR2016_LightFlavor_13invfb_VT.root : FR_susy_wpV_mu_data_comb
load-histo: FR2_el : $CMSSW_BASE/src/CMGTools/TTHAnalysis/data/fakerate/FR2016_LightFlavor_13invfb_VT.root : FR_susy_wpV_el_data_comb

#cut-change: LepGood_isTight_Mini\[iF_Mini\[0\]\]: 1
#cut-change: LepGood_isTight_Mini\[iF_Mini\[1\]\]: 1
#weight: fakeRateWeight_2lss_2(LepGood_conePt[iF_Mini[0]],LepGood_eta[iF_Mini[0]],LepGood_pdgId[iF_Mini[0]],LepGood_isTight_Mini[iF_Mini[0]], LepGood_conePt[iF_Mini[1]],LepGood_eta[iF_Mini[1]],LepGood_pdgId[iF_Mini[1]],LepGood_isTight_Mini[iF_Mini[1]])
#load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb_3l.root : FR_susy_wpM_mu_data_comb
#load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb_3l.root : FR_susy_wpM_el_data_comb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_2(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
#FOR 80X
load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_QCD
load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_QCD
load-histo: FR2_mu : /nfs/fanae/user/carlosec/AuxTrees/ewkino/fr_comb.root : FR_susy_wpV_mu_QCD
load-histo: FR2_el : /nfs/fanae/user/carlosec/AuxTrees/ewkino/fr_comb.root : FR_susy_wpV_el_QCD
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ cut-change: LepGood_isTight_Recl\[iF_Recl\[0\]\]: 1
cut-change: LepGood_isTight_Recl\[iF_Recl\[1\]\]: 1
weight: fakeRateWeight_2lss_2(LepGood_conePt[iF_Recl[0]],LepGood_eta[iF_Recl[0]],LepGood_pdgId[iF_Recl[0]],LepGood_isTight_Recl[iF_Recl[0]], LepGood_conePt[iF_Recl[1]],LepGood_eta[iF_Recl[1]],LepGood_pdgId[iF_Recl[1]],LepGood_isTight_Recl[iF_Recl[1]])
#FOR 80X
load-histo: FR2_mu : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_mu_TT
load-histo: FR2_el : /afs/cern.ch/work/f/folguera/trees/ewkino/fr_comb.root : FR_susy_wpV_el_TT
load-histo: FR2_mu : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_mu_TT
load-histo: FR2_el : /nfs/fanae/user/carlosec/AuxTrees/fr_comb.root : FR_susy_wpV_el_TT
2 changes: 1 addition & 1 deletion TTHAnalysis/python/plotter/susy-ewkino/2lss/flips_appl.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cut-change: LepGood_charge\[iF_Recl\[1\]\]: (-LepGood_charge[iF_Recl[1]])
weight: chargeFlipWeight_2lss(LepGood1_pt,LepGood1_eta,LepGood1_pdgId,LepGood2_pt,LepGood2_eta,LepGood2_pdgId)
### 80X
load-histo: QF_el : /afs/cern.ch/work/f/folguera/trees/ewkino/chargeMId_80X_2016_ewkino.root : elChMId
load-histo: QF_el : /nfs/fanae/user/nachos/ForECO/chargeMId_80X_2016_ewkino.root : elChMId

Loading

0 comments on commit ecc79b1

Please sign in to comment.