Skip to content

Commit

Permalink
Merge pull request #3 from senkin/jjacob-master
Browse files Browse the repository at this point in the history
Fixing the recipe
  • Loading branch information
jjacob committed Jun 16, 2014
2 parents 22b7ab3 + fb7fe12 commit 5f4d99e
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions python/EventFilter_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
TracksInput=cms.InputTag('generalTracks'),

# Specify input collections
electronInput=cms.InputTag("gsfElectrons"),
muonInput=cms.InputTag("cleanPatMuons"),
jetInput=cms.InputTag("ak5CaloJets"),
electronInput=cms.InputTag("selectedPatElectronsLoosePFlow"),
muonInput=cms.InputTag("selectedPatMuonsLoosePFlow"),
jetInput=cms.InputTag("selectedPatJetsPFlow"),

# Specifiy number of jets
minNJets=cms.int32(-1),
Expand Down
3 changes: 1 addition & 2 deletions python/Jets_Setup_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,4 @@ def setup_jets(process, cms, options, postfix="PFlow"):
pfNoElectron = getattr(process, "pfNoElectron" + postfix)
for module in additionalJets :
getattr(process, "patPF2PATSequence" + postfix).replace(pfNoElectron, pfNoElectron * module)

process.patJets.discriminatorSources = cms.VInputTag(cms.InputTag("combinedSecondaryVertexBJetTags"), cms.InputTag("combinedSecondaryVertexMVABJetTags"), cms.InputTag("jetBProbabilityBJetTags"), cms.InputTag("jetProbabilityBJetTags"), cms.InputTag("simpleSecondaryVertexHighEffBJetTags"), cms.InputTag("simpleSecondaryVertexHighPurBJetTags"), cms.InputTag("trackCountingHighEffBJetTags"), cms.InputTag("trackCountingHighPurBJetTags"))

6 changes: 3 additions & 3 deletions python/MET_Setup_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ def setup_MET_uncertainties(process, cms, options, postfix="PFlow"):
process.pfMEtSysShiftCorr.parameter = metSysShiftCorrParameter

runMEtUncertainties(process,
electronCollection = cms.InputTag('cleanPatElectrons'),
muonCollection = 'cleanPatMuons',
tauCollection = 'cleanPatTaus',
electronCollection = cms.InputTag('patElectronsPFlow'),
muonCollection = 'patMuonsPFlow',
tauCollection = 'patTausPFlow',
jetCollection = cms.InputTag('goodPatJetsPFlow'),
jetCorrLabel = inputJetCorrLabelForMETuncertainties,
doSmearJets = not options.useData,
Expand Down
4 changes: 2 additions & 2 deletions python/NTupleTools_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,8 @@
process.genParticlesForJetsNoNu *
getattr(process, "patPF2PATSequence" + postfix) *
process.looseLeptonSequence *
process.patDefaultSequence *
process.goodPatJets *
#process.patDefaultSequence *
#process.goodPatJets *
process.goodPatJetsPFlow *
process.metUncertaintySequence *
process.EventFilters *
Expand Down
1 change: 1 addition & 0 deletions python/NTupler_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def setup_ntupler(process, cms, options):
process.rootNTuples.remove(process.rootTupleCaloMET)
process.rootNTuples.remove(process.rootTupleElectrons)
process.rootNTuples.remove(process.nTupleMuons)
process.rootNTuples.remove(process.rootTuplePhotons)

if not options.writeFat and not options.writeIsolatedPFLeptons:#write only PF particles
#isolated leptons
Expand Down

0 comments on commit 5f4d99e

Please sign in to comment.