test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
muonMonitors_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #
4 # This object is used to make changes for different running scenarios
5 #
6 from Configuration.StandardSequences.Eras import eras
7 
8 #Analyzer taken from online dqm
12 
13 #dedicated analyzers for offline dqm
18 
19 #dedicated clients for offline dqm
21 
22 dqmInfoMuons = cms.EDAnalyzer("DQMEventInfo",
23  subSystemFolder = cms.untracked.string('Muons')
24  )
25 
26 muonTrackAnalyzers = cms.Sequence(MonitorTrackSTAMuons*MonitorTrackGLBMuons)
27 
28 muonMonitors = cms.Sequence(muonTrackAnalyzers*
29  dtSegmentsMonitor*
30  cscMonitor*
31  muonAnalyzer*
32  muonIdDQM*
33  dqmInfoMuons*
34  muIsoDQM_seq)
35 # Modify for if the phase 1 pixel detector is active
36 if eras.phase1Pixel.isChosen() :
37  muonMonitors.remove(muonAnalyzer)
38 
39 muonMonitorsAndQualityTests = cms.Sequence(muonMonitors*muonQualityTests)
40 
41