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