3 import Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi
6 generalTracksSkim = Alignment.CommonAlignmentProducer.AlignmentTrackSelector_cfi.AlignmentTrackSelector.clone(
10 applyBasicCuts =
True,
16 trackerSeq = cms.Sequence( generalTracksSkim)
20 TrackRefitterSkim = TrackRefitter.clone()
21 TrackRefitterSkim.src =
"generalTracksSkim"
24 dedxSkimNPHarm2 = cms.EDProducer(
"DeDxEstimatorProducer",
25 tracks = cms.InputTag(
"TrackRefitterSkim"),
26 trajectoryTrackAssociation = cms.InputTag(
"TrackRefitterSkim"),
28 estimator = cms.string(
'generic'),
29 exponent = cms.double(-2.0),
31 UseStrip = cms.bool(
True),
32 UsePixel = cms.bool(
False),
33 MeVperADCStrip = cms.double(3.61e-06*265),
34 MeVperADCPixel = cms.double(3.61e-06),
36 MisCalib_Mean = cms.untracked.double(1.0),
37 MisCalib_Sigma = cms.untracked.double(0.00),
39 UseCalibration = cms.bool(
False),
40 calibrationPath = cms.string(
""),
41 ShapeTest = cms.bool(
True),
45 DedxFilter = cms.EDFilter(
"HSCPFilter",
46 inputMuonCollection = cms.InputTag(
"muons"),
47 inputTrackCollection = cms.InputTag(
"TrackRefitterSkim"),
48 inputDedxCollection = cms.InputTag(
"dedxSkimNPHarm2"),
49 SAMuPtMin = cms.double(60),
50 trkPtMin = cms.double(TRACK_PT),
51 dedxMin =cms.double(3.0),
52 dedxMaxLeft =cms.double(2.8),
53 ndedxHits = cms.int32(5),
54 etaMin= cms.double(-2.4),
55 etaMax= cms.double(2.4),
56 chi2nMax = cms.double(10),
57 dxyMax = cms.double(0.5),
58 dzMax = cms.double(5),
59 filter = cms.bool(
True)
63 dedxSeq = cms.Sequence(offlineBeamSpot + TrackRefitterSkim + dedxSkimNPHarm2+DedxFilter)
69 muonEcalDetIds = cms.EDProducer(
"InterestingEcalDetIdProducer",
70 inputCollection = cms.InputTag(
"muons")
72 highPtTrackEcalDetIds = cms.EDProducer(
"HighPtTrackEcalDetIdProducer",
74 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
75 inputCollection = cms.InputTag(
"generalTracksSkim"),
76 TrackPt=cms.double(TRACK_PT)
81 detIdProduceSeq = cms.Sequence(muonEcalDetIds+highPtTrackEcalDetIds)
83 reducedHSCPEcalRecHitsEB = cms.EDProducer(
"ReducedRecHitCollectionProducer",
84 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB"),
85 interestingDetIdCollections = cms.VInputTag(
87 cms.InputTag(
"highPtTrackEcalDetIds"),
89 cms.InputTag(
"muonEcalDetIds")
91 reducedHitsCollection = cms.string(
'')
93 reducedHSCPEcalRecHitsEE = cms.EDProducer(
"ReducedRecHitCollectionProducer",
94 recHitsLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE"),
95 interestingDetIdCollections = cms.VInputTag(
97 cms.InputTag(
"highPtTrackEcalDetIds"),
99 cms.InputTag(
"muonEcalDetIds")
101 reducedHitsCollection = cms.string(
'')
105 ecalSeq = cms.Sequence(detIdProduceSeq+reducedHSCPEcalRecHitsEB+reducedHSCPEcalRecHitsEE)
108 reducedHSCPhbhereco = cms.EDProducer(
"ReduceHcalRecHitCollectionProducer",
109 recHitsLabel = cms.InputTag(
"hbhereco",
""),
110 TrackAssociatorParameters=TrackAssociatorParameterBlock.TrackAssociatorParameters,
111 inputCollection = cms.InputTag(
"generalTracksSkim"),
112 TrackPt=cms.double(TRACK_PT),
113 reducedHitsCollection = cms.string(
'')
116 hcalSeq = cms.Sequence(reducedHSCPhbhereco)
118 muonsSkim = cms.EDProducer(
"UpdatedMuonInnerTrackRef",
119 MuonTag = cms.untracked.InputTag(
"muons"),
120 OldTrackTag = cms.untracked.InputTag(
"generalTracks"),
121 NewTrackTag = cms.untracked.InputTag(
"generalTracksSkim"),
122 maxInvPtDiff = cms.untracked.double(0.005),
123 minDR = cms.untracked.double(0.01),
125 muonSeq = cms.Sequence(muonsSkim)
129 TrackAssociatorParametersForHSCPIsol = TrackAssociatorParameterBlock.TrackAssociatorParameters.clone()
130 TrackAssociatorParametersForHSCPIsol.useHO = cms.bool(
False)
131 TrackAssociatorParametersForHSCPIsol.CSCSegmentCollectionLabel = cms.InputTag(
"cscSegments")
132 TrackAssociatorParametersForHSCPIsol.DTRecSegment4DCollectionLabel = cms.InputTag(
"dt4DSegments")
133 TrackAssociatorParametersForHSCPIsol.EERecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEE")
134 TrackAssociatorParametersForHSCPIsol.EBRecHitCollectionLabel = cms.InputTag(
"ecalRecHit",
"EcalRecHitsEB")
135 TrackAssociatorParametersForHSCPIsol.HBHERecHitCollectionLabel = cms.InputTag(
"hbhereco")
138 HSCPIsolation01 = cms.EDProducer(
"ProduceIsolationMap",
139 inputCollection = cms.InputTag(
"generalTracksSkim"),
140 IsolationConeDR = cms.double(0.1),
141 TkIsolationPtCut = cms.double(10),
142 TKLabel = cms.InputTag(
"generalTracks"),
143 TrackAssociatorParameters=TrackAssociatorParametersForHSCPIsol,
146 HSCPIsolation03 = HSCPIsolation01.clone()
147 HSCPIsolation03.IsolationConeDR = cms.double(0.3)
149 HSCPIsolation05 = HSCPIsolation01.clone()
150 HSCPIsolation05.IsolationConeDR = cms.double(0.5)
152 exoticaRecoIsoPhotonSeq = cms.EDFilter(
"MonoPhotonSkimmer",
153 phoTag = cms.InputTag(
"photons::RECO"),
154 selectEE = cms.bool(
True),
155 ecalisoOffsetEB = cms.double(4.2),
156 ecalisoSlopeEB = cms.double(0.006),
157 hcalisoOffsetEB = cms.double(2.2),
158 hcalisoSlopeEB = cms.double(0.0025),
159 hadoveremEB = cms.double(0.05),
160 minPhoEtEB = cms.double(20.),
161 trackIsoOffsetEB = cms.double(2.),
162 trackIsoSlopeEB = cms.double(0.001),
163 etaWidthEB = cms.double(0.013),
165 ecalisoOffsetEE = cms.double(4.2),
166 ecalisoSlopeEE = cms.double(0.006),
167 hcalisoOffsetEE = cms.double(2.2),
168 hcalisoSlopeEE = cms.double(0.0025),
169 hadoveremEE = cms.double(0.05),
170 minPhoEtEE = cms.double(20.),
171 trackIsoOffsetEE = cms.double(2.),
172 trackIsoSlopeEE = cms.double(0.001),
173 etaWidthEE = cms.double(0.03),
180 exoticaHSCPSeq = cms.Sequence(trackerSeq+dedxSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
181 exoticaHSCPIsoPhotonSeq = cms.Sequence(exoticaRecoIsoPhotonSeq + trackerSeq+ecalSeq+hcalSeq+muonSeq+HSCPIsolation01+HSCPIsolation03+HSCPIsolation05)
183 EXOHSCPSkim_EventContent=cms.PSet(
184 outputCommands = cms.untracked.vstring(
186 "keep GenEventInfoProduct_generator_*_*",
187 "keep L1GlobalTriggerReadoutRecord_*_*_*",
188 "keep recoVertexs_offlinePrimaryVertices_*_*",
189 "keep recoMuons_muonsSkim_*_*",
190 "keep SiStripClusteredmNewDetSetVector_generalTracksSkim_*_*",
191 "keep SiPixelClusteredmNewDetSetVector_generalTracksSkim_*_*",
192 "keep recoTracks_generalTracksSkim_*_*",
193 "keep recoTrackExtras_generalTracksSkim_*_*",
194 "keep TrackingRecHitsOwned_generalTracksSkim_*_*",
195 'keep *_dt1DRecHits_*_*',
196 'keep *_dt4DSegments_*_*',
197 'keep *_csc2DRecHits_*_*',
198 'keep *_cscSegments_*_*',
199 'keep *_rpcRecHits_*_*',
200 'keep recoTracks_standAloneMuons_*_*',
201 'keep recoTrackExtras_standAloneMuons_*_*',
202 'keep TrackingRecHitsOwned_standAloneMuons_*_*',
203 'keep recoTracks_globalMuons_*_*',
204 'keep recoTrackExtras_globalMuons_*_*',
205 'keep TrackingRecHitsOwned_globalMuons_*_*',
206 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEB_*_*',
207 'keep EcalRecHitsSorted_reducedHSCPEcalRecHitsEE_*_*',
208 'keep HBHERecHitsSorted_reducedHSCPhbhereco__*',
209 'keep edmTriggerResults_TriggerResults__*',
210 'keep *_hltTriggerSummaryAOD_*_*',
211 'keep *_HSCPIsolation01__*',
212 'keep *_HSCPIsolation03__*',
213 'keep *_HSCPIsolation05__*',
214 'keep recoPFJets_ak5PFJets__*',
215 'keep recoPFMETs_pfMet__*',
216 'keep recoBeamSpot_offlineBeamSpot__*',