Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:06:53

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0003 
0004 dqmBeamMonitor = DQMEDAnalyzer("BeamMonitor",
0005                               monitorName = cms.untracked.string('BeamMonitor'),
0006                               beamSpot = cms.untracked.InputTag('offlineBeamSpot'), ## hltOfflineBeamSpot for HLTMON
0007                               primaryVertex = cms.untracked.InputTag('pixelVertices'),
0008                               timeInterval = cms.untracked.int32(920),
0009                               fitEveryNLumi = cms.untracked.int32(1),
0010                               resetEveryNLumi = cms.untracked.int32(20),
0011                               fitPVEveryNLumi = cms.untracked.int32(1),
0012                               resetPVEveryNLumi = cms.untracked.int32(5),
0013                               Debug = cms.untracked.bool(False),
0014                               OnlineMode = cms.untracked.bool(True),
0015                               recordName = cms.untracked.string('BeamSpotOnlineHLTObjectsRcd'),
0016                               useLockRecords = cms.untracked.bool(False),
0017                               jetTrigger  = cms.untracked.vstring(),
0018                               hltResults = cms.untracked.InputTag("TriggerResults","","HLT"),
0019                               nLSForUpload = cms.untracked.int32(5),
0020                               tcdsRecord = cms.untracked.InputTag('tcdsDigis','tcdsRecord'),
0021                               BeamFitter = cms.PSet(
0022                                 Debug = cms.untracked.bool(False),
0023                                 TrackCollection = cms.untracked.InputTag('pixelTracks'),
0024                                 IsMuonCollection = cms.untracked.bool(False),
0025                                 WriteAscii = cms.untracked.bool(False),
0026                                 AsciiFileName = cms.untracked.string('BeamFit.txt'), ## all results
0027                                 AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
0028                                 WriteDIPAscii = cms.untracked.bool(False),
0029                                 DIPFileName = cms.untracked.string('BeamFitDIP.txt'),
0030                                 SaveNtuple = cms.untracked.bool(False),
0031                                 SavePVVertices = cms.untracked.bool(False),
0032                                 SaveFitResults = cms.untracked.bool(False),
0033                                 OutputFileName = cms.untracked.string('BeamFit.root'), ## ntuple filename
0034                                 MinimumPt = cms.untracked.double(1.0),
0035                                 MaximumEta = cms.untracked.double(2.4),
0036                                 MaximumImpactParameter = cms.untracked.double(1.0),
0037                                 MaximumZ = cms.untracked.double(60),
0038                                 MinimumTotalLayers = cms.untracked.int32(3),
0039                                 MinimumPixelLayers = cms.untracked.int32(3),
0040                                 MaximumNormChi2 = cms.untracked.double(30.0),
0041                                 TrackAlgorithm = cms.untracked.vstring(), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
0042                                 TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
0043                                 InputBeamWidth = cms.untracked.double(0.0060), ## beam width used for Trk fitter, used only when result from PV is not available
0044                                 FractionOfFittedTrks = cms.untracked.double(0.9),
0045                                 MinimumInputTracks = cms.untracked.int32(150),
0046                                 deltaSignificanceCut = cms.untracked.double(10)
0047                                 ),
0048                               PVFitter = cms.PSet(
0049                                 Debug = cms.untracked.bool(False),
0050                                 Apply3DFit = cms.untracked.bool(True),
0051                                 VertexCollection = cms.untracked.InputTag('pixelVertices'),
0052                                 #WriteAscii = cms.untracked.bool(True),
0053                                 #AsciiFileName = cms.untracked.string('PVFit.txt'),
0054                                 maxNrStoredVertices = cms.untracked.uint32(1000000),
0055                                 minNrVerticesForFit = cms.untracked.uint32(50),
0056                                 minVertexNdf = cms.untracked.double(4.),
0057                                 #--Not used
0058                                 maxVertexNormChi2 = cms.untracked.double(30.),
0059                                 minVertexNTracks = cms.untracked.uint32(0),
0060                                 minVertexMeanWeight = cms.untracked.double(0.0),
0061                                 maxVertexR = cms.untracked.double(2.),
0062                                 maxVertexZ = cms.untracked.double(10.),
0063                                 #---------------
0064                                 errorScale = cms.untracked.double(1.23), 
0065                                 nSigmaCut = cms.untracked.double(50.0),
0066                                 FitPerBunchCrossing = cms.untracked.bool(False),
0067                                 useOnlyFirstPV = cms.untracked.bool(False),
0068                                 minSumPt = cms.untracked.double(0.)
0069                                 ),
0070                               dxBin = cms.int32(200),
0071                               dxMin = cms.double(-1.0),
0072                               dxMax = cms.double(1.0),
0073                               
0074                               vxBin = cms.int32(200),
0075                               vxMin = cms.double(-0.5),
0076                               vxMax = cms.double(0.5),
0077                               
0078                               dzBin = cms.int32(80),
0079                               dzMin = cms.double(-20),
0080                               dzMax = cms.double(20),
0081                               
0082                               phiBin = cms.int32(63),
0083                               phiMin = cms.double(-3.15),
0084                               phiMax = cms.double(3.15)
0085                               )