CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
AlcaBeamMonitorHeavyIons_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
5 AlcaBeamMonitor.PrimaryVertexLabel = 'hiSelectedVertex'
6 AlcaBeamMonitor.TrackLabel = 'hiGeneralTracks'
7 AlcaBeamMonitor.BeamFitter.TrackCollection = 'hiGeneralTracks'
8 AlcaBeamMonitor.BeamFitter.TrackQuality = ['highPurity']
9 AlcaBeamMonitor.PVFitter.VertexCollection = 'hiSelectedVertex'
10 #Check if perLSsaving is enabled to mask MEs vs LS
11 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
12 dqmPerLSsaving.toModify(AlcaBeamMonitor, perLSsaving=True)
13 
14 import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod
15 BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
16  timeThreshold = 999999 # accept even old payloads for MC/Data ReReco. DO NOT CHANGE
17 )
18 
20 scalerBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
21 alcaBeamMonitor = cms.Sequence( scalerBeamSpot*AlcaBeamMonitor )
22