diff --git a/HZZAnalysisModule.py b/HZZAnalysisModule.py index 202a492..fa5a89b 100644 --- a/HZZAnalysisModule.py +++ b/HZZAnalysisModule.py @@ -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] diff --git a/post_proc.py b/post_proc.py index 0564b6f..012e4ef 100755 --- a/post_proc.py +++ b/post_proc.py @@ -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