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))
114 standaloneTrackMonitorMC = standaloneTrackMonitor.clone(
115 puScaleFactorFile =
"PileupScaleFactor_316060_wrt_nVertex_ZeroBias.root",
116 doPUCorrection =
True,
119 standaloneValidationMinbias = cms.Sequence(
121 * selectedPrimaryVertices
125 * standaloneTrackMonitor
129 standaloneValidationMinbiasMC = cms.Sequence(
131 * selectedPrimaryVertices
135 * standaloneTrackMonitorMC
142 standaloneTrackMonitorK0 = standaloneTrackMonitor.clone(
143 folderName =
"K0Tracks",
144 trackInputTag =
'KshortTracks',
147 standaloneTrackMonitorK0MC = standaloneTrackMonitor.clone(
148 folderName =
"K0Tracks",
149 trackInputTag =
'KshortTracks',
150 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
151 doPUCorrection =
True,
155 standaloneTrackMonitorLambda = standaloneTrackMonitor.clone(
156 folderName =
"LambdaTracks",
157 trackInputTag =
'LambdaTracks',
160 standaloneTrackMonitorLambdaMC = standaloneTrackMonitor.clone(
161 folderName =
"LambdaTracks",
162 trackInputTag =
'LambdaTracks',
163 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
164 doPUCorrection =
True,
168 standaloneValidationK0s = cms.Sequence(
170 * selectedPrimaryVertices
171 * KShortEventSelector
173 * standaloneTrackMonitorK0
176 standaloneValidationK0sMC = cms.Sequence(
178 * selectedPrimaryVertices
179 * KShortEventSelector
181 * standaloneTrackMonitorK0
184 standaloneValidationLambdas = cms.Sequence(
186 * selectedPrimaryVertices
187 * LambdaEventSelector
189 * standaloneTrackMonitorLambda
192 standaloneValidationLambdasMC = cms.Sequence(
194 * selectedPrimaryVertices
195 * LambdaEventSelector
197 * standaloneTrackMonitorLambdaMC
203 standaloneTrackMonitorElec = standaloneTrackMonitor.clone(
204 folderName =
"ElectronTracks",
205 trackInputTag =
'electronTracks',
208 standaloneTrackMonitorElecMC = standaloneTrackMonitor.clone(
209 folderName =
"ElectronTracks",
210 trackInputTag =
'electronTracks',
211 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
212 doPUCorrection =
True,
216 ZEEDetailsMC = ZEEDetails.clone(
217 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
218 doPUCorrection =
True,
222 standaloneValidationElec = cms.Sequence(
223 hltPathFilterElectron
225 * selectedPrimaryVertices
228 * standaloneTrackMonitorElec
229 * standaloneTrackMonitor
231 standaloneValidationElecMC = cms.Sequence(
232 hltPathFilterElectron
234 * selectedPrimaryVertices
237 * standaloneTrackMonitorElecMC
238 * standaloneTrackMonitorMC
244 standaloneTrackMonitorMuon = standaloneTrackMonitor.clone(
245 folderName =
"MuonTracks",
246 trackInputTag =
'muonTracks',
248 standaloneTrackMonitorMuonMC = standaloneTrackMonitor.clone(
249 folderName =
"MuonTracks",
250 trackInputTag =
'muonTracks',
251 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
252 doPUCorrection =
True,
256 standaloneValidationMuon = cms.Sequence(
259 * selectedPrimaryVertices
262 * standaloneTrackMonitorMuon
263 * standaloneTrackMonitor)
265 standaloneValidationMuonMC = cms.Sequence(
268 * selectedPrimaryVertices
271 * standaloneTrackMonitorMuonMC
272 * standaloneTrackMonitorMC)
277 standaloneTrackMonitorTTbar = standaloneTrackMonitor.clone(
278 folderName =
"TTbarTracks",
279 trackInputTag =
'ttbarTracks',
282 standaloneTrackMonitorTTbarMC = standaloneTrackMonitor.clone(
283 folderName =
"TTbarTracks",
284 trackInputTag =
'ttbarTracks',
285 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
286 doPUCorrection =
True,
290 standaloneValidationTTbar = cms.Sequence(
292 * selectedPrimaryVertices
296 * standaloneTrackMonitorTTbar)
298 standaloneValidationTTbarMC = cms.Sequence(
300 * selectedPrimaryVertices
304 * standaloneTrackMonitorTTbarMC)