Skip to content

Commit

Permalink
fix reclusterJets parameter initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieu committed Feb 1, 2017
1 parent e27b208 commit 65de13a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def __call__(self, process,
self.setParameter('addToPatDefaultSequence',addToPatDefaultSequence),
self.setParameter('jetSelection',jetSelection),
self.setParameter('recoMetFromPFCs',recoMetFromPFCs),
self.setParameter('reclusterJets',reclusterJets),
self.setParameter('runOnData',runOnData),
self.setParameter('onMiniAOD',onMiniAOD),
self.setParameter('postfix',postfix),
Expand Down Expand Up @@ -250,7 +251,7 @@ def __call__(self, process,

#jet collection overloading for automatic jet reclustering or JEC application
if reclusterJets:
self.setParameter('jetCollectionUnskimmed',cms.InputTag('patJets'))
self.setParameter('jetCollectionUnskimmed',cms.InputTag('patJets'+postfix))

self.apply(process)

Expand Down

0 comments on commit 65de13a

Please sign in to comment.