File indexing completed on 2024-04-06 12:06:53
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 AlcaBeamMonitor = DQMEDAnalyzer('AlcaBeamMonitor',
0005 MonitorName = cms.untracked.string('AlcaBeamMonitor'),
0006 PrimaryVertexLabel = cms.untracked.InputTag('offlinePrimaryVertices'),
0007 perLSsaving = cms.untracked.bool(False),
0008
0009 TrackLabel = cms.untracked.InputTag('generalTracks'),
0010 ScalerLabel = cms.untracked.InputTag('scalerBeamSpot'),
0011 BeamFitter = cms.PSet(
0012 Debug = cms.untracked.bool(False),
0013
0014 TrackCollection = cms.untracked.InputTag('generalTracks'),
0015 IsMuonCollection = cms.untracked.bool(False),
0016 WriteAscii = cms.untracked.bool(False),
0017 AsciiFileName = cms.untracked.string('BeamFit.txt'),
0018 AppendRunToFileName = cms.untracked.bool(True),
0019 WriteDIPAscii = cms.untracked.bool(False),
0020 DIPFileName = cms.untracked.string('BeamFitDIP.txt'),
0021 SaveNtuple = cms.untracked.bool(False),
0022 SavePVVertices = cms.untracked.bool(False),
0023 SaveFitResults = cms.untracked.bool(False),
0024 OutputFileName = cms.untracked.string('BeamFit.root'),
0025 MinimumPt = cms.untracked.double(1.0),
0026 MaximumEta = cms.untracked.double(2.4),
0027 MaximumImpactParameter = cms.untracked.double(1.0),
0028 MaximumZ = cms.untracked.double(60),
0029 MinimumTotalLayers = cms.untracked.int32(6),
0030 MinimumPixelLayers = cms.untracked.int32(0),
0031 MaximumNormChi2 = cms.untracked.double(10.0),
0032 TrackAlgorithm = cms.untracked.vstring(),
0033 TrackQuality = cms.untracked.vstring(),
0034 InputBeamWidth = cms.untracked.double(0.0060),
0035 FractionOfFittedTrks = cms.untracked.double(0.9),
0036 MinimumInputTracks = cms.untracked.int32(150)
0037 ),
0038 PVFitter = cms.PSet(
0039 Debug = cms.untracked.bool(False),
0040 Apply3DFit = cms.untracked.bool(True),
0041 VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
0042
0043
0044 maxNrStoredVertices = cms.untracked.uint32(10000),
0045 minNrVerticesForFit = cms.untracked.uint32(50),
0046 minVertexNdf = cms.untracked.double(10.),
0047 maxVertexNormChi2 = cms.untracked.double(10.),
0048 minVertexNTracks = cms.untracked.uint32(0),
0049 minVertexMeanWeight = cms.untracked.double(0.5),
0050 maxVertexR = cms.untracked.double(2),
0051 maxVertexZ = cms.untracked.double(10),
0052 errorScale = cms.untracked.double(0.9),
0053 nSigmaCut = cms.untracked.double(5.),
0054 FitPerBunchCrossing = cms.untracked.bool(False),
0055 useOnlyFirstPV = cms.untracked.bool(False),
0056 minSumPt = cms.untracked.double(0.)
0057 ),
0058 )
0059
0060
0061
0062
0063
0064
0065 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
0066 trackingLowPU.toModify(AlcaBeamMonitor,
0067 BeamFitter = dict(MaximumImpactParameter = 5.0,
0068 MinimumInputTracks = 50))