Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:25

0001 import FWCore.ParameterSet.Config as cms
0002 from DQM.TrackingMonitorSource.StandaloneTrackMonitor_cfi import *
0003 
0004 # Primary Vertex Selector
0005 selectedPrimaryVertices = cms.EDFilter("VertexSelector",
0006     src = cms.InputTag('offlinePrimaryVertices'),
0007     cut = cms.string("!isFake && ndof >= 4 && abs(z) < 24 && abs(position.Rho) < 2.0"),
0008     filter = cms.bool(False)
0009 )
0010 # Track Selector
0011 selectedTracks = cms.EDFilter("TrackSelector",
0012     src = cms.InputTag('generalTracks'),
0013     cut = cms.string("pt > 0.5"),
0014     filter = cms.bool(False)
0015 )
0016 hltPathFilter = cms.EDFilter("HLTPathSelector",
0017     processName = cms.string("HLT"),
0018     hltPathsOfInterest = cms.vstring("HLT_ZeroBias"),
0019     triggerResults = cms.untracked.InputTag("TriggerResults","","HLT"),
0020     triggerEvent = cms.untracked.InputTag("hltTriggerSummaryAOD","","HLT")
0021 )
0022 ztoMMEventSelector = cms.EDFilter("ZtoMMEventSelector")
0023 ztoEEEventSelector = cms.EDFilter("ZtoEEEventSelector")
0024 
0025 standaloneTrackMonitorEE = standaloneTrackMonitor.clone()
0026 standaloneValidationElec = cms.Sequence(
0027                                  selectedTracks
0028                                * selectedPrimaryVertices
0029                                * ztoEEEventSelector
0030                                * standaloneTrackMonitorEE)
0031 
0032 standaloneTrackMonitorMM = standaloneTrackMonitor.clone()
0033 standaloneValidationMuon = cms.Sequence(
0034                                  selectedTracks
0035                                * selectedPrimaryVertices
0036                                * ztoMMEventSelector
0037                                * standaloneTrackMonitorMM)
0038 
0039 standaloneTrackMonitorMB = standaloneTrackMonitor.clone()
0040 standaloneValidationMinbias = cms.Sequence(
0041                                     hltPathFilter
0042                                   * selectedTracks
0043                                   * selectedPrimaryVertices
0044                                   * standaloneTrackMonitorMB)