Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:24

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