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('offlinePrimaryVertices'),
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                               hltResults = cms.untracked.InputTag("TriggerResults::HLT"),
0018                               nLSForUpload = cms.untracked.int32(5),
0019                               tcdsRecord = cms.untracked.InputTag('tcdsDigis','tcdsRecord'),
0020                               BeamFitter = cms.PSet(
0021                                 Debug = cms.untracked.bool(False),
0022                                 TrackCollection = cms.untracked.InputTag('generalTracks'),
0023                                 IsMuonCollection = cms.untracked.bool(False),
0024                                 WriteAscii = cms.untracked.bool(False),
0025                                 AsciiFileName = cms.untracked.string('BeamFit.txt'), ## all results
0026                                 AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
0027                                 WriteDIPAscii = cms.untracked.bool(False),
0028                                 DIPFileName = cms.untracked.string('BeamFitDIP.txt'),
0029                                 SaveNtuple = cms.untracked.bool(False),
0030                                 SavePVVertices = cms.untracked.bool(False),
0031                                 SaveFitResults = cms.untracked.bool(False),
0032                                 OutputFileName = cms.untracked.string('BeamFit.root'), ## ntuple filename
0033                                 MinimumPt = cms.untracked.double(1.0),
0034                                 MaximumEta = cms.untracked.double(2.4),
0035                                 MaximumImpactParameter = cms.untracked.double(1.0),
0036                                 MaximumZ = cms.untracked.double(60),
0037                                 MinimumTotalLayers = cms.untracked.int32(6),
0038                                 MinimumPixelLayers = cms.untracked.int32(0),
0039                                 MaximumNormChi2 = cms.untracked.double(10.0),
0040                                 TrackAlgorithm = cms.untracked.vstring(), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
0041                                 TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
0042                                 InputBeamWidth = cms.untracked.double(0.0060), ## beam width used for Trk fitter, used only when result from PV is not available
0043                                 FractionOfFittedTrks = cms.untracked.double(0.9),
0044                                 MinimumInputTracks = cms.untracked.int32(150),
0045                                 deltaSignificanceCut = cms.untracked.double(10)
0046                                 ),
0047                               PVFitter = cms.PSet(
0048                                 Debug = cms.untracked.bool(False),
0049                                 Apply3DFit = cms.untracked.bool(True),
0050                                 VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
0051                                 #WriteAscii = cms.untracked.bool(True),
0052                                 #AsciiFileName = cms.untracked.string('PVFit.txt'),
0053                                 maxNrStoredVertices = cms.untracked.uint32(100000),
0054                                 minNrVerticesForFit = cms.untracked.uint32(50),
0055                                 minVertexNdf = cms.untracked.double(10.),
0056                                 maxVertexNormChi2 = cms.untracked.double(10.),
0057                                 minVertexNTracks = cms.untracked.uint32(0),
0058                                 minVertexMeanWeight = cms.untracked.double(0.5),
0059                                 maxVertexR = cms.untracked.double(2),
0060                                 maxVertexZ = cms.untracked.double(10),
0061                                 errorScale = cms.untracked.double(0.9),
0062                                 nSigmaCut = cms.untracked.double(50.),
0063                                 FitPerBunchCrossing = cms.untracked.bool(False),
0064                                 useOnlyFirstPV = cms.untracked.bool(False),
0065                                 minSumPt = cms.untracked.double(0.)
0066                                 ),
0067                               dxBin = cms.int32(200),
0068                               dxMin = cms.double(-1.0),
0069                               dxMax = cms.double(1.0),
0070                               
0071                               vxBin = cms.int32(200),
0072                               vxMin = cms.double(-0.5),
0073                               vxMax = cms.double(0.5),
0074                               
0075                               dzBin = cms.int32(80),
0076                               dzMin = cms.double(-20),
0077                               dzMax = cms.double(20),
0078                               
0079                               phiBin = cms.int32(63),
0080                               phiMin = cms.double(-3.15),
0081                               phiMax = cms.double(3.15)
0082                               )