1 import FWCore.ParameterSet.Config
as cms
7 selectedPrimaryVertices = cms.EDFilter(
"VertexSelector",
8 src = cms.InputTag(
'offlinePrimaryVertices'),
11 filter = cms.bool(
True)
14 selectedTracks = cms.EDFilter(
"TrackSelector",
15 src = cms.InputTag(
'generalTracks'),
16 cut = cms.string(
"pt > 1.0"),
18 filter = cms.bool(
True)
22 selectedMultiplicityTracks = cms.EDFilter(
"TrackMultiplicityFilter",
23 src = cms.InputTag(
'generalTracks'),
25 nmin = cms.untracked.uint32(500),
26 cut = cms.untracked.string(
""),
27 filter = cms.bool(
True)
31 selectedAlcaRecoZBTracks = cms.EDProducer(
"AlcaRecoTrackSelector",
32 src = cms.InputTag(
'generalTracks'),
35 ptmin = cms.untracked.double(0.65),
36 pmin = cms.untracked.double(1.5),
37 etamin = cms.untracked.double(-3.5),
38 etamax = cms.untracked.double(3.5),
39 nhits = cms.untracked.uint32(7)
42 # Track ALCARECO Selection for singlemuon 43 selectedAlcaRecoSMTracks = cms.EDFilter("TrackSelector", 44 src = cms.InputTag('selectedMultiplicityTracks'), 45 cut = cms.string("pt > 2.0 && abs(eta) < 3.5 && p > 1.5 && hitPattern.numberOfAllTrackerHits > 7"), 46 #cut = cms.string(""), 47 filter = cms.bool(True) 51 hltPathFilter = cms.EDFilter(
"HLTPathSelector",
52 processName = cms.string(
"HLT"),
53 verbose = cms.untracked.bool(
False),
54 hltPathsOfInterest = cms.vstring(
"HLT_ZeroBias_v"),
55 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
56 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
60 hltPathFilterMuon = cms.EDFilter(
"HLTPathSelector",
61 processName = cms.string(
"HLT"),
62 verbose = cms.untracked.bool(
False),
63 hltPathsOfInterest = cms.vstring(
"HLT_IsoMu24_v"),
64 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
65 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
69 hltPathFilterElectron = cms.EDFilter(
"HLTPathSelector",
70 processName = cms.string(
"HLT"),
71 verbose = cms.untracked.bool(
False),
72 hltPathsOfInterest = cms.vstring(
"HLT_Ele32_WPTight_Gsf_v"),
73 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
74 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
78 hltPathFilterTtbar = cms.EDFilter(
"HLTPathSelector",
79 processName = cms.string(
"HLT"),
80 verbose = cms.untracked.bool(
False),
81 hltPathsOfInterest = cms.vstring(
"HLT_Ele32_WPTight_Gsf_v",
"HLT_IsoMu24_v"),
82 triggerResults = cms.untracked.InputTag(
"TriggerResults",
"",
"HLT"),
83 triggerEvent = cms.untracked.InputTag(
"hltTriggerSummaryAOD",
"",
"HLT")
87 ztoMMEventSelector = cms.EDFilter(
"ZtoMMEventSelector")
88 muonTracks = cms.EDProducer(
"ZtoMMMuonTrackProducer")
90 ztoEEEventSelector = cms.EDFilter(
"ZtoEEEventSelector")
91 electronTracks = cms.EDProducer(
"ZtoEEElectronTrackProducer")
93 ttbarEventSelector = cms.EDFilter(
"ttbarEventSelector")
94 ttbarTracks = cms.EDProducer(
"TtbarTrackProducer")
107 standaloneTrackMonitorMC = standaloneTrackMonitor.clone(
108 puScaleFactorFile =
"PileupScaleFactor_316060_wrt_nVertex_ZeroBias.root",
109 doPUCorrection =
True,
112 standaloneValidationMinbias = cms.Sequence(
114 * selectedPrimaryVertices
118 * standaloneTrackMonitor)
119 standaloneValidationMinbiasMC = cms.Sequence(
121 * selectedPrimaryVertices
125 * standaloneTrackMonitorMC)
127 standaloneTrackMonitorElec = standaloneTrackMonitor.clone(
128 folderName =
"ElectronTracks",
129 trackInputTag =
'electronTracks',
132 standaloneTrackMonitorElecMC = standaloneTrackMonitor.clone(
133 folderName =
"ElectronTracks",
134 trackInputTag =
'electronTracks',
135 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
136 doPUCorrection =
True,
140 ZEEDetailsMC = ZEEDetails.clone(
141 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
142 doPUCorrection =
True,
146 standaloneValidationElec = cms.Sequence(
147 hltPathFilterElectron
149 * selectedPrimaryVertices
152 * standaloneTrackMonitorElec
153 * standaloneTrackMonitor
155 standaloneValidationElecMC = cms.Sequence(
156 hltPathFilterElectron
158 * selectedPrimaryVertices
161 * standaloneTrackMonitorElecMC
162 * standaloneTrackMonitorMC
165 standaloneTrackMonitorMuon = standaloneTrackMonitor.clone(
166 folderName =
"MuonTracks",
167 trackInputTag =
'muonTracks',
169 standaloneTrackMonitorMuonMC = standaloneTrackMonitor.clone(
170 folderName =
"MuonTracks",
171 trackInputTag =
'muonTracks',
172 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
173 doPUCorrection =
True,
177 standaloneValidationMuon = cms.Sequence(
180 * selectedPrimaryVertices
183 * standaloneTrackMonitorMuon
184 * standaloneTrackMonitor)
186 standaloneValidationMuonMC = cms.Sequence(
189 * selectedPrimaryVertices
192 * standaloneTrackMonitorMuonMC
193 * standaloneTrackMonitorMC)
196 standaloneTrackMonitorTTbar = standaloneTrackMonitor.clone(
197 folderName =
"TTbarTracks",
198 trackInputTag =
'ttbarTracks',
201 standaloneTrackMonitorTTbarMC = standaloneTrackMonitor.clone(
202 folderName =
"TTbarTracks",
203 trackInputTag =
'ttbarTracks',
204 puScaleFactorFile =
"PileupScaleFactor_316082_wrt_nVertex_DYToLL.root",
205 doPUCorrection =
True,
209 standaloneValidationTTbar = cms.Sequence(
211 * selectedPrimaryVertices
215 * standaloneTrackMonitorTTbar)
217 standaloneValidationTTbarMC = cms.Sequence(
219 * selectedPrimaryVertices
223 * standaloneTrackMonitorTTbarMC)