Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-08 01:45:43

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 pvMonitor = DQMEDAnalyzer('PrimaryVertexMonitor',
0005    TopFolderName  = cms.string("OfflinePV"),
0006    AlignmentLabel = cms.string("Alignment"),                           
0007    vertexLabel    = cms.InputTag("offlinePrimaryVertices"),
0008    beamSpotLabel  = cms.InputTag("offlineBeamSpot"),
0009    useHPforAlignmentPlots = cms.bool(True),
0010    ndof           = cms.int32( 4 ),                           
0011    TkSizeBin      = cms.int32( 100  ),
0012    TkSizeMax      = cms.double(499.5),                       
0013    TkSizeMin      = cms.double( -0.5),
0014    Xpos           = cms.double(0.1),
0015    Ypos           = cms.double(0.0),
0016    DxyBin         = cms.int32(100),
0017    DxyMax         = cms.double(5000.0),
0018    DxyMin         = cms.double(-5000.0),                        
0019    DzBin          = cms.int32(100),
0020    DzMax          = cms.double(2000.0),
0021    DzMin          = cms.double(-2000.0),                                             
0022    PhiBin         = cms.int32(32),
0023    PhiBin2D       = cms.int32(12),
0024    PhiMax         = cms.double(3.141592654),
0025    PhiMin         = cms.double(-3.141592654),
0026    EtaBin         = cms.int32(26),
0027    EtaBin2D       = cms.int32(8),
0028    EtaMax         = cms.double(2.5),
0029    EtaMin         = cms.double(-2.5)
0030 )
0031 
0032 # same as above, should be in sync with cut used in Vertex finder...
0033 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0034 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0035 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0036 phase1Pixel.toModify(pvMonitor, EtaBin=28, EtaMin=-2.7, EtaMax=2.7)
0037 run3_common.toModify(pvMonitor, Xpos = 0.15, Ypos=-0.15)  #recentering since initial Run3 beamspot is at (0.17,-0.18) cm
0038 phase2_tracker.toModify(pvMonitor, EtaBin=41, EtaBin2D=9, EtaMin=-4.0, EtaMax=4.0)
0039