1 import FWCore.ParameterSet.Config
as cms
8 selectedPrimaryVertices = cms.EDFilter(
"VertexSelector",
9 src = cms.InputTag(
'offlinePrimaryVertices'),
12 filter = cms.bool(
True)
15 selectedTracks = cms.EDFilter(
"TrackSelector",
16 src = cms.InputTag(
'generalTracks'),
17 cut = cms.string(
"pt > 1.0"),
19 filter = cms.bool(
True)
23 selectedMultiplicityTracks = cms.EDFilter(
"TrackMultiplicityFilter",
24 src = cms.InputTag(
'generalTracks'),
26 nmin = cms.untracked.uint32(500),
27 cut = cms.untracked.string(
""),
28 filter = cms.bool(
True)
32 selectedAlcaRecoZBTracks = cms.EDProducer(
"AlcaRecoTrackSelector",
33 src = cms.InputTag(
'generalTracks'),
36 ptmin = cms.untracked.double(0.65),
37 pmin = cms.untracked.double(1.5),
38 etamin = cms.untracked.double(-3.5),
39 etamax = cms.untracked.double(3.5),
40 nhits = cms.untracked.uint32(7)
43 # Track ALCARECO Selection for singlemuon 44 selectedAlcaRecoSMTracks = cms.EDFilter("TrackSelector", 45 src = cms.InputTag('selectedMultiplicityTracks'), 46 cut = cms.string("pt > 2.0 && abs(eta) < 3.5 && p > 1.5 && hitPattern.numberOfAllTrackerHits > 7"), 47 #cut = cms.string(""), 48 filter = cms.bool(True) 52 hltPathFilter = cms.EDFilter(
"HLTPathSelector",
53 processName = cms.string(
"HLT"),
54 verbose = cms.untracked.bool(
False),
55 hltPathsOfInterest = cms.vstring(
"HLT_ZeroBias_v"),
56 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
57 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
61 hltPathFilterMuon = cms.EDFilter(
"HLTPathSelector",
62 processName = cms.string(
"HLT"),
63 verbose = cms.untracked.bool(
False),
64 hltPathsOfInterest = cms.vstring(
"HLT_IsoMu24_v"),
65 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
66 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
70 hltPathFilterElectron = cms.EDFilter(
"HLTPathSelector",
71 processName = cms.string(
"HLT"),
72 verbose = cms.untracked.bool(
False),
73 hltPathsOfInterest = cms.vstring(
"HLT_Ele32_WPTight_Gsf_v"),
74 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
75 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
79 hltPathFilterTtbar = cms.EDFilter(
"HLTPathSelector",
80 processName = cms.string(
"HLT"),
81 verbose = cms.untracked.bool(
False),
82 hltPathsOfInterest = cms.vstring(
"HLT_Ele32_WPTight_Gsf_v",
"HLT_IsoMu24_v"),
83 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
84 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
88 ztoMMEventSelector = cms.EDFilter(
"ZtoMMEventSelector")
89 muonTracks = cms.EDProducer(
"ZtoMMMuonTrackProducer")
91 ztoEEEventSelector = cms.EDFilter(
"ZtoEEEventSelector")
92 electronTracks = cms.EDProducer(
"ZtoEEElectronTrackProducer")
94 ttbarEventSelector = cms.EDFilter(
"ttbarEventSelector")
95 ttbarTracks = cms.EDProducer(
"TtbarTrackProducer")
98 KshortMonitor = v0Monitor.clone()
99 KshortMonitor.FolderName =
"StandaloneTrackMonitor/V0Monitoring/Ks" 100 KshortMonitor.v0 =
"generalV0Candidates:Kshort" 101 KshortMonitor.histoPSet.massPSet = cms.PSet(nbins = cms.int32 (100),
102 xmin = cms.double(0.400),
103 xmax = cms.double(0.600))
105 LambdaMonitor = v0Monitor.clone()
106 LambdaMonitor.FolderName =
"StandaloneTrackMonitor/V0Monitoring/Lambda" 107 LambdaMonitor.v0 =
"generalV0Candidates:Lambda" 108 LambdaMonitor.histoPSet.massPSet = cms.PSet(nbins = cms.int32(100),
109 xmin = cms.double(1.050),
110 xmax = cms.double(1.250))
113 SelectedKshortMonitor = KshortMonitor.clone(
114 FolderName =
"StandaloneTrackMonitor/V0Monitoring/SelectedKs",
115 v0 =
"KShortEventSelector" 118 SelectedLambdaMonitor = LambdaMonitor.clone(
119 FolderName =
"StandaloneTrackMonitor/V0Monitoring/SelectedLambda",
120 v0 =
"LambdaEventSelector" 126 standaloneTrackMonitorMC = standaloneTrackMonitor.clone(
127 puScaleFactorFile =
"PileupScaleFactor_316060_wrt_nVertex_ZeroBias.root",
128 doPUCorrection =
True,
131 standaloneValidationMinbias = cms.Sequence(
133 * selectedPrimaryVertices
137 * standaloneTrackMonitor
141 standaloneValidationMinbiasMC = cms.Sequence(
143 * selectedPrimaryVertices
147 * standaloneTrackMonitorMC
154 standaloneTrackMonitorK0 = standaloneTrackMonitor.clone(
155 folderName =
"K0Tracks",
156 trackInputTag =
'KshortTracks',
159 standaloneTrackMonitorK0MC = standaloneTrackMonitor.clone(
160 folderName =
"K0Tracks",
161 trackInputTag =
'KshortTracks',
162 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
163 doPUCorrection =
True,
167 standaloneTrackMonitorLambda = standaloneTrackMonitor.clone(
168 folderName =
"LambdaTracks",
169 trackInputTag =
'LambdaTracks',
172 standaloneTrackMonitorLambdaMC = standaloneTrackMonitor.clone(
173 folderName =
"LambdaTracks",
174 trackInputTag =
'LambdaTracks',
175 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
176 doPUCorrection =
True,
180 standaloneValidationK0s = cms.Sequence(
182 * selectedPrimaryVertices
183 * KShortEventSelector
185 * standaloneTrackMonitorK0
186 * SelectedKshortMonitor)
188 standaloneValidationK0sMC = cms.Sequence(
190 * selectedPrimaryVertices
191 * KShortEventSelector
193 * standaloneTrackMonitorK0MC
194 * SelectedKshortMonitor)
196 standaloneValidationLambdas = cms.Sequence(
198 * selectedPrimaryVertices
199 * LambdaEventSelector
201 * standaloneTrackMonitorLambda
202 * SelectedLambdaMonitor)
204 standaloneValidationLambdasMC = cms.Sequence(
206 * selectedPrimaryVertices
207 * LambdaEventSelector
209 * standaloneTrackMonitorLambdaMC
210 * SelectedLambdaMonitor)
215 standaloneTrackMonitorElec = standaloneTrackMonitor.clone(
216 folderName =
"ElectronTracks",
217 trackInputTag =
'electronTracks',
220 standaloneTrackMonitorElecMC = standaloneTrackMonitor.clone(
221 folderName =
"ElectronTracks",
222 trackInputTag =
'electronTracks',
223 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
224 doPUCorrection =
True,
228 ZEEDetailsMC = ZEEDetails.clone(
229 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
230 doPUCorrection =
True,
234 standaloneValidationElec = cms.Sequence(
235 hltPathFilterElectron
237 * selectedPrimaryVertices
240 * standaloneTrackMonitorElec
241 * standaloneTrackMonitor
243 standaloneValidationElecMC = cms.Sequence(
244 hltPathFilterElectron
246 * selectedPrimaryVertices
249 * standaloneTrackMonitorElecMC
250 * standaloneTrackMonitorMC
256 standaloneTrackMonitorMuon = standaloneTrackMonitor.clone(
257 folderName =
"MuonTracks",
258 trackInputTag =
'muonTracks',
260 standaloneTrackMonitorMuonMC = standaloneTrackMonitor.clone(
261 folderName =
"MuonTracks",
262 trackInputTag =
'muonTracks',
263 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
264 doPUCorrection =
True,
268 standaloneValidationMuon = cms.Sequence(
271 * selectedPrimaryVertices
274 * standaloneTrackMonitorMuon
275 * standaloneTrackMonitor)
277 standaloneValidationMuonMC = cms.Sequence(
280 * selectedPrimaryVertices
283 * standaloneTrackMonitorMuonMC
284 * standaloneTrackMonitorMC)
289 standaloneTrackMonitorTTbar = standaloneTrackMonitor.clone(
290 folderName =
"TTbarTracks",
291 trackInputTag =
'ttbarTracks',
294 standaloneTrackMonitorTTbarMC = standaloneTrackMonitor.clone(
295 folderName =
"TTbarTracks",
296 trackInputTag =
'ttbarTracks',
297 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
298 doPUCorrection =
True,
302 standaloneValidationTTbar = cms.Sequence(
304 * selectedPrimaryVertices
308 * standaloneTrackMonitorTTbar)
310 standaloneValidationTTbarMC = cms.Sequence(
312 * selectedPrimaryVertices
316 * standaloneTrackMonitorTTbarMC)