Skip to content

Commit

Permalink
Let standard jets use proper references, when PF ones are additionall…
Browse files Browse the repository at this point in the history
…y produced under same name.
  • Loading branch information
Volker Adler authored and ktf committed Oct 2, 2013
1 parent 5ce44f8 commit cce2136
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions PhysicsTools/PatAlgos/test/patTuple_addBTagging_cfg.py
Expand Up @@ -6,10 +6,22 @@
## to run in un-scheduled mode uncomment the following lines
process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff")
process.load("PhysicsTools.PatAlgos.selectionLayer1.selectedPatCandidates_cff")
from PhysicsTools.PatAlgos.tools.metTools import addMETCollection

addMETCollection(process, labelName='patMETTC', metSource='tcMet')
addMETCollection(process, labelName='patMETPF', metSource='pfType1CorrectedMet')
# FIXME BEGIN: needed as long as new input not available in input RelVals
process.load("RecoJets.JetAssociationProducers.ak5JTA_cff")
process.load("RecoJets.JetAssociationProducers.ak7JTA_cff")
process.patJets.discriminatorSources = cms.VInputTag(
cms.InputTag("jetBProbabilityBJetTags::RECO"),
cms.InputTag("jetProbabilityBJetTags::RECO"),
cms.InputTag("trackCountingHighPurBJetTags::RECO"),
cms.InputTag("trackCountingHighEffBJetTags::RECO"),
cms.InputTag("simpleSecondaryVertexHighEffBJetTags::RECO"),
cms.InputTag("simpleSecondaryVertexHighPurBJetTags::RECO"),
cms.InputTag("combinedSecondaryVertexBJetTags::RECO")
)
process.patJets.trackAssociationSource = cms.InputTag("ak5JetTracksAssociatorAtVertex::RECO")
process.patJets.jetIDMap = cms.InputTag("ak5JetID::RECO")
# FIXME END

## uncomment the following line to add different jet collections
## to the event content
Expand Down

0 comments on commit cce2136

Please sign in to comment.