/
DQMOfflineHeavyIons_cff.py
155 lines (120 loc) · 6.93 KB
/
DQMOfflineHeavyIons_cff.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
import FWCore.ParameterSet.Config as cms
from DQMServices.Components.DQMMessageLogger_cfi import *
from DQMServices.Components.DQMProvInfo_cfi import *
from DQMServices.Components.DQMFastTimerService_cff import *
from DQMOffline.L1Trigger.L1TriggerDqmOffline_cff import *
from DQMOffline.Ecal.ecal_dqm_source_offline_HI_cff import *
from DQM.EcalPreshowerMonitorModule.es_dqm_source_offline_cff import *
from DQM.HcalTasks.OfflineSourceSequence_hi import *
from DQM.SiStripMonitorClient.SiStripSourceConfigTier0_HeavyIons_cff import *
from DQM.SiPixelCommon.SiPixelOfflineDQM_source_cff import *
from DQM.DTMonitorModule.dtDQMOfflineSources_HI_cff import *
from DQM.RPCMonitorClient.RPCTier0Source_cff import *
from DQM.CSCMonitorModule.csc_dqm_sourceclient_offline_cff import *
from DQM.BeamMonitor.AlcaBeamMonitorHeavyIons_cff import *
dqmProvInfo.runType = "hi_run"
DQMOfflineHeavyIonsDCS = cms.Sequence( dqmProvInfo )
# L1 trigger sequences
DQMOfflineHeavyIonsL1T = cms.Sequence( l1TriggerDqmOffline ) # L1 emulator is run within this sequence for real data
#DPGs
DQMOfflineHeavyIonsEcal = cms.Sequence( ecal_dqm_source_offline *
es_dqm_source_offline )
DQMOfflineHeavyIonsHcal = cms.Sequence( hcalOfflineSourceSequence )
DQMOfflineHeavyIonsTrackerStrip = cms.Sequence( SiStripDQMTier0_hi )
DQMOfflineHeavyIonsTrackerPixel = cms.Sequence( siPixelOfflineDQM_heavyions_source )
DQMOfflineHeavyIonsMuonDPG = cms.Sequence( dtSources *
rpcTier0Source *
cscSources )
DQMOfflineHeavyIonsPreDPG = cms.Sequence( DQMOfflineHeavyIonsDCS *
DQMOfflineHeavyIonsL1T *
DQMOfflineHeavyIonsEcal *
DQMOfflineHeavyIonsHcal *
DQMOfflineHeavyIonsTrackerStrip *
DQMOfflineHeavyIonsTrackerPixel *
DQMOfflineHeavyIonsMuonDPG )
DQMOfflineHeavyIonsDPG = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
DQMMessageLogger )
#Modifications
from DQMOffline.Muon.muonMonitors_cff import *
diMuonHistos.etaBin = cms.int32(70) #dimuonhistograms mass, bin
diMuonHistos.etaBBin = cms.int32(70)
diMuonHistos.etaEBin = cms.int32(70)
diMuonHistos.LowMassMin = cms.double(2.0)
diMuonHistos.LowMassMax = cms.double(14.0)
diMuonHistos.HighMassMin = cms.double(55.0)
diMuonHistos.HighMassMax = cms.double(125.0)
from DQMOffline.Trigger.DQMOffline_Trigger_cff import *
triggerOfflineDQMSource.remove(jetMETHLTOfflineAnalyzer)
triggerOfflineDQMSource.remove(exoticaMonitorHLT)
triggerOfflineDQMSource.remove(susyMonitorHLT)
triggerOfflineDQMSource.remove(b2gMonitorHLT)
triggerOfflineDQMSource.remove(bphMonitorHLT)
triggerOfflineDQMSource.remove(higgsMonitorHLT)
triggerOfflineDQMSource.remove(smpMonitorHLT)
triggerOfflineDQMSource.remove(topMonitorHLT)
triggerOfflineDQMSource.remove(btagMonitorHLT)
triggerOfflineDQMSource.remove(egammaMonitorHLT)
triggerOfflineDQMSource.remove(ak4PFL1FastL2L3CorrectorChain)
globalAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
trackerAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
tightAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
looseAnalyzerTnP.inputTags.offlinePVs = cms.InputTag("hiSelectedVertex")
from DQMOffline.EGamma.egammaDQMOffline_cff import *
#egammaDQMOffline.remove(electronAnalyzerSequence)
egammaDQMOffline.remove(zmumugammaAnalysis)
egammaDQMOffline.remove(zmumugammaOldAnalysis)
#egammaDQMOffline.remove(photonAnalysis)
photonAnalysis.phoProducer = cms.InputTag("gedPhotonsTmp")
photonAnalysis.isHeavyIon = True
photonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
photonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
dqmElectronGeneralAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
dqmElectronGeneralAnalysis.TrackCollection = cms.InputTag("hiGeneralTracks")
dqmElectronGeneralAnalysis.VertexCollection = cms.InputTag("hiSelectedVertex")
dqmElectronAnalysisAllElectrons.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
dqmElectronAnalysisSelectionEt.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
dqmElectronAnalysisSelectionEtIso.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
dqmElectronTagProbeAnalysis.ElectronCollection = cms.InputTag("gedGsfElectronsTmp")
stdPhotonAnalysis.isHeavyIon = True
stdPhotonAnalysis.barrelRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEB")
stdPhotonAnalysis.endcapRecHitProducer = cms.InputTag("ecalRecHit", "EcalRecHitsEE")
hltResults.RecHitsEBTag = cms.untracked.InputTag("ecalRecHit", "EcalRecHitsEB")
hltResults.RecHitsEETag = cms.untracked.InputTag("ecalRecHit", "EcalRecHitsEE")
#disabled, until an appropriate configuration is set
hltTauOfflineMonitor_PFTaus.Matching.doMatching = False
from DQMOffline.Trigger.FSQHLTOfflineSource_cfi import getFSQHI
fsqHLTOfflineSource.todo = getFSQHI()
from DQMOffline.RecoB.PrimaryVertexMonitor_cff import *
pvMonitor.vertexLabel = cms.InputTag("hiSelectedVertex")
from DQM.TrackingMonitorSource.TrackingSourceConfig_Tier0_HeavyIons_cff import *
from DQMOffline.JetMET.jetMETDQMOfflineSourceHI_cff import *
from DQM.BeamMonitor.AlcaBeamMonitorHeavyIons_cff import *
from DQM.Physics.DQMPhysics_cff import *
DQMOfflineHeavyIonsMUO = cms.Sequence(muonMonitors)
DQMOfflineHeavyIonsTracking = cms.Sequence( TrackMonDQMTier0_hi )
DQMOfflineHeavyIonsJetMET = cms.Sequence( jetMETDQMOfflineSource )
DQMOfflineHeavyIonsEGamma = cms.Sequence( egammaDQMOffline )
DQMOfflineHeavyIonsTrigger = cms.Sequence( triggerOfflineDQMSource )
DQMOfflineHeavyIonsVertex = cms.Sequence( pvMonitor )
DQMOfflineHeavyIonsBeam = cms.Sequence( alcaBeamMonitor )
DQMOfflineHeavyIonsPhysics = cms.Sequence( dqmPhysicsHI )
DQMOfflineHeavyIonsPrePOG = cms.Sequence( DQMOfflineHeavyIonsMUO *
DQMOfflineHeavyIonsTracking *
DQMOfflineHeavyIonsJetMET *
DQMOfflineHeavyIonsEGamma *
DQMOfflineHeavyIonsTrigger *
DQMOfflineHeavyIonsVertex *
DQMOfflineHeavyIonsBeam *
DQMOfflineHeavyIonsPhysics )
DQMOfflineHeavyIonsPOG = cms.Sequence( DQMOfflineHeavyIonsPrePOG *
DQMMessageLogger )
DQMOfflineHeavyIons = cms.Sequence( DQMOfflineHeavyIonsPreDPG *
DQMOfflineHeavyIonsPrePOG *
DQMMessageLogger )
DQMOfflineHeavyIonsFakeHLT = cms.Sequence( DQMOfflineHeavyIons )
DQMOfflineHeavyIonsFakeHLT.remove( triggerOfflineDQMSource )
#this is needed to have a light sequence for T0 processing
liteDQMOfflineHeavyIons = cms.Sequence ( DQMOfflineHeavyIons )
liteDQMOfflineHeavyIons.remove( SiStripMonitorCluster )
liteDQMOfflineHeavyIons.remove( jetMETDQMOfflineSource )
PostDQMOfflineHI = cms.Sequence()