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

Adding badGlobalMuonTagger to ICMuonProducer #167

Open
wants to merge 78 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
97a3a89
Changes for eta 3 spikes, coming from Raffaele. TO BE CHECKED by AM
Dec 1, 2016
3f20049
fix bug on: Changes for eta 3 spikes, coming from Raffaele. TO BE CHE…
Dec 1, 2016
079db6e
Saving trigger bits for all METMHT. TO BE CHECKED by AM
Dec 1, 2016
1617c01
Adding trigger bits for new METMHTs
Dec 1, 2016
1f998be
changes to leptons and vetos for synch with monojet
amagnan Dec 1, 2016
8fa0af1
Removing redundancy as suggested by AM
Dec 1, 2016
fa04846
fix conflicts
amagnan Dec 1, 2016
7776cb7
add trigger weights for metmht
amagnan Dec 2, 2016
7d860a3
changes to ltana
amagnan Dec 2, 2016
012258b
LTs for Maria
Dec 2, 2016
7cca73a
Merge branch 'HToInv_RDM' of github.com:riccardodimaria/ICHiggsTauTau…
Dec 2, 2016
d11cb5b
Addressing first 2 point in the TO-DO list from AM + LTs for Maria
Dec 2, 2016
9fff0eb
adding file
amagnan Dec 2, 2016
639eaf4
Merge branch 'HToInv_RDM' of https://github.com/riccardodimaria/ICHig…
amagnan Dec 2, 2016
4ba1448
Adding charged_had_energy_frac
Dec 2, 2016
dcb1d95
correcting idweights to include also loose leptons
amagnan Dec 2, 2016
b35adaa
Merge branch 'HToInv_RDM' of https://github.com/riccardodimaria/ICHig…
amagnan Dec 2, 2016
a729646
Adding 161031 filelist up-to-date
Dec 2, 2016
2cda499
adding dielectron CR
amagnan Dec 4, 2016
5a5d01f
TEST submission LTAna
Dec 4, 2016
1790ec8
adding single to filelist
amagnan Dec 4, 2016
b8f8f06
TEST submission LTAna
Dec 4, 2016
dec39f7
TEST submission LTAna
Dec 4, 2016
430449c
Adding Zee to make datacards
Dec 4, 2016
08a71de
Adding Zee to make datacards
Dec 4, 2016
be0b4af
Fixing possible bugs: TO BE CHECKED by AM
Dec 4, 2016
d68c372
separating trig weight properly
amagnan Dec 5, 2016
b9504f7
fix conflict
amagnan Dec 5, 2016
19dd2d6
Changes before HExo
Dec 5, 2016
f3ee577
Merge branch 'HToInv_RDM' of github.com:riccardodimaria/ICHiggsTauTau…
Dec 5, 2016
52bbd35
propagate change of trigger weight to e regions
amagnan Dec 5, 2016
de22f51
Merge branch 'HToInv_RDM' of https://github.com/riccardodimaria/ICHig…
amagnan Dec 5, 2016
46344e5
enu CR still not working
Dec 6, 2016
18431be
cout working for Powheg-VBFHtoinv-mH125 but not for WJetsToLNu-mg_spl…
Dec 6, 2016
5645883
Fixing issue with ee and enu regions, adding tauveto and bveto
Dec 7, 2016
8d23045
run on AM folder
amagnan Dec 8, 2016
f7f33bd
Merge branch 'HToInv_RDM' of https://github.com/riccardodimaria/ICHig…
amagnan Dec 8, 2016
fdd6fea
Fixed issues due to change variable name
Dec 8, 2016
f42b5ef
Single Electron LTs (B C D run) failed, others (E F run) are fine; [N…
Dec 9, 2016
8820f21
Fixing bugs and disabling type1cor_ in JetMETModifier.cc
Dec 12, 2016
62ae329
adding filelist for DATA
Dec 21, 2016
a9316f0
fixcards bash script
Jan 4, 2017
7ebaaac
fixcards bash script
Jan 4, 2017
f7ddc26
adding all jet frac variables to tree
amagnan Jan 6, 2017
4430f36
fixing conflicts
amagnan Jan 6, 2017
8ad8423
upadting to 2016 data electron id
amagnan Jan 9, 2017
7de1cc9
fixing bug in jet smearing for unmatched jets
amagnan Jan 11, 2017
864db5b
Trying to reweight W/Z from kfactors.root
Jan 11, 2017
903b2b8
Adding kfactors from Zeynep
Jan 11, 2017
0e4bf8a
Merge remote-tracking branch 'origin' into HToInv_RDM
Jan 11, 2017
94ab1e8
Trying to reweight W/Z from kfactors.root
Jan 11, 2017
94656e1
Trying to reweight W/Z from kfactors.root
Jan 11, 2017
7354de6
Up to Final run
Jan 13, 2017
8729e3b
New LTs after latest AM chages, 170113_ICHEP
Jan 13, 2017
8e310c9
Latest plots and limit, 170116
Jan 16, 2017
4cbc62d
fixing histos boundaries, adding variable metcut for enu region
amagnan Jan 17, 2017
ab1d589
merge conflicts fixed
amagnan Jan 17, 2017
ee54d0e
adding 3D hist for datacards
amagnan Jan 18, 2017
0444fef
adding code to optimise on 3D histo
amagnan Jan 19, 2017
4c57589
Pointless changes for compariso table
Jan 22, 2017
68612d3
Merge branch 'HToInv_RDM' of github.com:riccardodimaria/ICHiggsTauTau…
Jan 22, 2017
0924b52
Bugs after AM commit
Jan 23, 2017
ac8bafd
clean .hists files and correct log cout of integral adding overflows
amagnan Jan 24, 2017
126193a
NLO reweighting should be validated; right now it is giving silly res…
Jan 24, 2017
ec8c3de
Merge branch 'HToInv_RDM' of github.com:riccardodimaria/ICHiggsTauTau…
Jan 24, 2017
bd555a4
Comparison table ultimated
Jan 24, 2017
2c75769
Adding some private stuff in order to switch CMSSW version (CMSSW_8_0…
Jan 26, 2017
4f7188a
Merge remote-tracking branch 'origin' into HToInv_RDM
Jan 26, 2017
92ba7aa
Changing ICMuonProducer to select badMuons from Giovanni's patch
Jan 27, 2017
e0b631c
Removing redundant cuts from SR and QCD CR at LTAna step
Jan 27, 2017
5438581
Fixing bugs in producer
ahinzmann Jan 19, 2017
1173cb1
Try if everything is ok
Jan 30, 2017
03bb2a9
Good before cherry-pick
Jan 30, 2017
1ca223b
After cherry-pick: TO BE CHECKED BY AM
Jan 30, 2017
b6bb34e
Merge pull request #1 from riccardodimaria/HToInv_RDM
Jan 30, 2017
30ad750
Removing single files from filelists
Jan 30, 2017
3b317d3
Adding 161031.tar.gz
Jan 30, 2017
b164d94
Merge pull request #2 from riccardodimaria/HToInv_RDM
Jan 30, 2017
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
Prev Previous commit
Next Next commit
Bugs after AM commit
Riccardo Di Maria committed Jan 23, 2017
commit 0924b52e4e9f100baaa72ffcba0eb6a98655c2b9
4 changes: 2 additions & 2 deletions Analysis/HiggsNuNu/LightTreeAna/fixDatacards.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

for dir in cards_run2ana_170117/
for dir in cards_run2ana_TEST
do cd $dir
echo $dir:

@@ -28,4 +28,4 @@ for dir in cards_run2ana_170117/
cd ../
done

done
done
9 changes: 6 additions & 3 deletions Analysis/HiggsNuNu/LightTreeAna/scripts/DefaultRun2Config.cfg
Original file line number Diff line number Diff line change
@@ -11,8 +11,10 @@ do_list=false
listset=""
#uncomment for QCD mindphi plot in signal region
#basesel=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>800&&jet1_pt>80&&dijet_deta>3.6&& jet2_pt>70&&metnomuons>0
basesel=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>0 && jet1_pt>80 && dijet_deta>0 && jet2_pt>40 && metnomuons>200 && nloosephotons==0
baseselele=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>0 && jet1_pt>80 && dijet_deta>0 && jet2_pt>40 && metnoelectrons>200 && nloosephotons==0
#basesel=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>0 && jet1_pt>80 && dijet_deta>0 && jet2_pt>40 && metnomuons>200 && nloosephotons==0
#baseselele=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>0 && jet1_pt>80 && dijet_deta>0 && jet2_pt>40 && metnoelectrons>200 && nloosephotons==0
basesel=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>1100 && jet1_pt>80 && dijet_deta>3.6 && jet2_pt>40 && metnomuons>200 && nloosephotons==0
baseselele=jet1_eta*jet2_eta<0 && abs(jet1_eta)<4.7 && abs(jet2_eta)<4.7 && dijet_M>1100 && jet1_pt>80 && dijet_deta>3.6 && jet2_pt>40 && metnoelectrons>200 && nloosephotons==0
channel=munu
runblind=true
#runblind=false #to run unblind
@@ -24,7 +26,8 @@ blindcutreg=false
runblindreg=false
do_mcbkg=true
use_nlo=false
jetmetdphicut=alljetsmetnomu_mindphi>0.5
#jetmetdphicut=alljetsmetnomu_mindphi>0.5
jetmetdphicut=alljetsmetnomu_mindphi>2.3
metsigcut=3.0
#shapePar=jet1_pt(100,0,500)
#histTitlePar=\;jet1 p_{T} (GeV)\; Events
4 changes: 2 additions & 2 deletions Analysis/HiggsNuNu/LightTreeAna/scripts/makecards.sh
Original file line number Diff line number Diff line change
@@ -8,8 +8,8 @@ fi

DOSUBMIT=$1
DO4PARAMS=$2
infolder=output_run2ana_170117/
outfolder=cards_run2ana_170117/
infolder=output_run2ana_170123/
outfolder=cards_run2ana_170123/
blind=true
#zvvstat=18
mkdir -p $outfolder
Original file line number Diff line number Diff line change
@@ -21,13 +21,13 @@ export JOBSUBMIT=$JOBSCRIPT" "$JOBQUEUE
echo "Using job-wrapper: " $JOBWRAPPER
echo "Using job-submission: " $JOBSUBMIT

#CONFIG=scripts/DefaultRun2Config.cfg
CONFIG=scripts/DefaultRun2Config_jet70.cfg
CONFIG=scripts/DefaultRun2Config.cfg

QUEUEDIR=short #medium long

JOBDIRPREFIX=jobs_run2ana_170118
JOBDIRPREFIX=jobs_run2ana_170123
JOBDIR=$JOBDIRPREFIX/
OUTPUTPREFIX=output_run2ana_170118
OUTPUTPREFIX=output_run2ana_170123
OUTPUTDIR=$OUTPUTPREFIX/

OUTPUTNAME="output.root"
@@ -63,12 +63,12 @@ export JOBSUBMIT=$JOBSCRIPT" "$JOBQUEUE
echo "Using job-submission: " $JOBSUBMIT

echo "JOB name = $JOB"
for syst in "" #JESUP JESDOWN JERBETTER JERWORSE ELEEFFUP ELEEFFDOWN MUEFFUP MUEFFDOWN PUUP PUDOWN TRIG0UP TRIG0DOWN TRIG1UP TRIG1DOWN TRIG2UP TRIG2DOWN UESUP UESDOWN
for syst in "" JESUP JESDOWN JERBETTER JERWORSE ELEEFFUP ELEEFFDOWN MUEFFUP MUEFFDOWN PUUP PUDOWN TRIG0UP TRIG0DOWN TRIG1UP TRIG1DOWN TRIG2UP TRIG2DOWN UESUP UESDOWN
#for syst in JESUP JESDOWN JERBETTER JERWORSE ELEEFFUP ELEEFFDOWN MUEFFUP MUEFFDOWN PUUP PUDOWN TRIG0UP TRIG0DOWN TRIG1UP TRIG1DOWN TRIG2UP TRIG2DOWN UESUP UESDOWN
do
mkdir -p $JOBDIR$syst
mkdir -p $OUTPUTDIR$syst
for channels in enu munu taunu ee mumu #qcd nunu
for channels in enu munu taunu ee mumu qcd nunu
do
JOB=$channels
#To debug
@@ -78,11 +78,11 @@ do
#HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}_nomindphi.hists`
#SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}_nomindphi.hists`
## To produce all of the hist
#HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}.hists`
#SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}.hists`
HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}.hists`
SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}.hists`
## To produce all of the hist for datacard
HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}_datacard.hists`
SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}_datacard.hists`
############HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}_datacard.hists`
############SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}_datacard.hists`
#HISTSTRING=`awk '{FS="\t"}{ORS="!"}{print $2}' scripts/${channels}_sig.hists`
#SHAPESTRING=`awk '{ORS="!"}{print $1}' scripts/${channels}_sig.hists`
## To test for one hist
@@ -95,22 +95,26 @@ do
echo "Making histograms: " $SHAPESTRING
OUTPUTNAME="$channels.root"
#MINDPHICUT="alljetsmetnomu_mindphi\>=0"
MINDPHICUT="alljetsmetnomu_mindphi\>=0.5"
############MINDPHICUT="alljetsmetnomu_mindphi\>=0.5"
MINDPHICUT="alljetsmetnomu_mindphi\>=2.3"
#MINDPHICUT="alljetsmetnomu_mindphi\>=1."
if [ "$channels" = "taunu" ]; then
MINDPHICUT="jetmetnomu_mindphi\>=1.0" #\&\&alljetsmetnomu_mindphi\<2.3"
############MINDPHICUT="jetmetnomu_mindphi\>=1.0" #\&\&alljetsmetnomu_mindphi\<2.3"
MINDPHICUT="jetmetnomu_mindphi\>=1.0\&\&alljetsmetnomu_mindphi\<2.3"
fi
if [ "$channels" = "qcd" ]; then
MINDPHICUT="alljetsmetnomu_mindphi\<0.5"
#MINDPHICUT="alljetsmetnomu_mindphi\>=0"
fi
if [ "$channels" = "ee" ]; then
#MINDPHICUT="alljetsmetnoel_mindphi\>=0"
MINDPHICUT="alljetsmetnoel_mindphi\>=0.5"
############MINDPHICUT="alljetsmetnoel_mindphi\>=0.5"
MINDPHICUT="alljetsmetnoel_mindphi\>=2.3"
fi
if [ "$channels" = "enu" ]; then
#MINDPHICUT="alljetsmetnoel_mindphi\>=0"
MINDPHICUT="alljetsmetnoel_mindphi\>=0.5"
############MINDPHICUT="alljetsmetnoel_mindphi\>=0.5"
MINDPHICUT="alljetsmetnoel_mindphi\>=2.3"
fi
if [ "$syst" = "" ]
then
4 changes: 2 additions & 2 deletions Analysis/HiggsNuNu/scripts/submit_lighttree_mcRDM.sh
Original file line number Diff line number Diff line change
@@ -40,11 +40,11 @@ for SYST in MUEFFUP MUEFFDOWN
SYSTOPTIONS="--dojessyst=false --dojersyst=false"

#JOBDIRPREFIX=/vols/cms/rd1715/HiggsToInv/jobs_lighttree_${PRODUCTION}_ICHEP
JOBDIRPREFIX=/vols/cms/rd1715/HiggsToInv/jobs_lighttree_170118_ICHEP_OWP
JOBDIRPREFIX=/vols/cms/rd1715/HiggsToInv/jobs_lighttree_170118_ICHEP
#JOBDIRPREFIX=/vols/cms/magnan/Hinvisible/RunIILT/jobs_lighttree_170111
JOBDIR=$JOBDIRPREFIX/
#OUTPUTPREFIX=/vols/cms/rd1715/HiggsToInv/output_lighttree_${PRODUCTION}_ICHEP
OUTPUTPREFIX=/vols/cms/rd1715/HiggsToInv/output_lighttree_170118_ICHEP_OWP
OUTPUTPREFIX=/vols/cms/rd1715/HiggsToInv/output_lighttree_170118_ICHEP
#OUTPUTPREFIX=/vols/cms/magnan/Hinvisible/RunIILT/output_lighttree_170111

OUTPUTDIR=$OUTPUTPREFIX/