1 import FWCore.ParameterSet.Config
as cms
3 AlcaBeamMonitor = cms.EDAnalyzer(
"AlcaBeamMonitor",
4 MonitorName = cms.untracked.string(
'AlcaBeamMonitor'),
5 PrimaryVertexLabel = cms.untracked.InputTag(
'offlinePrimaryVertices'),
6 BeamSpotLabel = cms.untracked.InputTag(
'offlineBeamSpot'),
8 TrackLabel = cms.untracked.InputTag(
'generalTracks'),
9 ScalerLabel = cms.untracked.InputTag(
'scalerBeamSpot'),
10 BeamFitter = cms.PSet(
11 Debug = cms.untracked.bool(
False),
13 TrackCollection = cms.untracked.InputTag(
'generalTracks'),
14 IsMuonCollection = cms.untracked.bool(
False),
15 WriteAscii = cms.untracked.bool(
False),
16 AsciiFileName = cms.untracked.string(
'BeamFit.txt'),
17 AppendRunToFileName = cms.untracked.bool(
True),
18 WriteDIPAscii = cms.untracked.bool(
False),
19 DIPFileName = cms.untracked.string(
'BeamFitDIP.txt'),
20 SaveNtuple = cms.untracked.bool(
False),
21 SavePVVertices = cms.untracked.bool(
False),
22 SaveFitResults = cms.untracked.bool(
False),
23 OutputFileName = cms.untracked.string(
'BeamFit.root'),
24 MinimumPt = cms.untracked.double(1.0),
25 MaximumEta = cms.untracked.double(2.4),
26 MaximumImpactParameter = cms.untracked.double(1.0),
27 MaximumZ = cms.untracked.double(60),
28 MinimumTotalLayers = cms.untracked.int32(6),
29 MinimumPixelLayers = cms.untracked.int32(0),
30 MaximumNormChi2 = cms.untracked.double(10.0),
31 TrackAlgorithm = cms.untracked.vstring(),
32 TrackQuality = cms.untracked.vstring(),
33 InputBeamWidth = cms.untracked.double(0.0060),
34 FractionOfFittedTrks = cms.untracked.double(0.9),
35 MinimumInputTracks = cms.untracked.int32(150),
36 deltaSignificanceCut = cms.untracked.double(10)
39 Debug = cms.untracked.bool(
False),
40 Apply3DFit = cms.untracked.bool(
True),
41 VertexCollection = cms.untracked.InputTag(
'offlinePrimaryVertices'),
44 maxNrStoredVertices = cms.untracked.uint32(10000),
45 minNrVerticesForFit = cms.untracked.uint32(50),
46 minVertexNdf = cms.untracked.double(10.),
47 maxVertexNormChi2 = cms.untracked.double(10.),
48 minVertexNTracks = cms.untracked.uint32(0),
49 minVertexMeanWeight = cms.untracked.double(0.5),
50 maxVertexR = cms.untracked.double(2),
51 maxVertexZ = cms.untracked.double(10),
52 errorScale = cms.untracked.double(0.9),
53 nSigmaCut = cms.untracked.double(5.),
54 FitPerBunchCrossing = cms.untracked.bool(
False)
63 from Configuration.StandardSequences.Eras
import eras
64 eras.trackingLowPU.toModify(AlcaBeamMonitor,
65 BeamFitter =
dict(MaximumImpactParameter = 5.0,
66 MinimumInputTracks = 50))