-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 77556 b: "refs/heads/CMSSW_7_1_X" c: 11c7551 h: "refs/heads/CMSSW_7_1_X" v: v3
- Loading branch information
Colin Bernet
committed
Nov 10, 2009
1 parent
4eae78c
commit e11bc0f
Showing
5 changed files
with
49 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
refs/heads/gh-pages: 09c786f70121f131b3715aaf3464996502bbeb7e | ||
"refs/heads/CMSSW_7_1_X": fbc8bd7e7fa9c5f5f4abe9f2730c1f7fc72fa908 | ||
"refs/heads/CMSSW_7_1_X": 11c7551f5413449c426735028ea04bb0fdf9af76 |
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
17 changes: 17 additions & 0 deletions
17
trunk/PhysicsTools/PFCandProducer/python/Tools/jetTools.py
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
import RecoJets.JetProducers.ak5PFJets_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() | ||
|
||
jetAlgo.src = 'pfNoElectron' | ||
return jetAlgo |
24 changes: 24 additions & 0 deletions
24
trunk/PhysicsTools/PFCandProducer/python/genForPF2PAT_cff.py
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from PhysicsTools.PFCandProducer.GeneratorTools.genMetTrue_cff import * | ||
|
||
#not necessary? | ||
from PhysicsTools.PFCandProducer.GeneratorTools.sortGenParticles_cff import * | ||
|
||
# To reconstruct genjets without the neutrinos | ||
from RecoJets.Configuration.GenJetParticles_cff import * | ||
from RecoJets.Configuration.RecoGenJets_cff import * | ||
genParticlesForJets.ignoreParticleIDs.append(14) | ||
genParticlesForJets.ignoreParticleIDs.append(12) | ||
genParticlesForJets.ignoreParticleIDs.append(16) | ||
genParticlesForJets.excludeResonances = False | ||
|
||
ak5GenJetsNoNu.src = "genParticlesForJets" | ||
iterativeCone5GenJetsNoNu.src = "genParticlesForJets" | ||
|
||
genForPF2PATSequence = cms.Sequence( | ||
genMetTrueSequence + | ||
genJetParticles + | ||
ak5GenJetsNoNu + | ||
iterativeCone5GenJetsNoNu | ||
) |
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