Skip to content

Commit

Permalink
fixing skimmer
Browse files Browse the repository at this point in the history
  • Loading branch information
alefisico committed May 18, 2020
1 parent ce1bdf9 commit 41b56a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Skimmer/python/nSubProducer_withAllSel.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, selection='dijet', sysSource=[], leptonSF={}, year='2016', cr
self.minLeadAK8JetPtW = 200.
self.minSDMassW = 60. ### looser to pick low bins
self.maxSDMassW = 120. ### looser to pick higher bins
self.minLeadAK8JetPtTop= 450.
self.minLeadAK8JetPtTop= 350.
self.minSDMassTop = 140.
self.METCutWtop = 40.

Expand Down Expand Up @@ -521,7 +521,7 @@ def recoSelection( self, event, genAK8jet ):


#### Creating Nsub basis, filling histos and creating branches IF iSel
if (len(recoAK8jetInfo)>0): ### similar as if iSel
if (len(recoAK8jetInfo)>0) and ('jet' in recoAK8jetInfo[next(iter(recoAK8jetInfo))]): ### similar as if iSel

#### Basic reco histos
getattr( self, 'nPVs'+iSel ).Fill( getattr( event, 'PV_npvsGood'), weight )
Expand Down
3 changes: 1 addition & 2 deletions Skimmer/test/multicrab_nSubProducer.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,10 @@ def createBash():

def submitJobs( job, inputFiles, unitJobs ):


from CRABAPI.RawCommand import crabCommand
from WMCore.Configuration import Configuration
config = Configuration()

from CRABAPI.RawCommand import crabCommand
from httplib import HTTPException

# We want to put all the CRAB project directories from the tasks we submit here into one common directory. =
Expand Down

0 comments on commit 41b56a3

Please sign in to comment.