3 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
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"
26 dedxSkimNPHarm2 = cms.EDProducer(
"DeDxEstimatorProducer",
27 tracks = cms.InputTag(
"TrackRefitterSkim"),
28 trajectoryTrackAssociation = cms.InputTag(
"TrackRefitterSkim"),
30 estimator = cms.string(
'generic'),
31 exponent = cms.double(-2.0),
33 UseStrip = cms.bool(
True),
34 UsePixel = cms.bool(
False),
35 MeVperADCStrip = cms.double(3.61e-06*265),
36 MeVperADCPixel = cms.double(3.61e-06),
38 MisCalib_Mean = cms.untracked.double(1.0),
39 MisCalib_Sigma = cms.untracked.double(0.00),
41 UseCalibration = cms.bool(
False),
42 calibrationPath = cms.string(
""),
43 ShapeTest = cms.bool(
True),
47 DedxFilter = cms.EDFilter(
"HSCPFilter",
48 inputMuonCollection = cms.InputTag(
"muons"),
49 inputTrackCollection = cms.InputTag(
"TrackRefitterSkim"),
50 inputDedxCollection = cms.InputTag(
"dedxSkimNPHarm2"),
51 SAMuPtMin = cms.double(60),
52 trkPtMin = cms.double(TRACK_PT),
53 dedxMin =cms.double(3.0),
54 dedxMaxLeft =cms.double(2.8),
55 ndedxHits = cms.int32(3),
56 etaMin= cms.double(-2.4),
57 etaMax= cms.double(2.4),
58 chi2nMax = cms.double(10),
59 dxyMax = cms.double(2.0),
60 dzMax = cms.double(5),
61 filter = cms.bool(
True)
65 dedxSeq = cms.Sequence(offlineBeamSpot + MeasurementTrackerEvent + TrackRefitterSkim + dedxSkimNPHarm2+DedxFilter)
71 muonEcalDetIds = cms.EDProducer(
"InterestingEcalDetIdProducer",
72 inputCollection = cms.InputTag(
"muons")
74 highPtTrackEcalDetIds = cms.EDProducer(
"HighPtTrackEcalDetIdProducer",
76 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
77 inputCollection = cms.InputTag(
"generalTracksSkim"),
78 TrackPt=cms.double(TRACK_PT)
83 detIdProduceSeq = cms.Sequence(muonEcalDetIds+highPtTrackEcalDetIds)
85 reducedHSCPEcalRecHitsEB = cms.EDProducer(
"ReducedRecHitCollectionProducer",
86 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
87 interestingDetIdCollections = cms.VInputTag(
89 cms.InputTag(
"highPtTrackEcalDetIds"),
91 cms.InputTag(
"muonEcalDetIds")
93 reducedHitsCollection = cms.string(
'')
95 reducedHSCPEcalRecHitsEE = cms.EDProducer(
"ReducedRecHitCollectionProducer",
96 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
97 interestingDetIdCollections = cms.VInputTag(
99 cms.InputTag(
"highPtTrackEcalDetIds"),
101 cms.InputTag(
"muonEcalDetIds")
103 reducedHitsCollection = cms.string(
'')
107 ecalSeq = cms.Sequence(detIdProduceSeq+reducedHSCPEcalRecHitsEB+reducedHSCPEcalRecHitsEE)
110 reducedHSCPhbhereco = cms.EDProducer(
"ReduceHcalRecHitCollectionProducer",
111 recHitsLabel = cms.InputTag(
"hbhereco",
""),
112 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
113 inputCollection = cms.InputTag(
"generalTracksSkim"),
114 TrackPt=cms.double(TRACK_PT),
115 reducedHitsCollection = cms.string(
'')
118 hcalSeq = cms.Sequence(reducedHSCPhbhereco)
120 muonsSkim = cms.EDProducer(
"UpdatedMuonInnerTrackRef",
121 MuonTag = cms.untracked.InputTag(
"muons"),
122 OldTrackTag = cms.untracked.InputTag(
"generalTracks"),
123 NewTrackTag = cms.untracked.InputTag(
"generalTracksSkim"),
124 maxInvPtDiff = cms.untracked.double(0.005),
125 minDR = cms.untracked.double(0.01),
127 muonSeq = cms.Sequence(muonsSkim)
131 TrackAssociatorParametersForHSCPIsol = TrackAssociatorParameterBlock.TrackAssociatorParameters.clone()
132 TrackAssociatorParametersForHSCPIsol.useHO = cms.bool(
False)
133 TrackAssociatorParametersForHSCPIsol.CSCSegmentCollectionLabel = cms.InputTag(
"cscSegments")
134 TrackAssociatorParametersForHSCPIsol.DTRecSegment4DCollectionLabel = cms.InputTag(
"dt4DSegments")
135 TrackAssociatorParametersForHSCPIsol.EERecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")
136 TrackAssociatorParametersForHSCPIsol.EBRecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB")
137 TrackAssociatorParametersForHSCPIsol.HBHERecHitCollectionLabel = cms.InputTag(
"hbhereco")
140 HSCPIsolation01 = cms.EDProducer(
"ProduceIsolationMap",
141 inputCollection = cms.InputTag(
"generalTracksSkim"),
142 IsolationConeDR = cms.double(0.1),
143 TkIsolationPtCut = cms.double(10),
144 TKLabel = cms.InputTag(
"generalTracks"),
145 TrackAssociatorParameters=TrackAssociatorParametersForHSCPIsol,
148 HSCPIsolation03 = HSCPIsolation01.clone()
149 HSCPIsolation03.IsolationConeDR = cms.double(0.3)
151 HSCPIsolation05 = HSCPIsolation01.clone()
152 HSCPIsolation05.IsolationConeDR = cms.double(0.5)
154 exoticaRecoIsoPhotonSeq = cms.EDFilter(
"MonoPhotonSkimmer",
155 phoTag = cms.InputTag(
"photons::RECO"),
156 selectEE = cms.bool(
True),
157 ecalisoOffsetEB = cms.double(4.2),
158 ecalisoSlopeEB = cms.double(0.006),
159 hcalisoOffsetEB = cms.double(2.2),
160 hcalisoSlopeEB = cms.double(0.0025),
161 hadoveremEB = cms.double(0.05),
162 minPhoEtEB = cms.double(20.),
163 trackIsoOffsetEB = cms.double(2.),
164 trackIsoSlopeEB = cms.double(0.001),
165 etaWidthEB = cms.double(0.013),
167 ecalisoOffsetEE = cms.double(4.2),
168 ecalisoSlopeEE = cms.double(0.006),
169 hcalisoOffsetEE = cms.double(2.2),
170 hcalisoSlopeEE = cms.double(0.0025),
171 hadoveremEE = cms.double(0.05),
172 minPhoEtEE = cms.double(20.),
173 trackIsoOffsetEE = cms.double(2.),
174 trackIsoSlopeEE = cms.double(0.001),
175 etaWidthEE = cms.double(0.03),
182 exoticaHSCPSeq = cms.Sequence(trackerSeq+dedxSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
183 exoticaHSCPIsoPhotonSeq = cms.Sequence(exoticaRecoIsoPhotonSeq + trackerSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
185 EXOHSCPSkim_EventContent=cms.PSet(
186 outputCommands = cms.untracked.vstring(
188 "keep GenEventInfoProduct_generator_*_*",
189 "keep L1GlobalTriggerReadoutRecord_*_*_*",
190 "keep recoVertexs_offlinePrimaryVertices_*_*",
191 "keep recoMuons_muonsSkim_*_*",
192 "keep SiStripClusteredmNewDetSetVector_generalTracksSkim_*_*",
193 "keep SiPixelClusteredmNewDetSetVector_generalTracksSkim_*_*",
194 "keep recoTracks_generalTracksSkim_*_*",
195 "keep recoTrackExtras_generalTracksSkim_*_*",
196 "keep TrackingRecHitsOwned_generalTracksSkim_*_*",
197 'keep *_dt1DRecHits_*_*',
198 'keep *_dt4DSegments_*_*',
199 'keep *_csc2DRecHits_*_*',
200 'keep *_cscSegments_*_*',
201 'keep *_rpcRecHits_*_*',
202 'keep recoTracks_standAloneMuons_*_*',
203 'keep recoTrackExtras_standAloneMuons_*_*',
204 'keep TrackingRecHitsOwned_standAloneMuons_*_*',
205 'keep recoTracks_globalMuons_*_*',
206 'keep recoTrackExtras_globalMuons_*_*',
207 'keep TrackingRecHitsOwned_globalMuons_*_*',
208 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEB_*_*',
209 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEE_*_*',
210 'keep HBHERecHitsSorted_reducedHSCPhbhereco__*',
211 'keep edmTriggerResults_TriggerResults__*',
212 'keep *_hltTriggerSummaryAOD_*_*',
213 'keep *_HSCPIsolation01__*',
214 'keep *_HSCPIsolation03__*',
215 'keep *_HSCPIsolation05__*',
216 'keep recoPFJets_ak5PFJets__*',
217 'keep recoPFMETs_pfMet__*',
218 'keep recoBeamSpot_offlineBeamSpot__*',