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.trajectoryTrackAssociation = cms.InputTag(
"TrackRefitterSkim")
30 dedxSkimNPHarm2.UsePixel = cms.bool(
False)
32 DedxFilter = cms.EDFilter(
"HSCPFilter",
33 inputMuonCollection = cms.InputTag(
"muons"),
34 inputTrackCollection = cms.InputTag(
"TrackRefitterSkim"),
35 inputDedxCollection = cms.InputTag(
"dedxSkimNPHarm2"),
36 SAMuPtMin = cms.double(60),
37 trkPtMin = cms.double(TRACK_PT),
38 dedxMin =cms.double(3.0),
39 dedxMaxLeft =cms.double(2.8),
40 ndedxHits = cms.int32(3),
41 etaMin= cms.double(-2.4),
42 etaMax= cms.double(2.4),
43 chi2nMax = cms.double(10),
44 dxyMax = cms.double(2.0),
45 dzMax = cms.double(5),
46 filter = cms.bool(
True)
50 dedxSeq = cms.Sequence(offlineBeamSpot + MeasurementTrackerEvent + TrackRefitterSkim + dedxSkimNPHarm2+DedxFilter)
56 muonEcalDetIdsEXOHSCP = cms.EDProducer(
"InterestingEcalDetIdProducer",
57 inputCollection = cms.InputTag(
"muons")
59 highPtTrackEcalDetIds = cms.EDProducer(
"HighPtTrackEcalDetIdProducer",
61 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
62 inputCollection = cms.InputTag(
"generalTracksSkim"),
63 TrackPt=cms.double(TRACK_PT)
68 detIdProduceSeq = cms.Sequence(muonEcalDetIdsEXOHSCP+highPtTrackEcalDetIds)
70 reducedHSCPEcalRecHitsEB = cms.EDProducer(
"ReducedRecHitCollectionProducer",
71 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
72 interestingDetIdCollections = cms.VInputTag(
74 cms.InputTag(
"highPtTrackEcalDetIds"),
76 cms.InputTag(
"muonEcalDetIdsEXOHSCP")
78 reducedHitsCollection = cms.string(
'')
80 reducedHSCPEcalRecHitsEE = cms.EDProducer(
"ReducedRecHitCollectionProducer",
81 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
82 interestingDetIdCollections = cms.VInputTag(
84 cms.InputTag(
"highPtTrackEcalDetIds"),
86 cms.InputTag(
"muonEcalDetIdsEXOHSCP")
88 reducedHitsCollection = cms.string(
'')
92 ecalSeq = cms.Sequence(detIdProduceSeq+reducedHSCPEcalRecHitsEB+reducedHSCPEcalRecHitsEE)
95 reducedHSCPhbhereco = cms.EDProducer(
"ReduceHcalRecHitCollectionProducer",
96 recHitsLabel = cms.InputTag(
"hbhereco",
""),
97 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
98 inputCollection = cms.InputTag(
"generalTracksSkim"),
99 TrackPt=cms.double(TRACK_PT),
100 reducedHitsCollection = cms.string(
'')
103 hcalSeq = cms.Sequence(reducedHSCPhbhereco)
105 muonsSkim = cms.EDProducer(
"UpdatedMuonInnerTrackRef",
106 MuonTag = cms.untracked.InputTag(
"muons"),
107 OldTrackTag = cms.untracked.InputTag(
"generalTracks"),
108 NewTrackTag = cms.untracked.InputTag(
"generalTracksSkim"),
109 maxInvPtDiff = cms.untracked.double(0.005),
110 minDR = cms.untracked.double(0.01),
112 muonSeq = cms.Sequence(muonsSkim)
116 TrackAssociatorParametersForHSCPIsol = TrackAssociatorParameterBlock.TrackAssociatorParameters.clone()
117 TrackAssociatorParametersForHSCPIsol.useHO = cms.bool(
False)
118 TrackAssociatorParametersForHSCPIsol.CSCSegmentCollectionLabel = cms.InputTag(
"cscSegments")
119 TrackAssociatorParametersForHSCPIsol.DTRecSegment4DCollectionLabel = cms.InputTag(
"dt4DSegments")
120 TrackAssociatorParametersForHSCPIsol.EERecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")
121 TrackAssociatorParametersForHSCPIsol.EBRecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB")
122 TrackAssociatorParametersForHSCPIsol.HBHERecHitCollectionLabel = cms.InputTag(
"hbhereco")
125 HSCPIsolation01 = cms.EDProducer(
"ProduceIsolationMap",
126 inputCollection = cms.InputTag(
"generalTracksSkim"),
127 IsolationConeDR = cms.double(0.1),
128 TkIsolationPtCut = cms.double(10),
129 TKLabel = cms.InputTag(
"generalTracks"),
130 TrackAssociatorParameters=TrackAssociatorParametersForHSCPIsol,
133 HSCPIsolation03 = HSCPIsolation01.clone()
134 HSCPIsolation03.IsolationConeDR = cms.double(0.3)
136 HSCPIsolation05 = HSCPIsolation01.clone()
137 HSCPIsolation05.IsolationConeDR = cms.double(0.5)
139 exoticaRecoIsoPhotonSeq = cms.EDFilter(
"MonoPhotonSkimmer",
140 phoTag = cms.InputTag(
"photons::RECO"),
141 selectEE = cms.bool(
True),
142 ecalisoOffsetEB = cms.double(4.2),
143 ecalisoSlopeEB = cms.double(0.006),
144 hcalisoOffsetEB = cms.double(2.2),
145 hcalisoSlopeEB = cms.double(0.0025),
146 hadoveremEB = cms.double(0.05),
147 minPhoEtEB = cms.double(20.),
148 trackIsoOffsetEB = cms.double(2.),
149 trackIsoSlopeEB = cms.double(0.001),
150 etaWidthEB = cms.double(0.013),
152 ecalisoOffsetEE = cms.double(4.2),
153 ecalisoSlopeEE = cms.double(0.006),
154 hcalisoOffsetEE = cms.double(2.2),
155 hcalisoSlopeEE = cms.double(0.0025),
156 hadoveremEE = cms.double(0.05),
157 minPhoEtEE = cms.double(20.),
158 trackIsoOffsetEE = cms.double(2.),
159 trackIsoSlopeEE = cms.double(0.001),
160 etaWidthEE = cms.double(0.03),
167 exoticaHSCPSeq = cms.Sequence(trackerSeq+dedxSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
168 exoticaHSCPIsoPhotonSeq = cms.Sequence(exoticaRecoIsoPhotonSeq + trackerSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
170 EXOHSCPSkim_EventContent=cms.PSet(
171 outputCommands = cms.untracked.vstring(
173 "keep GenEventInfoProduct_generator_*_*",
174 "keep L1GlobalTriggerReadoutRecord_*_*_*",
175 "keep recoVertexs_offlinePrimaryVertices_*_*",
176 "keep recoMuons_muonsSkim_*_*",
177 "keep SiStripClusteredmNewDetSetVector_generalTracksSkim_*_*",
178 "keep SiPixelClusteredmNewDetSetVector_generalTracksSkim_*_*",
179 "keep recoTracks_generalTracksSkim_*_*",
180 "keep recoTrackExtras_generalTracksSkim_*_*",
181 "keep TrackingRecHitsOwned_generalTracksSkim_*_*",
182 'keep *_dt1DRecHits_*_*',
183 'keep *_dt4DSegments_*_*',
184 'keep *_csc2DRecHits_*_*',
185 'keep *_cscSegments_*_*',
186 'keep *_rpcRecHits_*_*',
187 'keep recoTracks_standAloneMuons_*_*',
188 'keep recoTrackExtras_standAloneMuons_*_*',
189 'keep TrackingRecHitsOwned_standAloneMuons_*_*',
190 'keep recoTracks_globalMuons_*_*',
191 'keep recoTrackExtras_globalMuons_*_*',
192 'keep TrackingRecHitsOwned_globalMuons_*_*',
193 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEB_*_*',
194 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEE_*_*',
195 'keep HBHERecHitsSorted_reducedHSCPhbhereco__*',
196 'keep edmTriggerResults_TriggerResults__*',
197 'keep *_hltTriggerSummaryAOD_*_*',
198 'keep *_HSCPIsolation01__*',
199 'keep *_HSCPIsolation03__*',
200 'keep *_HSCPIsolation05__*',
201 'keep recoPFJets_ak4PFJets__*',
202 'keep recoPFMETs_pfMet__*',
203 'keep recoBeamSpot_offlineBeamSpot__*',
dont throw on unknown path names