File indexing completed on 2024-04-06 12:06:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("DQM")
0004
0005 process.load("DQMServices.Core.DQM_cfg")
0006
0007 process.load("DQM.BeamMonitor.BeamMonitor_Pixel_cff")
0008 process.load("DQM.BeamMonitor.BeamMonitorBx_cff")
0009 process.load("DQM.BeamMonitor.BeamConditionsMonitor_cff")
0010 process.load("DQMServices.Components.DQMEnvironment_cfi")
0011
0012
0013
0014 process.load('FWCore.MessageService.MessageLogger_cfi')
0015 process.MessageLogger.debugModules = ['dqmBeamMonitor']
0016 process.MessageLogger.BeamMonitor = dict()
0017 process.MessageLogger.cerr.threshold = "INFO"
0018
0019
0020
0021
0022
0023 process.load("DQM.Integration.test.environment_cfi")
0024 process.dqmEnv.subSystemFolder = 'BeamMonitor'
0025
0026 import DQMServices.Components.DQMEnvironment_cfi
0027 process.dqmEnvPixelLess = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone()
0028 process.dqmEnvPixelLess.subSystemFolder = 'BeamMonitor_PixelLess'
0029
0030
0031 process.load("DQM.Integration.test.inputsource_cfi")
0032 process.EventStreamHttpReader.SelectEvents = cms.untracked.PSet(
0033 SelectEvents = cms.vstring('HLT_L1*',
0034 'HLT_ZeroBias*',
0035 'HLT_Jet*'))
0036
0037
0038
0039 process.maxEvents = cms.untracked.PSet(
0040 input = cms.untracked.int32(20000)
0041 )
0042
0043 process.source = cms.Source("PoolSource",
0044 fileNames = cms.untracked.vstring(
0045
0046
0047
0048
0049
0050
0051
0052
0053 'file:/tmp/schauhan/Run2011B_MinimumBias_RAW/46A6F982-BDE7-E011-8172-BCAEC53296FF_177139_LS400_420.root'
0054
0055
0056
0057
0058
0059
0060
0061 ),
0062 skipBadFiles = cms.untracked.bool(True),
0063 )
0064
0065
0066
0067
0068
0069
0070 process.load("HLTrigger.special.HLTTriggerTypeFilter_cfi")
0071
0072 process.hltTriggerTypeFilter.SelectedTriggerType = 1
0073
0074
0075
0076
0077 process.dqmBeamMonitor.OnlineMode = True
0078
0079 process.dqmBeamMonitor.resetEveryNLumi = 5
0080 process.dqmBeamMonitor.resetPVEveryNLumi = 5
0081 process.dqmBeamMonitor.PVFitter.errorScale = 1.23
0082
0083 process.dqmBeamMonitor.PVFitter.minNrVerticesForFit = 20
0084
0085
0086
0087
0088
0089 process.dqmBeamMonitor.jetTrigger = cms.untracked.vstring("HLT_L1",
0090 "HLT_Act")
0091
0092 process.dqmBeamMonitor.hltResults = cms.InputTag("TriggerResults","","HLT")
0093
0094
0095
0096 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0097
0098
0099
0100
0101 process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff')
0102
0103
0104
0105
0106
0107
0108
0109 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0110 process.load("Configuration.EventContent.EventContent_cff")
0111 process.load("RecoTracker.TkTrackingRegions.GlobalTrackingRegion_cfi")
0112 process.load("Configuration.StandardSequences.Reconstruction_cff")
0113 process.load("RecoVertex.PrimaryVertexProducer.OfflinePixel3DPrimaryVertices_cfi")
0114
0115
0116 process.load("RecoVertex.BeamSpotProducer.BeamSpot_cff")
0117
0118
0119
0120
0121
0122
0123
0124
0125 process.pixelVertices.TkFilterParameters.minPt = process.pixelTracks.RegionFactoryPSet.RegionPSet.ptMin
0126
0127 process.offlinePrimaryVertices.TrackLabel = cms.InputTag("pixelTracks")
0128
0129 process.tracking_FirstStep = cms.Sequence( process.siPixelDigis*
0130 process.offlineBeamSpot*
0131 process.siPixelClusters*
0132 process.siPixelRecHits*
0133 process.pixelTracks*
0134 process.pixelVertices
0135 )
0136
0137
0138
0139
0140
0141 if process.dqmSaver.producer.value() is "Playback":
0142 process.dqmBeamMonitor.BeamFitter.WriteAscii = False
0143 process.dqmBeamMonitor.BeamFitter.AsciiFileName = 'BeamFitResults.txt'
0144 process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True
0145 process.dqmBeamMonitor.BeamFitter.DIPFileName = 'DIP_BeamFitResults.txt'
0146 else:
0147 process.dqmBeamMonitor.BeamFitter.WriteAscii = True
0148 process.dqmBeamMonitor.BeamFitter.AsciiFileName = 'BeamFitResults.txt'
0149 process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True
0150 process.dqmBeamMonitor.BeamFitter.DIPFileName = 'DIP_BeamFitResults.txt'
0151 process.dqmBeamMonitorBx.BeamFitter.WriteAscii = True
0152 process.dqmBeamMonitorBx.BeamFitter.AsciiFileName = 'BeamFitResults_Bx.txt'
0153
0154
0155
0156
0157
0158 process.dqmTKStatus = cms.EDAnalyzer("TKStatus",
0159 BeamFitter = cms.PSet(
0160 DIPFileName = process.dqmBeamMonitor.BeamFitter.DIPFileName
0161 )
0162 )
0163
0164
0165
0166 process.dqmcommon = cms.Sequence(process.dqmEnv
0167 *process.dqmSaver)
0168
0169 process.monitor = cms.Sequence(process.dqmBeamMonitor
0170 )
0171
0172
0173
0174
0175 process.DQMStore.verbose = 1
0176 process.DQM.collectorHost = 'lxplus414.cern.ch'
0177 process.DQM.collectorPort = 9190
0178 process.dqmSaver.dirName = '.'
0179 process.dqmSaver.producer = 'Playback'
0180 process.dqmSaver.convention = 'Online'
0181 process.dqmEnv.subSystemFolder = 'BeamMonitor'
0182 process.dqmSaver.saveByRun = 1
0183 process.dqmSaver.saveAtJobEnd = True
0184
0185 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0186 process.GlobalTag.globaltag = 'GR_R_52_V2::All'
0187
0188
0189 process.options = cms.untracked.PSet(
0190 wantSummary = cms.untracked.bool(True)
0191 )
0192
0193
0194 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1)
0195
0196
0197 process.pp = cms.Path( process.scalersRawToDigi
0198 *process.onlineMetaDataDigis
0199 *process.dqmTKStatus
0200 *process.hltTriggerTypeFilter
0201 *process.dqmcommon
0202 *process.tracking_FirstStep
0203 *process.monitor
0204 )
0205
0206
0207 process.castorDigis.InputLabel = cms.InputTag("rawDataCollector")
0208 process.csctfDigis.producer = cms.InputTag("rawDataCollector")
0209 process.dttfDigis.DTTF_FED_Source = cms.InputTag("rawDataCollector")
0210 process.ecalDigis.InputLabel = cms.InputTag("rawDataCollector")
0211 process.ecalPreshowerDigis.sourceTag = cms.InputTag("rawDataCollector")
0212 process.gctDigis.inputLabel = cms.InputTag("rawDataCollector")
0213 process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataCollector")
0214 process.gtEvmDigis.EvmGtInputTag = cms.InputTag("rawDataCollector")
0215 process.hcalDigis.InputLabel = cms.InputTag("rawDataCollector")
0216 process.muonCSCDigis.InputObjects = cms.InputTag("rawDataCollector")
0217 process.muonDTDigis.inputLabel = cms.InputTag("rawDataCollector")
0218 process.muonRPCDigis.InputLabel = cms.InputTag("rawDataCollector")
0219 process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataCollector")
0220 process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector")
0221 process.siStripDigis.ProductLabel = cms.InputTag("rawDataCollector")
0222
0223
0224
0225