1 import FWCore.ParameterSet.Config
as cms
6 patAODTrackCandsUnfiltered = cms.EDProducer(
"ConcreteChargedCandidateProducer",
7 src = cms.InputTag(
"generalTracks"),
8 particleType = cms.string(
'mu+')
11 patAODTrackCands = cms.EDFilter(
"CandViewSelector",
12 src = cms.InputTag(
"patAODTrackCandsUnfiltered"),
13 cut = cms.string(
'pt > 15')
18 patAODTrackIsoDepositCtfTk = cms.EDProducer(
"CandIsoDepositProducer",
19 src = cms.InputTag(
"patAODTrackCands"),
20 trackType = cms.string(
'best'),
21 MultipleDepositsFlag = cms.bool(
False),
22 ExtractorPSet = cms.PSet( MIsoTrackExtractorCtfBlock )
27 patAODTrackIsoDepositCalByAssociatorTowers = cms.EDProducer(
"CandIsoDepositProducer",
28 src = cms.InputTag(
"patAODTrackCands"),
29 trackType = cms.string(
'best'),
30 MultipleDepositsFlag = cms.bool(
True),
31 ExtractorPSet = cms.PSet( MIsoCaloExtractorByAssociatorTowersBlock )
35 patAODTrackIsolationLabels = cms.VInputTag(
39 cms.InputTag(
"patAODTrackIsoDepositCtfTk")
43 patAODTrackIsolations = cms.EDFilter(
"MultipleIsoDepositsToValueMaps",
44 collection = cms.InputTag(
"patAODTrackCands"),
45 associations = patAODTrackIsolationLabels
49 layer0TrackIsolations = cms.EDFilter(
"CandManyValueMapsSkimmerIsoDeposits",
50 collection = cms.InputTag(
"allLayer0TrackCands"),
51 backrefs = cms.InputTag(
"allLayer0TrackCands"),
52 commonLabel = cms.InputTag(
"patAODTrackIsolations"),
53 associations = patAODTrackIsolationLabels
57 patAODTrackCandSequence = cms.Sequence(
58 patAODTrackCandsUnfiltered *
60 patAODTrackIsoDepositCalByAssociatorTowers *
61 patAODTrackIsoDepositCtfTk *
66 patLayer0TrackCandSequence = cms.Sequence( layer0TrackIsolations )