Skip to content

Commit

Permalink
Updated electron ID and pt cut
Browse files Browse the repository at this point in the history
  • Loading branch information
ram1123 committed Jun 20, 2021
1 parent 260e309 commit 3064bb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions HZZAnalysisModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def analyze(self, event):
fatJets = Collection(event, "FatJet")
keepIt = True

SelectedElectrons = [x for x in electrons if x.pt > 15 and x.cutBased>3]
SelectedMuons = [x for x in muons if x.pt > 15 and x.tightId>=1]
SelectedElectrons = [x for x in electrons if x.pt > 10 and x.cutBased>=2]
SelectedMuons = [x for x in muons if x.pt > 10 and x.tightId>=1]
SelectedJets = [x for x in jets if x.pt > 20]
SelectedFatJets = [x for x in fatJets if x.pt > 200]

Expand Down
2 changes: 1 addition & 1 deletion post_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
testfile = "root://cms-xrd-global.cern.ch//store/mc/RunIISummer20UL18NanoAODv2/GluGluHToZZTo2L2Q_M3000_TuneCP5_13TeV_powheg2_JHUGenV7011_pythia8/NANOAODSIM/106X_upgrade2018_realistic_v15_L1v1-v1/50000/11F21FB5-7535-B249-8F59-1173DC384F33.root"
# testfile = "file:/tmp/rasharma/11F21FB5-7535-B249-8F59-1173DC384F33.root"

entriesToRun = 100 # 0 if need to run over all entries else put number of entries to run
entriesToRun = 1000 # 0 if need to run over all entries else put number of entries to run
isMCTrueFalse = True
# Keep DownloadFileToLocalThenRun=True this should reduce the file read error from eos.
DownloadFileToLocalThenRun=True
Expand Down

0 comments on commit 3064bb0

Please sign in to comment.