File indexing completed on 2024-04-06 12:06:54
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("BeamMonitor")
0004
0005 process.load("DQMServices.Core.DQM_cfg")
0006 process.load("DQMServices.Components.DQMEnvironment_cfi")
0007
0008
0009 process.load('Configuration/StandardSequences/GeometryExtended_cff')
0010 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0011 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0012
0013 process.load("Configuration.StandardSequences.Reconstruction_cff")
0014 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0015
0016
0017 process.load('RecoTracker/Configuration/RecoTrackerNotStandard_cff')
0018 process.MeasurementTracker.pixelClusterProducer = cms.string("")
0019
0020
0021 process.load("DQM.BeamMonitor.BeamConditionsMonitor_cff")
0022 process.load("DQM.BeamMonitor.BeamMonitor_cff")
0023 process.dqmBeamMonitor.Debug = True
0024 process.dqmBeamMonitor.BeamFitter.Debug = True
0025 process.load("DQM.BeamMonitor.BeamMonitor_PixelLess_cff")
0026 process.dqmBeamMonitor_pixelless.Debug = True
0027 process.dqmBeamMonitor_pixelless.BeamFitter.Debug = True
0028
0029 process.dqmBeamMonitor.BeamFitter.WriteAscii = True
0030 process.dqmBeamMonitor.BeamFitter.AsciiFileName = 'BeamFitResults.txt'
0031 process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True
0032 process.dqmBeamMonitor.BeamFitter.DIPFileName = 'BeamFitResults.txt'
0033 process.dqmBeamMonitor.BeamFitter.SaveFitResults = False
0034 process.dqmBeamMonitor.BeamFitter.OutputFileName = 'BeamFitResults.root'
0035
0036
0037 import RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi
0038 process.offlinePrimaryVertices = RecoVertex.PrimaryVertexProducer.OfflinePrimaryVertices_cfi.offlinePrimaryVertices.clone()
0039
0040
0041 import DQMServices.Components.DQMEnvironment_cfi
0042 process.dqmEnvPixelLess = DQMServices.Components.DQMEnvironment_cfi.dqmEnv.clone()
0043 process.dqmEnvPixelLess.subSystemFolder = 'BeamMonitor_PixelLess'
0044
0045 process.GlobalTag.globaltag = 'GR09_R_34X_V2::All'
0046
0047
0048
0049
0050
0051
0052 process.load("HLTrigger.special.HLTTriggerTypeFilter_cfi")
0053
0054 process.hltTriggerTypeFilter.SelectedTriggerType = 1
0055
0056
0057 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0058 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0059 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0060 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('40 OR 41')
0061
0062
0063 process.maxEvents = cms.untracked.PSet(
0064 input = cms.untracked.int32(-1)
0065 )
0066
0067 process.source = cms.Source("PoolSource",
0068 fileNames = cms.untracked.vstring(
0069
0070
0071 )
0072 )
0073
0074
0075 process.phystrigger = cms.Sequence(process.hltTriggerTypeFilter*process.gtDigis*process.hltLevel1GTSeed)
0076 process.pretracking_step = cms.Sequence(process.siPixelDigis*
0077 process.siStripDigis*
0078 process.trackerlocalreco*
0079 process.offlineBeamSpot
0080 )
0081
0082 process.RecoForDQM = cms.Sequence(process.pretracking_step*process.recopixelvertexing*process.ckftracks)
0083 process.RecoForDQM_Pixelless = cms.Sequence(process.pretracking_step+process.ctfTracksPixelLess)
0084 process.RecoForDQM_ALL = cms.Sequence(process.pretracking_step+process.ckftracks+process.ctfTracksPixelLess)
0085 process.BeamMonitorDQM = cms.Sequence(process.dqmBeamMonitor+process.dqmEnv)
0086 process.BeamMonitorDQM_Pixelless = cms.Sequence(process.dqmBeamMonitor_pixelless+process.dqmEnvPixelLess)
0087
0088
0089
0090
0091
0092
0093
0094
0095
0096
0097
0098
0099
0100
0101 process.RecoForDQM_FirstStep = cms.Sequence(process.pretracking_step*process.recopixelvertexing*process.firstStep)
0102 process.dqmBeamMonitor.BeamFitter.TrackCollection = cms.untracked.InputTag('firstStepTracksWithQuality')
0103 process.offlinePrimaryVertices.TrackLabel = cms.InputTag("firstStepTracksWithQuality")
0104
0105
0106
0107
0108
0109 process.p = cms.Path(process.phystrigger*process.RecoForDQM_FirstStep*process.offlinePrimaryVertices*process.BeamMonitorDQM*process.dqmSaver)
0110
0111
0112
0113
0114
0115
0116
0117
0118
0119
0120
0121
0122
0123 process.DQMStore.verbose = 0
0124 process.DQM.collectorHost = 'cmslpc15.fnal.gov'
0125 process.DQM.collectorPort = 9190
0126 process.dqmSaver.dirName = '.'
0127 process.dqmSaver.producer = 'Playback'
0128 process.dqmSaver.convention = 'Online'
0129 process.dqmEnv.subSystemFolder = 'BeamMonitor'
0130 process.dqmSaver.saveByRun = 1
0131 process.dqmSaver.saveAtJobEnd = True
0132
0133
0134 process.options = cms.untracked.PSet(
0135 wantSummary = cms.untracked.bool(True)
0136 )
0137