CMS 3D CMS Logo

PrimaryVertexMonitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 pvMonitor = DQMEDAnalyzer('PrimaryVertexMonitor',
6  TopFolderName = cms.string("OfflinePV"),
7  AlignmentLabel = cms.string("Alignment"),
8  vertexLabel = cms.InputTag("offlinePrimaryVertices"),
9  beamSpotLabel = cms.InputTag("offlineBeamSpot"),
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  PhiMax = cms.double(3.141592654),
24  PhiMin = cms.double(-3.141592654),
25  EtaBin = cms.int32(26),
26  EtaMax = cms.double(2.5),
27  EtaMin = cms.double(-2.5)
28 )
29 
30 # same as above, should be in sync with cut used in Vertex finder...
31 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
32 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
33 phase1Pixel.toModify(pvMonitor, EtaBin=31, EtaMin=-3.0, EtaMax=3.0)
34 phase2_tracker.toModify(pvMonitor, EtaBin=41, EtaMin=-4.0, EtaMax=4.0)
35 
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1