CMS 3D CMS Logo

DQMOfflineCosmics_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
6 
18 
19 DQMNone = cms.Sequence()
20 
21 dqmProvInfo.runType = "cosmics_run"
22 dqmProvInfo.dcsRecord = cms.untracked.InputTag("onlineMetaDataDigis")
23 DQMOfflineCosmicsDCS = cms.Sequence( dqmProvInfo )
24 
25 DQMOfflineCosmicsEcal = cms.Sequence( ecal_dqm_source_offline *
26  es_dqm_source_offline )
27 
28 DQMOfflineCosmicsHcal = cms.Sequence( hcalOfflineSourceSequence )
29 
30 DQMOfflineCosmicsTrackerStrip = cms.Sequence( SiStripDQMTier0 )
31 
32 DQMOfflineCosmicsTrackerPixel = cms.Sequence( siPixelOfflineDQM_cosmics_source )
33 
34 DQMOfflineCosmicsTrackerPhase2 = cms.Sequence( trackerphase2DQMSource )
35 
36 #tnp modules are meant for collisions only (DT has separate cff for cosmics)
37 if cscSources.contains(cscTnPEfficiencyMonitor):
38  cscSources.remove(cscTnPEfficiencyMonitor)
39 
40 if rpcTier0Source.contains(rpcTnPEfficiencyMonitor):
41  rpcTier0Source.remove(rpcTnPEfficiencyMonitor)
42 
43 DQMOfflineCosmicsMuonDPG = cms.Sequence( dtSourcesCosmics *
44  rpcTier0Source *
45  cscSources )
46 
47 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
48 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
49 _run3_GEM_DQMOfflineCosmicsMuonDPG = DQMOfflineCosmicsMuonDPG.copy()
50 _run3_GEM_DQMOfflineCosmicsMuonDPG += gemSourcesCosmics
51 (run3_GEM & ~phase2_common).toReplaceWith(DQMOfflineCosmicsMuonDPG, _run3_GEM_DQMOfflineCosmicsMuonDPG)
52 
53 DQMOfflineCosmicsCASTOR = cms.Sequence( castorSources )
54 
55 DQMOfflineCosmicsPreDPG = cms.Sequence( DQMOfflineCosmicsDCS *
56  DQMOfflineCosmicsEcal *
57  DQMOfflineCosmicsHcal *
58  DQMOfflineCosmicsTrackerStrip *
59  DQMOfflineCosmicsTrackerPixel *
60  DQMOfflineCosmicsMuonDPG *
61  DQMOfflineCosmicsCASTOR
62  )
63 
64 # No Strip detector in Phase-2 Tracker
65 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
66 phase2_tracker.toReplaceWith(DQMOfflineCosmicsPreDPG,DQMOfflineCosmicsPreDPG.copyAndExclude([DQMOfflineCosmicsTrackerStrip, DQMOfflineCosmicsTrackerPixel]))
67 
68 _DQMOfflineCosmicsPreDPG = DQMOfflineCosmicsPreDPG.copy()
69 _DQMOfflineCosmicsPreDPG += DQMOfflineCosmicsTrackerPhase2
70 phase2_tracker.toReplaceWith(DQMOfflineCosmicsPreDPG,_DQMOfflineCosmicsPreDPG)
71 
72 DQMOfflineCosmicsDPG = cms.Sequence( DQMOfflineCosmicsPreDPG *
73  DQMMessageLogger )
74 
81 from DQM.Physics.DQMPhysics_cff import *
82 
83 DQMOfflineCosmicsTracking = cms.Sequence( TrackingDQMTier0 )
84 
85 DQMOfflineCosmicsMUO = cms.Sequence( muonCosmicMonitors )
86 
87 DQMOfflineCosmicsJetMET = cms.Sequence( jetMETDQMOfflineSourceCosmic )
88 
89 DQMOfflineCosmicsEGamma = cms.Sequence( egammaCosmicPhotonMonitors )
90 
91 DQMOfflineCosmicsTrigger = cms.Sequence( l1TriggerDqmOfflineCosmics *
92  triggerCosmicOfflineDQMSource )
93 
94 DQMOfflineCosmicsPhysics = cms.Sequence( dqmPhysicsCosmics )
95 
96 DQMOfflineCosmicsPrePOG = cms.Sequence( DQMOfflineCosmicsTracking *
97  DQMOfflineCosmicsMUO *
98 # Following modules removed since they produce empty histograms
99 # and are not used in DC
100 # DQMOfflineCosmicsJetMET *
101 # DQMOfflineCosmicsEGamma *
102  DQMOfflineCosmicsTrigger
103 # DQMOfflineCosmicsPhysics
104  )
105 
106 phase2_common.toReplaceWith(DQMOfflineCosmicsPrePOG,DQMOfflineCosmicsPrePOG.copyAndExclude([DQMOfflineCosmicsTrigger]))
107 
108 DQMOfflineCosmicsPOG = cms.Sequence( DQMOfflineCosmicsPrePOG *
109  DQMMessageLogger )
110 
111 DQMOfflineCosmics = cms.Sequence( DQMOfflineCosmicsPreDPG *
112  DQMOfflineCosmicsPrePOG *
113  DQMMessageLogger )
114 
115 PostDQMOffline = cms.Sequence()