CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  useHPforAlignmentPlots = cms.bool(True),
11  ndof = cms.int32( 4 ),
12  TkSizeBin = cms.int32( 100 ),
13  TkSizeMax = cms.double(499.5),
14  TkSizeMin = cms.double( -0.5),
15  Xpos = cms.double(0.1),
16  Ypos = cms.double(0.0),
17  DxyBin = cms.int32(100),
18  DxyMax = cms.double(5000.0),
19  DxyMin = cms.double(-5000.0),
20  DzBin = cms.int32(100),
21  DzMax = cms.double(2000.0),
22  DzMin = cms.double(-2000.0),
23  PhiBin = cms.int32(32),
24  PhiBin2D = cms.int32(12),
25  PhiMax = cms.double(3.141592654),
26  PhiMin = cms.double(-3.141592654),
27  EtaBin = cms.int32(26),
28  EtaBin2D = cms.int32(8),
29  EtaMax = cms.double(2.5),
30  EtaMin = cms.double(-2.5)
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_phase2_tracker_cff import phase2_tracker
36 phase1Pixel.toModify(pvMonitor, EtaBin=31, EtaMin=-3.0, EtaMax=3.0)
37 phase2_tracker.toModify(pvMonitor, EtaBin=41, EtaBin2D=9, EtaMin=-4.0, EtaMax=4.0)
38