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
0006
0007
0008
0009 process.load("DQMServices.Core.DQM_cfg")
0010
0011 process.load("DQMServices.Components.DQMEnvironment_cfi")
0012
0013
0014
0015
0016 process.load("DQM.Integration.test.inputsource_cfi")
0017 process.EventStreamHttpReader.consumerName = "Beam Pixel DQM Consumer"
0018
0019
0020
0021
0022 process.load("HLTrigger.special.HLTTriggerTypeFilter_cfi")
0023
0024 process.hltTriggerTypeFilter.SelectedTriggerType = 1
0025 process.physicsBitSelector = cms.EDFilter("PhysDecl",
0026 applyfilter = cms.untracked.bool(True),
0027 debugOn = cms.untracked.bool(False))
0028
0029 process.load("L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff")
0030 process.load("HLTrigger.HLTfilters.hltLevel1GTSeed_cfi")
0031 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0032 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string("0 AND (40 OR 41) AND NOT (36 OR 37 OR 38 OR 39) AND (NOT 42 OR 43) AND (42 OR NOT 43)")
0033
0034
0035
0036
0037
0038 process.load("DQM.Integration.test.environment_cfi")
0039
0040
0041
0042 process.dqmEnv.subSystemFolder = "BeamPixel"
0043
0044
0045
0046
0047
0048
0049
0050
0051 process.load("FWCore.MessageService.MessageLogger_cfi")
0052 process.load("Configuration.StandardSequences.Services_cff")
0053 process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
0054 process.load("Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff")
0055 process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
0056 process.load("Configuration.StandardSequences.EndOfProcess_cff")
0057 process.load("Configuration.EventContent.EventContent_cff")
0058 process.load("RecoTracker.TkTrackingRegions.GlobalTrackingRegion_cfi")
0059 process.load("RecoVertex.PrimaryVertexProducer.OfflinePixel3DPrimaryVertices_cfi")
0060
0061
0062
0063
0064
0065
0066
0067 process.dqmmodules = cms.Sequence(process.dqmEnv
0068 + process.dqmSaver)
0069
0070
0071 process.phystrigger = cms.Sequence(
0072 process.hltTriggerTypeFilter
0073 )
0074
0075
0076
0077 process.DQM.collectorHost = 'lxplus414.cern.ch'
0078 process.DQM.collectorPort = 9190
0079 process.dqmSaver.dirName = '.'
0080 process.dqmSaver.producer = 'Playback'
0081 process.dqmSaver.convention = 'Online'
0082 process.dqmEnv.subSystemFolder = 'BeamPixel'
0083 process.dqmSaver.saveByRun = 1
0084 process.dqmSaver.saveAtJobEnd = True
0085
0086 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0087 process.GlobalTag.globaltag = 'GR_R_52_V2::All'
0088
0089
0090 process.options = cms.untracked.PSet(
0091 wantSummary = cms.untracked.bool(True)
0092 )
0093
0094
0095
0096 process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(1)
0097
0098
0099
0100
0101
0102
0103
0104
0105 if (process.runType.getRunType() == process.runType.pp_run):
0106 print "Running pp "
0107
0108 process.EventStreamHttpReader.SelectEvents = cms.untracked.PSet(SelectEvents = cms.vstring('HLT_L1*',
0109 'HLT_Jet*',
0110
0111
0112
0113
0114 'HLT_ZeroBias*'))
0115
0116 process.load("Configuration.StandardSequences.Reconstruction_cff")
0117
0118
0119
0120
0121 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0122 process.pixelVertexDQM = DQMEDAnalyzer('Vx3DHLTAnalyzer',
0123 vertexCollection = cms.InputTag("pixelVertices"),
0124 debugMode = cms.bool(True),
0125 nLumiReset = cms.uint32(1),
0126 dataFromFit = cms.bool(True),
0127 minNentries = cms.uint32(20),
0128
0129
0130
0131 xRange = cms.double(2.0),
0132 xStep = cms.double(0.001),
0133 yRange = cms.double(2.0),
0134 yStep = cms.double(0.001),
0135 zRange = cms.double(30.0),
0136 zStep = cms.double(0.05),
0137 VxErrCorr = cms.double(1.24),
0138 fileName = cms.string("BeamPixelResults.txt"))
0139 if process.dqmSaver.producer.value() is "Playback":
0140 process.pixelVertexDQM.fileName = cms.string("BeamPixelResults.txt")
0141 else:
0142 process.pixelVertexDQM.fileName = cms.string("BeamPixelResults.txt")
0143
0144 process.pixelVertices.TkFilterParameters.minPt = process.pixelTracks.RegionFactoryPSet.RegionPSet.ptMin
0145
0146
0147 process.reconstruction_step = cms.Sequence(
0148 process.siPixelDigis*
0149 process.offlineBeamSpot*
0150 process.siPixelClusters*
0151 process.siPixelRecHits*
0152 process.pixelTracks*
0153 process.pixelVertices*
0154 process.pixelVertexDQM)
0155
0156 process.p = cms.Path(process.phystrigger
0157 * process.reconstruction_step
0158 * process.dqmmodules)
0159
0160 process.castorDigis.InputLabel = cms.InputTag("rawDataCollector")
0161 process.csctfDigis.producer = cms.InputTag("rawDataCollector")
0162 process.dttfDigis.DTTF_FED_Source = cms.InputTag("rawDataCollector")
0163 process.ecalDigis.InputLabel = cms.InputTag("rawDataCollector")
0164 process.ecalPreshowerDigis.sourceTag = cms.InputTag("rawDataCollector")
0165 process.gctDigis.inputLabel = cms.InputTag("rawDataCollector")
0166 process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataCollector")
0167 process.gtEvmDigis.EvmGtInputTag = cms.InputTag("rawDataCollector")
0168 process.hcalDigis.InputLabel = cms.InputTag("rawDataCollector")
0169 process.muonCSCDigis.InputObjects = cms.InputTag("rawDataCollector")
0170 process.muonDTDigis.inputLabel = cms.InputTag("rawDataCollector")
0171 process.muonRPCDigis.InputLabel = cms.InputTag("rawDataCollector")
0172 process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataCollector")
0173 process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector")
0174 process.siStripDigis.ProductLabel = cms.InputTag("rawDataCollector")
0175
0176
0177
0178
0179
0180 process.maxEvents = cms.untracked.PSet(
0181 input = cms.untracked.int32(20000)
0182 )
0183
0184
0185 process.source = cms.Source(
0186 "PoolSource",
0187 fileNames = cms.untracked.vstring(
0188
0189
0190
0191
0192
0193
0194
0195 'file:/tmp/schauhan/Run2011B_MinimumBias_RAW/1431D41F-E5EA-E011-8F71-001D09F291D2.root'
0196
0197
0198
0199
0200
0201
0202
0203
0204
0205 ),
0206 skipBadFiles = cms.untracked.bool(True),
0207 )
0208
0209