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 )
33 patAODTrackIsoDepositCalByAssociatorHits = cms.EDProducer(
"CandIsoDepositProducer",
34 src = cms.InputTag(
"patAODTrackCands"),
35 trackType = cms.string(
'best'),
36 MultipleDepositsFlag = cms.bool(
True),
37 ExtractorPSet = cms.PSet( MIsoCaloExtractorByAssociatorHitsBlock )
41 patAODTrackIsolationLabels = cms.VInputTag(
45 cms.InputTag(
"patAODTrackIsoDepositCtfTk")
49 patAODTrackIsolations = cms.EDFilter(
"MultipleIsoDepositsToValueMaps",
50 collection = cms.InputTag(
"patAODTrackCands"),
51 associations = patAODTrackIsolationLabels
55 layer0TrackIsolations = cms.EDFilter(
"CandManyValueMapsSkimmerIsoDeposits",
56 collection = cms.InputTag(
"allLayer0TrackCands"),
57 backrefs = cms.InputTag(
"allLayer0TrackCands"),
58 commonLabel = cms.InputTag(
"patAODTrackIsolations"),
59 associations = patAODTrackIsolationLabels
63 patAODTrackCandSequence = cms.Sequence(
64 patAODTrackCandsUnfiltered *
66 patAODTrackIsoDepositCalByAssociatorTowers *
67 patAODTrackIsoDepositCalByAssociatorHits *
68 patAODTrackIsoDepositCtfTk *
73 patLayer0TrackCandSequence = cms.Sequence( layer0TrackIsolations )