CMS 3D CMS Logo

TrackingDataMCValidation_Standalone_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
3 
4 # Primary Vertex Selector
5 selectedPrimaryVertices = cms.EDFilter("VertexSelector",
6  src = cms.InputTag('offlinePrimaryVertices'),
7  cut = cms.string("!isFake && ndof >= 4 && abs(z) < 24 && abs(position.Rho) < 2.0"),
8  filter = cms.bool(False)
9 )
10 # Track Selector
11 selectedTracks = cms.EDFilter("TrackSelector",
12  src = cms.InputTag('generalTracks'),
13  cut = cms.string("pt > 0.5"),
14  filter = cms.bool(False)
15 )
16 hltPathFilter = cms.EDFilter("HLTPathSelector",
17  processName = cms.string("HLT"),
18  hltPathsOfInterest = cms.vstring("HLT_ZeroBias"),
19  triggerResults = cms.untracked.InputTag("TriggerResults","","HLT"),
20  triggerEvent = cms.untracked.InputTag("hltTriggerSummaryAOD","","HLT")
21 )
22 ztoMMEventSelector = cms.EDFilter("ZtoMMEventSelector")
23 ztoEEEventSelector = cms.EDFilter("ZtoEEEventSelector")
24 
25 standaloneTrackMonitorEE = standaloneTrackMonitor.clone()
26 standaloneValidationElec = cms.Sequence(
27  selectedTracks
28  * selectedPrimaryVertices
29  * ztoEEEventSelector
30  * standaloneTrackMonitorEE)
31 
32 standaloneTrackMonitorMM = standaloneTrackMonitor.clone()
33 standaloneValidationMuon = cms.Sequence(
34  selectedTracks
35  * selectedPrimaryVertices
36  * ztoMMEventSelector
37  * standaloneTrackMonitorMM)
38 
39 standaloneTrackMonitorMB = standaloneTrackMonitor.clone()
40 standaloneValidationMinbias = cms.Sequence(
41  hltPathFilter
42  * selectedTracks
43  * selectedPrimaryVertices
44  * standaloneTrackMonitorMB)