-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3631 from rappoccio/rappoccio_AK5_To_AK4_710pre7
ak5 to ak4 transition
- Loading branch information
Showing
195 changed files
with
7,103 additions
and
6,848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import RecoJets.JetProducers.ak5PFJets_cfi | ||
import RecoJets.JetProducers.ak4PFJets_cfi | ||
import RecoJets.JetProducers.ic5PFJets_cfi | ||
|
||
def jetAlgo( algo ): | ||
|
||
# print 'PF2PAT: selecting jet algorithm ', algo | ||
|
||
if algo == 'IC5': | ||
#allPfJets = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone() | ||
jetAlgo = RecoJets.JetProducers.ic5PFJets_cfi.iterativeCone5PFJets.clone() | ||
elif algo == 'AK5': | ||
jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone() | ||
elif algo == 'AK4': | ||
jetAlgo = RecoJets.JetProducers.ak4PFJets_cfi.ak4PFJets.clone() | ||
elif algo == 'AK7': | ||
jetAlgo = RecoJets.JetProducers.ak5PFJets_cfi.ak5PFJets.clone() | ||
jetAlgo = RecoJets.JetProducers.ak4PFJets_cfi.ak4PFJets.clone() | ||
jetAlgo.rParam = cms.double(0.7) | ||
jetAlgo.doAreaFastjet = cms.bool(False) | ||
|
||
jetAlgo.src = 'pfNoElectronJME' | ||
jetAlgo.doPVCorrection = True | ||
jetAlgo.srcPVs = cms.InputTag("goodOfflinePrimaryVertices") | ||
return jetAlgo | ||
return jetAlgo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
# Clone pfMET producer from RecoMET | ||
# Clone pfMET producer from RecoMET | ||
from RecoMET.METProducers.PFMET_cfi import * | ||
|
||
# Should the name be changed se it is similar to pfMet from reco ?? | ||
pfMET = pfMet.clone(alias="pfMET") | ||
|
||
# Use PF2PAT cleaned jet collection (pfJets) for MET significance | ||
# instead of standard collection (ak5PFJets)? | ||
# instead of standard collection (ak4PFJets)? | ||
# It requires that MET is produced at the end. | ||
pfMET.jets = cms.InputTag("pfJets") | ||
|
||
# print 'PF2PAT: Jet collection used for pfMET significance: ', pfMET.jets | ||
# print 'PF2PAT: Jet collection used for pfMET significance: ', pfMET.jets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.