Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-30 03:01:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.BeamMonitor.AlcaBeamMonitor_cfi import *
0004 
0005 AlcaBeamMonitor.PrimaryVertexLabel = 'hiSelectedVertex'
0006 AlcaBeamMonitor.TrackLabel         = 'hiGeneralTracks'
0007 AlcaBeamMonitor.BeamFitter.TrackCollection = 'hiGeneralTracks'
0008 AlcaBeamMonitor.BeamFitter.TrackQuality    = ['highPurity']
0009 AlcaBeamMonitor.PVFitter.VertexCollection  = 'hiSelectedVertex'
0010 #Check if perLSsaving is enabled to mask MEs vs LS
0011 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
0012 dqmPerLSsaving.toModify(AlcaBeamMonitor, perLSsaving=True)
0013 
0014 import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod
0015 BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
0016     timeThreshold = 999999 # accept even old payloads for MC/Data ReReco. DO NOT CHANGE
0017 )
0018 
0019 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
0020 scalerBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
0021 alcaBeamMonitor = cms.Sequence( scalerBeamSpot*AlcaBeamMonitor )
0022