From b0f913e51079263617b17aea315c300b51e7adef Mon Sep 17 00:00:00 2001 From: Andrea Bocci Date: Wed, 14 Nov 2018 23:56:26 +0100 Subject: [PATCH] Synchronise with CMSSW_10_4_0_pre2 --- .../StandardSequences/python/RawToDigi_cff.py | 23 + .../clients/beam_dqm_sourceclient-live_cfg.py | 582 ++++++------------ .../beampixel_dqm_sourceclient-live_cfg.py | 9 +- .../clients/csc_dqm_sourceclient-live_cfg.py | 17 +- .../clients/l1t_dqm_sourceclient-live_cfg.py | 3 +- .../l1temulator_dqm_sourceclient-live_cfg.py | 3 +- .../l1tstage1_dqm_sourceclient-live_cfg.py | 3 +- ...tage1emulator_dqm_sourceclient-live_cfg.py | 3 +- .../l1tstage2_dqm_sourceclient-live_cfg.py | 3 +- ...tage2emulator_dqm_sourceclient-live_cfg.py | 5 +- .../physics_dqm_sourceclient-live_cfg.py | 3 +- .../pixel_dqm_sourceclient-live_cfg.py | 48 +- .../pixellumi_dqm_sourceclient-live_cfg.py | 3 +- .../sistrip_dqm_sourceclient-live_cfg.py | 194 +++--- .../python/RecoLocalTracker_cff.py | 5 - .../SiPixelRecHits/interface/PixelCPEBase.h | 1 - .../python/globalValidation_cff.py | 2 + 17 files changed, 401 insertions(+), 506 deletions(-) diff --git a/Configuration/StandardSequences/python/RawToDigi_cff.py b/Configuration/StandardSequences/python/RawToDigi_cff.py index 4380d33f134cc..342fb1a2433db 100644 --- a/Configuration/StandardSequences/python/RawToDigi_cff.py +++ b/Configuration/StandardSequences/python/RawToDigi_cff.py @@ -27,6 +27,9 @@ import EventFilter.RPCRawToDigi.rpcUnpacker_cfi muonRPCDigis = EventFilter.RPCRawToDigi.rpcUnpacker_cfi.rpcunpacker.clone() +import EventFilter.RPCRawToDigi.rpcDigiMerger_cfi +muonRPCNewDigis = EventFilter.RPCRawToDigi.rpcDigiMerger_cfi.rpcDigiMerger.clone() + import EventFilter.GEMRawToDigi.muonGEMDigis_cfi muonGEMDigis = EventFilter.GEMRawToDigi.muonGEMDigis_cfi.muonGEMDigis.clone() @@ -121,3 +124,23 @@ _hgcal_RawToDigi += hgcalDigis from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal phase2_hgcal.toReplaceWith(RawToDigi,_hgcal_RawToDigi) + +# RPC New Readout Validation +from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 +_rpc_NewReadoutVal_RawToDigi = RawToDigi.copy() +_rpc_NewReadoutVal_RawToDigi_noTk = RawToDigi_noTk.copy() +_rpc_NewReadoutVal_RawToDigi += muonRPCNewDigis +_rpc_NewReadoutVal_RawToDigi_noTk += muonRPCNewDigis +stage2L1Trigger_2017.toReplaceWith(RawToDigi, _rpc_NewReadoutVal_RawToDigi) +stage2L1Trigger_2017.toReplaceWith(RawToDigi_noTk, _rpc_NewReadoutVal_RawToDigi) + +from Configuration.Eras.Modifier_fastSim_cff import fastSim +fastSim.toReplaceWith(RawToDigi, RawToDigi.copyAndExclude([muonRPCNewDigis])) +fastSim.toReplaceWith(RawToDigi_noTk, RawToDigi_noTk.copyAndExclude([muonRPCNewDigis])) + +_hfnose_RawToDigi = RawToDigi.copy() +_hfnose_RawToDigi += hfnoseDigis + +from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose +phase2_hfnose.toReplaceWith(RawToDigi,_hfnose_RawToDigi) + diff --git a/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py index bb9fd37b202e5..5bc3b2bf8af63 100644 --- a/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/beam_dqm_sourceclient-live_cfg.py @@ -1,56 +1,77 @@ +from __future__ import print_function import FWCore.ParameterSet.Config as cms from Configuration.StandardSequences.Eras import eras -process = cms.Process("BeamMonitor", eras.Run2_2018) +#process = cms.Process("BeamMonitor", eras.Run2_2018) FIXME +process = cms.Process("BeamMonitor", eras.Run2_2018_pp_on_AA) -#---------------------------------------------- -# Switch to change between firstStep and Pixel -#----------------------------------------------- +# +process.MessageLogger = cms.Service("MessageLogger", + debugModules = cms.untracked.vstring('*'), + cerr = cms.untracked.PSet( + threshold = cms.untracked.string('WARNING') + ), + destinations = cms.untracked.vstring('cerr') +) -runFirstStepTrk = False +# switch +live = True # FIXME -#---------------------------- -# Common part for PP and H.I Running -#----------------------------- -# for live online DQM in P5 -process.load("DQM.Integration.config.inputsource_cfi") - -# for testing in lxplus -#process.load("DQM.Integration.config.fileinputsource_cfi") +#--------------- +# Input sources +if (live): + process.load("DQM.Integration.config.inputsource_cfi") +else: + process.load("DQM.Integration.config.fileinputsource_cfi") #-------------------------- # HLT Filter -# 0=random, 1=physics, 2=calibration, 3=technical process.hltTriggerTypeFilter = cms.EDFilter("HLTTriggerTypeFilter", - SelectedTriggerType = cms.int32(1) + SelectedTriggerType = cms.int32(1) # physics ) #---------------------------- # DQM Live Environment -#----------------------------- process.load("DQM.Integration.config.environment_cfi") process.dqmEnv.subSystemFolder = 'BeamMonitor' -process.dqmSaver.tag = 'BeamMonitor' +process.dqmSaver.tag = 'BeamMonitor' process.dqmEnvPixelLess = process.dqmEnv.clone() process.dqmEnvPixelLess.subSystemFolder = 'BeamMonitor_PixelLess' -#---------------------------- -# BeamMonitor -#----------------------------- - -if(runFirstStepTrk): - process.load("DQM.BeamMonitor.BeamMonitor_cff") # for reduced/firsStep/normal tracking +#--------------- +# Conditions +if (live): + process.load("DQM.Integration.config.FrontierCondition_GT_cfi") else: - process.load("DQM.BeamMonitor.BeamMonitor_Pixel_cff") #for pixel tracks/vertices + process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') + from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise + process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run2_data', '') + # you may need to set manually the GT in the line below + process.GlobalTag.globaltag = '100X_upgrade2018_realistic_v10' +#---------------------------- +# BeamMonitor +process.load("DQM.BeamMonitor.BeamMonitor_Pixel_cff") process.load("DQM.BeamMonitor.BeamSpotProblemMonitor_cff") -#process.load("DQM.BeamMonitor.BeamMonitorBx_cff") -#process.load("DQM.BeamMonitor.BeamMonitor_PixelLess_cff") process.load("DQM.BeamMonitor.BeamConditionsMonitor_cff") +if process.dqmRunConfig.type.value() is "production": + process.dqmBeamMonitor.BeamFitter.WriteAscii = True + process.dqmBeamMonitor.BeamFitter.AsciiFileName = '/nfshome0/yumiceva/BeamMonitorDQM/BeamFitResultsOld.txt' + process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True + process.dqmBeamMonitor.BeamFitter.DIPFileName = '/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsOld.txt' +else: + process.dqmBeamMonitor.BeamFitter.WriteAscii = False + process.dqmBeamMonitor.BeamFitter.AsciiFileName = '/nfshome0/yumiceva/BeamMonitorDQM/BeamFitResultsOld.txt' + process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True + if (live): + process.dqmBeamMonitor.BeamFitter.DIPFileName = '/nfshome0/dqmdev/BeamMonitorDQM/BeamFitResultsOld.txt' + else: + process.dqmBeamMonitor.BeamFitter.DIPFileName = 'BeamFitResultsOld.txt' -#### SETUP TRACKING RECONSTRUCTION #### +#---------------- +# Setup tracking process.load("Configuration.StandardSequences.GeometryRecoDB_cff") process.load('Configuration.StandardSequences.MagneticField_AutoFromDBCurrent_cff') process.load("Configuration.StandardSequences.RawToDigi_Data_cff") @@ -62,48 +83,12 @@ ) process.load("RecoLocalTracker.SiPixelRecHits.PixelCPEGeneric_cfi") +#----------------- -#--------------- -# Calibration -#--------------- -# Condition for P5 cluster -process.load("DQM.Integration.config.FrontierCondition_GT_cfi") -# Condition for lxplus: change and possibly customise the GT -#from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise -#process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run2_data', '') - -# Change Beam Monitor variables -if process.dqmRunConfig.type.value() is "production": - process.dqmBeamMonitor.BeamFitter.WriteAscii = True - process.dqmBeamMonitor.BeamFitter.AsciiFileName = '/nfshome0/yumiceva/BeamMonitorDQM/BeamFitResultsOld.txt' - process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True - process.dqmBeamMonitor.BeamFitter.DIPFileName = '/nfshome0/dqmpro/BeamMonitorDQM/BeamFitResultsOld.txt' -else: - process.dqmBeamMonitor.BeamFitter.WriteAscii = False - process.dqmBeamMonitor.BeamFitter.AsciiFileName = '/nfshome0/yumiceva/BeamMonitorDQM/BeamFitResultsOld.txt' - process.dqmBeamMonitor.BeamFitter.WriteDIPAscii = True - process.dqmBeamMonitor.BeamFitter.DIPFileName = '/nfshome0/dqmdev/BeamMonitorDQM/BeamFitResultsOld.txt' - - -#---------------------------- # TrackingMonitor -#----------------------------- -# first, tracks selection as in https://github.com/cms-sw/cmssw/blob/master/DQM/BeamMonitor/python/BeamMonitor_Pixel_cff.py -# -MinimumPt = cms.untracked.double(1.0), -# -MaximumEta = cms.untracked.double(2.4), -# -MaximumImpactParameter = cms.untracked.double(1.0), -# -MaximumZ = cms.untracked.double(60), -# -MinimumTotalLayers = cms.untracked.int32(3), -# -MinimumPixelLayers = cms.untracked.int32(3), -# -MaximumNormChi2 = cms.untracked.double(30.0), - -#### while hitPattern().trackerLayersWithMeasurement() and hitPattern().pixelLayersWithMeasurement() !!! -#### => -#### select tracks based on MaximumImpactParameter, MaximumZ, MinimumTotalLayers, MinimumPixelLayers and MaximumNormChi2 process.pixelTracksCutClassifier = cms.EDProducer( "TrackCutClassifier", src = cms.InputTag( "pixelTracks" ), beamspot = cms.InputTag( "offlineBeamSpot" ), -# vertices = cms.InputTag( "pixelVertices" ), vertices = cms.InputTag( "" ), qualityCuts = cms.vdouble( -0.7, 0.1, 0.7 ), mva = cms.PSet( @@ -132,6 +117,8 @@ ), ignoreVertices = cms.bool( True ), ) + +# process.pixelTracksHP = cms.EDProducer( "TrackCollectionFilterCloner", minQuality = cms.string( "highPurity" ), copyExtras = cms.untracked.bool( True ), @@ -141,17 +128,18 @@ originalMVAVals = cms.InputTag( 'pixelTracksCutClassifier','MVAValues' ) ) +#------------------------------------- +# PixelTracksMonitor + import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi process.pixelTracksMonitor = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone() -process.pixelTracksMonitor.FolderName = 'BeamMonitor/Tracking/pixelTracks' -if (runFirstStepTrk): - process.pixelTracksMonitor.TrackProducer = 'initialStepTracksPreSplitting' - process.pixelTracksMonitor.allTrackProducer = 'initialStepTracksPreSplitting' -else: - process.pixelTracksMonitor.TrackProducer = 'pixelTracks' - process.pixelTracksMonitor.allTrackProducer = 'pixelTracks' -process.pixelTracksMonitor.beamSpot = "offlineBeamSpot" -process.pixelTracksMonitor.primaryVertex = "pixelVertices" + +process.pixelTracksMonitor.FolderName = 'BeamMonitor/Tracking/pixelTracks' +process.pixelTracksMonitor.TrackProducer = 'pixelTracks' +process.pixelTracksMonitor.allTrackProducer = 'pixelTracks' +process.pixelTracksMonitor.beamSpot = "offlineBeamSpot" +process.pixelTracksMonitor.primaryVertex = "pixelVertices" + process.pixelTracksMonitor.doAllPlots = cms.bool(False) process.pixelTracksMonitor.doLumiAnalysis = cms.bool(False) process.pixelTracksMonitor.doProfilesVsLS = cms.bool(True) @@ -163,357 +151,195 @@ process.pixelTracksMonitor.doPlotsVsGoodPVtx = cms.bool(True) process.pixelTracksMonitor.doPlotsVsLUMI = cms.bool(True) process.pixelTracksMonitor.doPlotsVsBX = cms.bool(True) + process.pixelTracksMonitor.AbsDxyMax = 1.2 process.pixelTracksMonitor.AbsDxyBin = 12 + process.pixelTracksMonitor.DxyMin = -1.2 process.pixelTracksMonitor.DxyMax = 1.2 process.pixelTracksMonitor.DxyBin = 60 + process.pixelTracksMonitor.Chi2NDFMax = 35. process.pixelTracksMonitor.Chi2NDFMin = 0. process.pixelTracksMonitor.Chi2NDFBin = 70 -process.pixelTracksMonitor.VZBin = 124 -process.pixelTracksMonitor.VZMin = -62. -process.pixelTracksMonitor.VZMax = 62. -process.pixelTracksMonitor.TrackPtMin = 0. -process.pixelTracksMonitor.TrackPtMax = 50. -process.pixelTracksMonitor.TrackPtBin = 250 +process.pixelTracksMonitor.VZBin = 124 +process.pixelTracksMonitor.VZMin = -62. +process.pixelTracksMonitor.VZMax = 62. + +process.pixelTracksMonitor.TrackPtMin = 0. +process.pixelTracksMonitor.TrackPtMax = 50. +process.pixelTracksMonitor.TrackPtBin = 250 + +# process.tracks2monitor = cms.EDFilter('TrackSelector', src = cms.InputTag('pixelTracks'), cut = cms.string("") ) process.tracks2monitor.src = 'pixelTracksHP' -process.tracks2monitor.cut = 'pt > 1 & abs(eta) < 2.4' # & normalizedChi2 < 30. abs(dxy) < 1. abs(dz) < 60.' +process.tracks2monitor.cut = 'pt > 1 & abs(eta) < 2.4' +# process.selectedPixelTracksMonitor = process.pixelTracksMonitor.clone() -process.selectedPixelTracksMonitor.FolderName = 'BeamMonitor/Tracking/selectedPixelTracks' -if (runFirstStepTrk): - process.selectedPixelTracksMonitor.TrackProducer = 'initialStepTracksPreSplitting' - process.selectedPixelTracksMonitor.allTrackProducer = 'initialStepTracksPreSplitting' -else: - process.selectedPixelTracksMonitor.TrackProducer = 'tracks2monitor' - process.selectedPixelTracksMonitor.allTrackProducer = 'tracks2monitor' +process.selectedPixelTracksMonitor.FolderName = 'BeamMonitor/Tracking/selectedPixelTracks' +process.selectedPixelTracksMonitor.TrackProducer = 'tracks2monitor' +process.selectedPixelTracksMonitor.allTrackProducer = 'tracks2monitor' process.selectedPixelTracksMonitorSequence = cms.Sequence( - process.pixelTracksCutClassifier + process.pixelTracksCutClassifier + process.pixelTracksHP + process.tracks2monitor + process.selectedPixelTracksMonitor ) -## TKStatus +#--------------------------------- +# Putting together combined paths + +# process.dqmTKStatus = cms.EDAnalyzer("TKStatus", - BeamFitter = cms.PSet( + BeamFitter = cms.PSet( DIPFileName = process.dqmBeamMonitor.BeamFitter.DIPFileName - ) + ) ) - +# process.dqmcommon = cms.Sequence(process.dqmEnv - *process.dqmSaver) + * process.dqmSaver) -process.monitor = cms.Sequence(process.dqmBeamMonitor + process.selectedPixelTracksMonitorSequence) +# +process.monitor = cms.Sequence(process.dqmBeamMonitor + + process.selectedPixelTracksMonitorSequence) +#------------------------ +# BeamSpotProblemMonitor -#------------------------------------------------------------ -# BeamSpotProblemMonitor Modules -#----------------------------------------------------------- -process.dqmBeamSpotProblemMonitor.monitorName = "BeamMonitor/BeamSpotProblemMonitor" -process.dqmBeamSpotProblemMonitor.AlarmONThreshold = 15 # 10 -process.dqmBeamSpotProblemMonitor.AlarmOFFThreshold = 17 # 12 +# +process.dqmBeamSpotProblemMonitor.monitorName = "BeamMonitor/BeamSpotProblemMonitor" +process.dqmBeamSpotProblemMonitor.AlarmONThreshold = 15 # was 10 +process.dqmBeamSpotProblemMonitor.AlarmOFFThreshold = 17 # was 12 process.dqmBeamSpotProblemMonitor.nCosmicTrk = 10 process.dqmBeamSpotProblemMonitor.doTest = False -if (runFirstStepTrk): - process.dqmBeamSpotProblemMonitor.pixelTracks = 'initialStepTracksPreSplitting' -else: - process.dqmBeamSpotProblemMonitor.pixelTracks = 'pixelTracks' - +process.dqmBeamSpotProblemMonitor.pixelTracks = 'pixelTracks' +# process.qTester = cms.EDAnalyzer("QualityTester", - qtList = cms.untracked.FileInPath('DQM/BeamMonitor/test/BeamSpotAvailableTest.xml'), - prescaleFactor = cms.untracked.int32(1), - qtestOnEndLumi = cms.untracked.bool(True), - testInEventloop = cms.untracked.bool(False), - verboseQT = cms.untracked.bool(True) - ) - -process.BeamSpotProblemModule = cms.Sequence( process.qTester - *process.dqmBeamSpotProblemMonitor - ) - -#make it off for cosmic run -if ( process.runType.getRunType() == process.runType.cosmic_run or process.runType.getRunType() == process.runType.cosmic_run_stage1): - process.dqmBeamSpotProblemMonitor.AlarmOFFThreshold = 5 #Should be < AlalrmONThreshold -#----------------------------------------------------------- - -### process customizations included here -from DQM.Integration.config.online_customizations_cfi import * -process = customise(process) - - -#-------------------------- -# Proton-Proton Stuff -#-------------------------- - -if (process.runType.getRunType() == process.runType.pp_run or process.runType.getRunType() == process.runType.pp_run_stage1 or - process.runType.getRunType() == process.runType.cosmic_run or process.runType.getRunType() == process.runType.cosmic_run_stage1 or - process.runType.getRunType() == process.runType.hpu_run): - - print "[beam_dqm_sourceclient-live_cfg]:: Running pp" - - process.castorDigis.InputLabel = cms.InputTag("rawDataCollector") - process.csctfDigis.producer = cms.InputTag("rawDataCollector") - process.dttfDigis.DTTF_FED_Source = cms.InputTag("rawDataCollector") - process.ecalDigis.InputLabel = cms.InputTag("rawDataCollector") - process.ecalPreshowerDigis.sourceTag = cms.InputTag("rawDataCollector") - process.gctDigis.inputLabel = cms.InputTag("rawDataCollector") - process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataCollector") - process.hcalDigis.InputLabel = cms.InputTag("rawDataCollector") - process.muonCSCDigis.InputObjects = cms.InputTag("rawDataCollector") - process.muonDTDigis.inputLabel = cms.InputTag("rawDataCollector") - process.muonRPCDigis.InputLabel = cms.InputTag("rawDataCollector") - process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataCollector") - process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector") - process.siStripDigis.ProductLabel = cms.InputTag("rawDataCollector") - - - process.load("RecoVertex.BeamSpotProducer.BeamSpot_cfi") - - process.dqmBeamMonitor.OnlineMode = True - process.dqmBeamMonitor.resetEveryNLumi = 5 - process.dqmBeamMonitor.resetPVEveryNLumi = 5 - process.dqmBeamMonitor.PVFitter.minNrVerticesForFit = 20 - process.dqmBeamMonitor.PVFitter.minVertexNdf = 10 - - - if (runFirstStepTrk): # for first Step Tracking - print "[beam_dqm_sourceclient-live_cfg]:: firstStepTracking" - # Import TrackerLocalReco sequence - process.load('RecoLocalTracker.Configuration.RecoLocalTracker_cff') - # Import MeasurementTrackerEvents used during patter recognition - process.load('RecoTracker.MeasurementDet.MeasurementTrackerEventProducer_cfi') - #Import stuff to run the initial step - PreSplitting - of the - #iterative tracking and remove Calo-related sequences - process.load('RecoTracker.IterativeTracking.InitialStepPreSplitting_cff') - process.InitialStepPreSplitting.remove(process.initialStepTrackRefsForJetsPreSplitting) - process.InitialStepPreSplitting.remove(process.caloTowerForTrkPreSplitting) - process.InitialStepPreSplitting.remove(process.ak4CaloJetsForTrkPreSplitting) - process.InitialStepPreSplitting.remove(process.jetsForCoreTrackingPreSplitting) - process.InitialStepPreSplitting.remove(process.siPixelClusters) - process.InitialStepPreSplitting.remove(process.siPixelRecHits) - process.InitialStepPreSplitting.remove(process.MeasurementTrackerEvent) - process.InitialStepPreSplitting.remove(process.siPixelClusterShapeCache) - # 2016-11-28 MK FIXME: I suppose I should migrate the lines below following the "new seeding framework" - # - # if z is very far due to bad fit - process.initialStepSeedsPreSplitting.RegionFactoryPSet.RegionPSet.originRadius = 1.5 - process.initialStepSeedsPreSplitting.RegionFactoryPSet.RegionPSet.originHalfLength = cms.double(30.0) - #Increase pT threashold at seeding stage (not so accurate) - process.initialStepSeedsPreSplitting.RegionFactoryPSet.RegionPSet.ptMin = 0.9 - - # some inputs to BeamMonitor - process.dqmBeamMonitor.BeamFitter.TrackCollection = 'initialStepTracksPreSplitting' - process.dqmBeamMonitor.primaryVertex = 'firstStepPrimaryVerticesPreSplitting' - process.dqmBeamMonitor.PVFitter.VertexCollection = 'firstStepPrimaryVerticesPreSplitting' - - process.dqmBeamMonitor.PVFitter.errorScale = 0.95 #keep checking this with new release expected close to 1 - - process.tracking_FirstStep = cms.Sequence( process.siPixelDigis* - process.siStripDigis* - process.pixeltrackerlocalreco* - process.striptrackerlocalreco* - process.offlineBeamSpot* - process.MeasurementTrackerEventPreSplitting* - process.siPixelClusterShapeCachePreSplitting* - process.InitialStepPreSplitting - ) - else: # pixel tracking - print "[beam_dqm_sourceclient-live_cfg]:: pixelTracking" - - - #pixel track/vertices reco - process.load("RecoPixelVertexing.Configuration.RecoPixelVertexing_cff") - process.pixelTracksTrackingRegions.RegionPSet.originRadius = 0.4 - process.pixelTracksTrackingRegions.RegionPSet.originHalfLength = 12 - process.pixelTracksTrackingRegions.RegionPSet.originXPos = 0.08 - process.pixelTracksTrackingRegions.RegionPSet.originYPos = -0.03 - process.pixelTracksTrackingRegions.RegionPSet.originZPos = 0. - process.pixelVertices.TkFilterParameters.minPt = process.pixelTracksTrackingRegions.RegionPSet.ptMin - - process.dqmBeamMonitor.PVFitter.errorScale = 1.22 #keep checking this with new release expected close to 1.2 - - process.tracking_FirstStep = cms.Sequence(process.siPixelDigis* - process.siStripDigis * - process.striptrackerlocalreco * - process.offlineBeamSpot* - process.siPixelClustersPreSplitting* - process.siPixelRecHitsPreSplitting* - process.siPixelClusterShapeCachePreSplitting* - process.recopixelvertexing - ) - - - #TriggerName for selecting pv for DIP publication, NO wildcard needed here - #it will pick all triggers which has these strings in theri name - process.dqmBeamMonitor.jetTrigger = cms.untracked.vstring("HLT_PAZeroBias_v", - "HLT_ZeroBias_v", - "HLT_QuadJet") - - process.dqmBeamMonitor.hltResults = cms.InputTag("TriggerResults","","HLT") - - - process.p = cms.Path(process.scalersRawToDigi - *process.dqmTKStatus - *process.hltTriggerTypeFilter - *process.dqmcommon - *process.tracking_FirstStep - *process.monitor - *process.BeamSpotProblemModule) + qtList = cms.untracked.FileInPath('DQM/BeamMonitor/test/BeamSpotAvailableTest.xml'), + prescaleFactor = cms.untracked.int32(1), + qtestOnEndLumi = cms.untracked.bool(True), + testInEventloop = cms.untracked.bool(False), + verboseQT = cms.untracked.bool(True) +) +# +process.BeamSpotProblemModule = cms.Sequence(process.qTester + * process.dqmBeamSpotProblemMonitor) +# make it off for cosmic run +if ( process.runType.getRunType() == process.runType.cosmic_run or + process.runType.getRunType() == process.runType.cosmic_run_stage1): + process.dqmBeamSpotProblemMonitor.AlarmOFFThreshold = 5 #