Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004 from Configuration.StandardSequences.MagneticField_cff import *
00005
00006 patAODTrackCandsUnfiltered = cms.EDProducer("ConcreteChargedCandidateProducer",
00007 src = cms.InputTag("generalTracks"),
00008 particleType = cms.string('mu+')
00009 )
00010
00011 patAODTrackCands = cms.EDFilter("CandViewSelector",
00012 src = cms.InputTag("patAODTrackCandsUnfiltered"),
00013 cut = cms.string('pt > 10')
00014 )
00015
00016
00017 from RecoMuon.MuonIsolationProducers.muIsolation_cff import *
00018
00019 from RecoMuon.MuonIsolationProducers.trackExtractorBlocks_cff import MIsoTrackExtractorCtfBlock
00020 patAODTrackIsoDepositCtfTk = cms.EDProducer("CandIsoDepositProducer",
00021 src = cms.InputTag("patAODTrackCands"),
00022 trackType = cms.string('best'),
00023 MultipleDepositsFlag = cms.bool(False),
00024 ExtractorPSet = cms.PSet( MIsoTrackExtractorCtfBlock )
00025 )
00026
00027
00028 from RecoMuon.MuonIsolationProducers.caloExtractorByAssociatorBlocks_cff import MIsoCaloExtractorByAssociatorTowersBlock
00029 patAODTrackIsoDepositCalByAssociatorTowers = cms.EDProducer("CandIsoDepositProducer",
00030 src = cms.InputTag("patAODTrackCands"),
00031 trackType = cms.string('best'),
00032 MultipleDepositsFlag = cms.bool(True),
00033 ExtractorPSet = cms.PSet( MIsoCaloExtractorByAssociatorTowersBlock )
00034 )
00035
00036
00037 patAODTrackCandSequence = cms.Sequence(
00038 patAODTrackCandsUnfiltered *
00039 patAODTrackCands *
00040 patAODTrackIsoDepositCtfTk *
00041 patAODTrackIsoDepositCalByAssociatorTowers
00042 )
00043