CMS 3D CMS Logo

DQMOfflineHeavyIons_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 = "hi_run"
22 DQMOfflineHeavyIonsDCS = cms.Sequence( dqmProvInfo )
23 
24 # L1 trigger sequences
25 DQMOfflineHeavyIonsL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
26 
27 #DPGs
28 DQMOfflineHeavyIonsEcal = cms.Sequence( ecal_dqm_source_offline *
29  es_dqm_source_offline )
30 
31 DQMOfflineHeavyIonsHcal = cms.Sequence( hcalOfflineSourceSequence )
32 
33 DQMOfflineHeavyIonsTrackerStrip = cms.Sequence( SiStripDQMTier0_hi )
34 
35 DQMOfflineHeavyIonsTrackerPixel = cms.Sequence( siPixelOfflineDQM_heavyions_source )
36 
37 #tnp modules are meant for pp collisions only (DT has separate cff for cosmics)
38 if cscSources.contains(cscTnPEfficiencyMonitor):
39  cscSources.remove(cscTnPEfficiencyMonitor)
40 
41 if rpcTier0Source.contains(rpcTnPEfficiencyMonitor):
42  rpcTier0Source.remove(rpcTnPEfficiencyMonitor)
43 
44 DQMOfflineHeavyIonsMuonDPG = cms.Sequence( dtSources *
45  rpcTier0Source *
46  cscSources )
47 
48 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
49 _run3_GEM_DQMOfflineHeavyIonsMuonDPG = DQMOfflineHeavyIonsMuonDPG.copy()
50 _run3_GEM_DQMOfflineHeavyIonsMuonDPG += gemSources
51 run3_GEM.toReplaceWith(DQMOfflineHeavyIonsMuonDPG, _run3_GEM_DQMOfflineHeavyIonsMuonDPG)
52 
53 DQMOfflineHeavyIonsPreDPG = cms.Sequence( DQMOfflineHeavyIonsDCS *
54  DQMOfflineHeavyIonsL1T *
55  DQMOfflineHeavyIonsEcal *
56  DQMOfflineHeavyIonsHcal *
57  DQMOfflineHeavyIonsTrackerStrip *
58  DQMOfflineHeavyIonsTrackerPixel *
59  DQMOfflineHeavyIonsMuonDPG )
60 
61 DQMOfflineHeavyIonsDPG = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
62  DQMMessageLogger )
63 
64 #Modifications
66 diMuonHistos.etaBin = cms.int32(70) #dimuonhistograms mass, bin
67 diMuonHistos.etaBBin = cms.int32(70)
68 diMuonHistos.etaEBin = cms.int32(70)
69 diMuonHistos.LowMassMin = cms.double(2.0)
70 diMuonHistos.LowMassMax = cms.double(14.0)
71 diMuonHistos.HighMassMin = cms.double(55.0)
72 diMuonHistos.HighMassMax = cms.double(125.0)
73 
75 triggerOfflineDQMSource.remove(jetMETHLTOfflineAnalyzer)
76 triggerOfflineDQMSource.remove(exoticaMonitorHLT)
77 triggerOfflineDQMSource.remove(susyMonitorHLT)
78 triggerOfflineDQMSource.remove(b2gMonitorHLT)
79 triggerOfflineDQMSource.remove(bphMonitorHLT)
80 triggerOfflineDQMSource.remove(higgsMonitorHLT)
81 triggerOfflineDQMSource.remove(smpMonitorHLT)
82 triggerOfflineDQMSource.remove(topMonitorHLT)
83 triggerOfflineDQMSource.remove(btagMonitorHLT)
84 triggerOfflineDQMSource.remove(egammaMonitorHLT)
85 triggerOfflineDQMSource.remove(ak4PFL1FastL2L3CorrectorChain)
86 
87 globalAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
88 #trackerAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
89 #tightAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
90 #looseAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
91 
93 #egammaDQMOffline.remove(electronAnalyzerSequence)
94 egammaDQMOffline.remove(zmumugammaAnalysis)
95 egammaDQMOffline.remove(zmumugammaOldAnalysis)
96 #egammaDQMOffline.remove(photonAnalysis)
97 
98 photonAnalysis.phoProducer = cms.InputTag("gedPhotonsTmp")
99 photonAnalysis.isHeavyIon = True
100 photonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
101 photonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
102 
103 dqmElectronGeneralAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
104 dqmElectronGeneralAnalysis.TrackCollection = cms.InputTag("hiGeneralTracks")
105 dqmElectronGeneralAnalysis.VertexCollection = cms.InputTag("hiSelectedVertex")
106 dqmElectronAnalysisAllElectrons.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
107 dqmElectronAnalysisSelectionEt.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
108 dqmElectronAnalysisSelectionEtIso.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
109 dqmElectronTagProbeAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
110 
111 stdPhotonAnalysis.isHeavyIon = True
112 stdPhotonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
113 stdPhotonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
114 
115 #disabled, until an appropriate configuration is set
116 hltTauOfflineMonitor_PFTaus.Matching.doMatching = False
117 
119 fsqHLTOfflineSource.todo = getFSQHI()
120 
122 pvMonitor.vertexLabel = cms.InputTag("hiSelectedVertex")
123 
127 from DQM.Physics.DQMPhysics_cff import *
128 
129 DQMOfflineHeavyIonsMUO = cms.Sequence(muonMonitors)
130 
131 DQMOfflineHeavyIonsTracking = cms.Sequence( TrackMonDQMTier0_hi )
132 
133 DQMOfflineHeavyIonsJetMET = cms.Sequence( jetMETDQMOfflineSource )
134 
135 DQMOfflineHeavyIonsEGamma = cms.Sequence( egammaDQMOffline )
136 
137 DQMOfflineHeavyIonsTrigger = cms.Sequence( triggerOfflineDQMSource )
138 
139 DQMOfflineHeavyIonsVertex = cms.Sequence( pvMonitor )
140 
141 DQMOfflineHeavyIonsBeam = cms.Sequence( alcaBeamMonitor )
142 
143 DQMOfflineHeavyIonsPhysics = cms.Sequence( dqmPhysicsHI )
144 
145 DQMOfflineHeavyIonsPrePOG = cms.Sequence( DQMOfflineHeavyIonsMUO *
146  DQMOfflineHeavyIonsTracking *
147  DQMOfflineHeavyIonsJetMET *
148  DQMOfflineHeavyIonsEGamma *
149  DQMOfflineHeavyIonsTrigger *
150  DQMOfflineHeavyIonsVertex *
151  DQMOfflineHeavyIonsBeam *
152  DQMOfflineHeavyIonsPhysics )
153 
154 DQMOfflineHeavyIonsPOG = cms.Sequence( DQMOfflineHeavyIonsPrePOG *
155  DQMMessageLogger )
156 
157 DQMOfflineHeavyIons = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
158  DQMOfflineHeavyIonsPrePOG *
159  DQMMessageLogger )
160 
161 DQMOfflineHeavyIonsFakeHLT = cms.Sequence( DQMOfflineHeavyIons )
162 DQMOfflineHeavyIonsFakeHLT.remove( triggerOfflineDQMSource )
163 
164 #this is needed to have a light sequence for T0 processing
165 liteDQMOfflineHeavyIons = cms.Sequence ( DQMOfflineHeavyIons )
166 liteDQMOfflineHeavyIons.remove( SiStripMonitorCluster )
167 liteDQMOfflineHeavyIons.remove( jetMETDQMOfflineSource )
168 
169 PostDQMOfflineHI = cms.Sequence()