diff --git a/Skimmer/python/nSubProducer_withAllSel.py b/Skimmer/python/nSubProducer_withAllSel.py index 5fedb67..690ccd0 100644 --- a/Skimmer/python/nSubProducer_withAllSel.py +++ b/Skimmer/python/nSubProducer_withAllSel.py @@ -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. @@ -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 ) diff --git a/Skimmer/test/multicrab_nSubProducer.py b/Skimmer/test/multicrab_nSubProducer.py index 5b57a8c..b6ce255 100644 --- a/Skimmer/test/multicrab_nSubProducer.py +++ b/Skimmer/test/multicrab_nSubProducer.py @@ -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. =