Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-05-14 02:34:38

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