2 import FWCore.ParameterSet.Config
as cms
7 generalTracksSkim = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
11 applyBasicCuts =
True,
13 ptMax = cms.double(999999.0),
17 trackerSeq = cms.Sequence( generalTracksSkim)
22 TrackRefitterSkim = TrackRefitter.clone()
23 TrackRefitterSkim.src =
"generalTracksSkim" 27 dedxSkimNPHarm2 = dedxHarmonic2.clone()
28 dedxSkimNPHarm2.tracks = cms.InputTag(
"TrackRefitterSkim")
29 dedxSkimNPHarm2.UsePixel = cms.bool(
False)
31 DedxFilter = cms.EDFilter(
"HSCPFilter",
32 inputMuonCollection = cms.InputTag(
"muons"),
33 inputTrackCollection = cms.InputTag(
"TrackRefitterSkim"),
34 inputDedxCollection = cms.InputTag(
"dedxSkimNPHarm2"),
35 SAMuPtMin = cms.double(60),
36 trkPtMin = cms.double(TRACK_PT),
37 dedxMin =cms.double(3.0),
38 dedxMaxLeft =cms.double(2.8),
39 ndedxHits = cms.int32(3),
40 etaMin= cms.double(-2.4),
41 etaMax= cms.double(2.4),
42 chi2nMax = cms.double(10),
43 dxyMax = cms.double(2.0),
44 dzMax = cms.double(5),
45 filter = cms.bool(
True)
49 dedxSeq = cms.Sequence(offlineBeamSpot + MeasurementTrackerEvent + TrackRefitterSkim + dedxSkimNPHarm2+DedxFilter)
55 muonEcalDetIdsEXOHSCP = cms.EDProducer(
"InterestingEcalDetIdProducer",
56 inputCollection = cms.InputTag(
"muons")
58 highPtTrackEcalDetIds = cms.EDProducer(
"HighPtTrackEcalDetIdProducer",
60 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
61 inputCollection = cms.InputTag(
"generalTracksSkim"),
62 TrackPt=cms.double(TRACK_PT)
67 detIdProduceSeq = cms.Sequence(muonEcalDetIdsEXOHSCP+highPtTrackEcalDetIds)
69 reducedHSCPEcalRecHitsEB = cms.EDProducer(
"ReducedRecHitCollectionProducer",
70 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
71 interestingDetIdCollections = cms.VInputTag(
73 cms.InputTag(
"highPtTrackEcalDetIds"),
75 cms.InputTag(
"muonEcalDetIdsEXOHSCP")
77 reducedHitsCollection = cms.string(
'')
79 reducedHSCPEcalRecHitsEE = cms.EDProducer(
"ReducedRecHitCollectionProducer",
80 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
81 interestingDetIdCollections = cms.VInputTag(
83 cms.InputTag(
"highPtTrackEcalDetIds"),
85 cms.InputTag(
"muonEcalDetIdsEXOHSCP")
87 reducedHitsCollection = cms.string(
'')
91 ecalSeq = cms.Sequence(detIdProduceSeq+reducedHSCPEcalRecHitsEB+reducedHSCPEcalRecHitsEE)
94 reducedHSCPhbhereco = cms.EDProducer(
"ReduceHcalRecHitCollectionProducer",
95 recHitsLabel = cms.InputTag(
"hbhereco",
""),
96 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
97 inputCollection = cms.InputTag(
"generalTracksSkim"),
98 TrackPt=cms.double(TRACK_PT),
99 reducedHitsCollection = cms.string(
'')
102 hcalSeq = cms.Sequence(reducedHSCPhbhereco)
104 muonsSkim = cms.EDProducer(
"UpdatedMuonInnerTrackRef",
105 MuonTag = cms.untracked.InputTag(
"muons"),
106 OldTrackTag = cms.untracked.InputTag(
"generalTracks"),
107 NewTrackTag = cms.untracked.InputTag(
"generalTracksSkim"),
108 maxInvPtDiff = cms.untracked.double(0.005),
109 minDR = cms.untracked.double(0.01),
111 muonSeq = cms.Sequence(muonsSkim)
115 TrackAssociatorParametersForHSCPIsol = TrackAssociatorParameterBlock.TrackAssociatorParameters.clone()
116 TrackAssociatorParametersForHSCPIsol.useHO = cms.bool(
False)
117 TrackAssociatorParametersForHSCPIsol.CSCSegmentCollectionLabel = cms.InputTag(
"cscSegments")
118 TrackAssociatorParametersForHSCPIsol.DTRecSegment4DCollectionLabel = cms.InputTag(
"dt4DSegments")
119 TrackAssociatorParametersForHSCPIsol.EERecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")
120 TrackAssociatorParametersForHSCPIsol.EBRecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB")
121 TrackAssociatorParametersForHSCPIsol.HBHERecHitCollectionLabel = cms.InputTag(
"hbhereco")
124 HSCPIsolation01 = cms.EDProducer(
"ProduceIsolationMap",
125 inputCollection = cms.InputTag(
"generalTracksSkim"),
126 IsolationConeDR = cms.double(0.1),
127 TkIsolationPtCut = cms.double(10),
128 TKLabel = cms.InputTag(
"generalTracks"),
129 TrackAssociatorParameters=TrackAssociatorParametersForHSCPIsol,
132 HSCPIsolation03 = HSCPIsolation01.clone()
133 HSCPIsolation03.IsolationConeDR = cms.double(0.3)
135 HSCPIsolation05 = HSCPIsolation01.clone()
136 HSCPIsolation05.IsolationConeDR = cms.double(0.5)
138 exoticaRecoIsoPhotonSeq = cms.EDFilter(
"MonoPhotonSkimmer",
139 phoTag = cms.InputTag(
"photons::RECO"),
140 selectEE = cms.bool(
True),
141 ecalisoOffsetEB = cms.double(4.2),
142 ecalisoSlopeEB = cms.double(0.006),
143 hcalisoOffsetEB = cms.double(2.2),
144 hcalisoSlopeEB = cms.double(0.0025),
145 hadoveremEB = cms.double(0.05),
146 minPhoEtEB = cms.double(20.),
147 trackIsoOffsetEB = cms.double(2.),
148 trackIsoSlopeEB = cms.double(0.001),
149 etaWidthEB = cms.double(0.013),
151 ecalisoOffsetEE = cms.double(4.2),
152 ecalisoSlopeEE = cms.double(0.006),
153 hcalisoOffsetEE = cms.double(2.2),
154 hcalisoSlopeEE = cms.double(0.0025),
155 hadoveremEE = cms.double(0.05),
156 minPhoEtEE = cms.double(20.),
157 trackIsoOffsetEE = cms.double(2.),
158 trackIsoSlopeEE = cms.double(0.001),
159 etaWidthEE = cms.double(0.03),
166 exoticaHSCPSeq = cms.Sequence(trackerSeq+dedxSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
167 exoticaHSCPIsoPhotonSeq = cms.Sequence(exoticaRecoIsoPhotonSeq + trackerSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
169 EXOHSCPSkim_EventContent=cms.PSet(
170 outputCommands = cms.untracked.vstring(
172 "keep GenEventInfoProduct_generator_*_*",
173 "keep L1GlobalTriggerReadoutRecord_*_*_*",
174 "keep recoVertexs_offlinePrimaryVertices_*_*",
175 "keep recoMuons_muonsSkim_*_*",
176 "keep SiStripClusteredmNewDetSetVector_generalTracksSkim_*_*",
177 "keep SiPixelClusteredmNewDetSetVector_generalTracksSkim_*_*",
178 "keep recoTracks_generalTracksSkim_*_*",
179 "keep recoTrackExtras_generalTracksSkim_*_*",
180 "keep TrackingRecHitsOwned_generalTracksSkim_*_*",
181 'keep *_dt1DRecHits_*_*',
182 'keep *_dt4DSegments_*_*',
183 'keep *_csc2DRecHits_*_*',
184 'keep *_cscSegments_*_*',
185 'keep *_rpcRecHits_*_*',
186 'keep recoTracks_standAloneMuons_*_*',
187 'keep recoTrackExtras_standAloneMuons_*_*',
188 'keep TrackingRecHitsOwned_standAloneMuons_*_*',
189 'keep recoTracks_globalMuons_*_*',
190 'keep recoTrackExtras_globalMuons_*_*',
191 'keep TrackingRecHitsOwned_globalMuons_*_*',
192 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEB_*_*',
193 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEE_*_*',
194 'keep HBHERecHitsSorted_reducedHSCPhbhereco__*',
195 'keep edmTriggerResults_TriggerResults__*',
196 'keep *_hltTriggerSummaryAOD_*_*',
197 'keep *_HSCPIsolation01__*',
198 'keep *_HSCPIsolation03__*',
199 'keep *_HSCPIsolation05__*',
200 'keep recoPFJets_ak4PFJets__*',
201 'keep recoPFMETs_pfMet__*',
202 'keep recoBeamSpot_offlineBeamSpot__*',
dont throw on unknown path names