CMS 3D CMS Logo

PrimaryVertexMonitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
4 pvMonitor = DQMEDAnalyzer('PrimaryVertexMonitor',
5  TopFolderName = cms.string("OfflinePV"),
6  AlignmentLabel = cms.string("Alignment"),
7  vertexLabel = cms.InputTag("offlinePrimaryVertices"),
8  beamSpotLabel = cms.InputTag("offlineBeamSpot"),
9  useHPforAlignmentPlots = cms.bool(True),
10  ndof = cms.int32( 4 ),
11  TkSizeBin = cms.int32( 100 ),
12  TkSizeMax = cms.double(499.5),
13  TkSizeMin = cms.double( -0.5),
14  Xpos = cms.double(0.1),
15  Ypos = cms.double(0.0),
16  DxyBin = cms.int32(100),
17  DxyMax = cms.double(5000.0),
18  DxyMin = cms.double(-5000.0),
19  DzBin = cms.int32(100),
20  DzMax = cms.double(2000.0),
21  DzMin = cms.double(-2000.0),
22  PhiBin = cms.int32(32),
23  PhiBin2D = cms.int32(12),
24  PhiMax = cms.double(3.141592654),
25  PhiMin = cms.double(-3.141592654),
26  EtaBin = cms.int32(26),
27  EtaBin2D = cms.int32(8),
28  EtaMax = cms.double(2.5),
29  EtaMin = cms.double(-2.5),
30  PUMax = cms.double(80.0),
31 )
32 
33 # same as above, should be in sync with cut used in Vertex finder...
34 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
35 from Configuration.Eras.Modifier_run3_common_cff import run3_common
36 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
37 phase1Pixel.toModify(pvMonitor, EtaBin=28, EtaMin=-2.7, EtaMax=2.7)
38 run3_common.toModify(pvMonitor, Xpos = 0.15, Ypos=-0.15, PUMax = 150 ) #recentering since initial Run3 beamspot is at (0.17,-0.18) cm
39 phase2_tracker.toModify(pvMonitor, EtaBin=41, EtaBin2D=9, EtaMin=-4.0, EtaMax=4.0, PUMax = 250)
40