CMS 3D CMS Logo

BeamMonitor_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
3 
4 dqmBeamMonitor = DQMEDAnalyzer("BeamMonitor",
5  monitorName = cms.untracked.string('BeamMonitor'),
6  beamSpot = cms.untracked.InputTag('offlineBeamSpot'),
7  primaryVertex = cms.untracked.InputTag('offlinePrimaryVertices'),
8  timeInterval = cms.untracked.int32(920),
9  fitEveryNLumi = cms.untracked.int32(1),
10  resetEveryNLumi = cms.untracked.int32(20),
11  fitPVEveryNLumi = cms.untracked.int32(1),
12  resetPVEveryNLumi = cms.untracked.int32(5),
13  Debug = cms.untracked.bool(False),
14  OnlineMode = cms.untracked.bool(True),
15  recordName = cms.untracked.string('BeamSpotOnlineHLTObjectsRcd'),
16  useLockRecords = cms.untracked.bool(False),
17  hltResults = cms.untracked.InputTag("TriggerResults::HLT"),
18  nLSForUpload = cms.untracked.int32(5),
19  tcdsRecord = cms.untracked.InputTag('tcdsDigis','tcdsRecord'),
20  BeamFitter = cms.PSet(
21  Debug = cms.untracked.bool(False),
22  TrackCollection = cms.untracked.InputTag('generalTracks'),
23  IsMuonCollection = cms.untracked.bool(False),
24  WriteAscii = cms.untracked.bool(False),
25  AsciiFileName = cms.untracked.string('BeamFit.txt'),
26  AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
27  WriteDIPAscii = cms.untracked.bool(False),
28  DIPFileName = cms.untracked.string('BeamFitDIP.txt'),
29  SaveNtuple = cms.untracked.bool(False),
30  SavePVVertices = cms.untracked.bool(False),
31  SaveFitResults = cms.untracked.bool(False),
32  OutputFileName = cms.untracked.string('BeamFit.root'),
33  MinimumPt = cms.untracked.double(1.0),
34  MaximumEta = cms.untracked.double(2.4),
35  MaximumImpactParameter = cms.untracked.double(1.0),
36  MaximumZ = cms.untracked.double(60),
37  MinimumTotalLayers = cms.untracked.int32(6),
38  MinimumPixelLayers = cms.untracked.int32(0),
39  MaximumNormChi2 = cms.untracked.double(10.0),
40  TrackAlgorithm = cms.untracked.vstring(),
41  TrackQuality = cms.untracked.vstring(),
42  InputBeamWidth = cms.untracked.double(0.0060),
43  FractionOfFittedTrks = cms.untracked.double(0.9),
44  MinimumInputTracks = cms.untracked.int32(150),
45  deltaSignificanceCut = cms.untracked.double(10)
46  ),
47  PVFitter = cms.PSet(
48  Debug = cms.untracked.bool(False),
49  Apply3DFit = cms.untracked.bool(True),
50  VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
51  #WriteAscii = cms.untracked.bool(True),
52  #AsciiFileName = cms.untracked.string('PVFit.txt'),
53  maxNrStoredVertices = cms.untracked.uint32(100000),
54  minNrVerticesForFit = cms.untracked.uint32(50),
55  minVertexNdf = cms.untracked.double(10.),
56  maxVertexNormChi2 = cms.untracked.double(10.),
57  minVertexNTracks = cms.untracked.uint32(0),
58  minVertexMeanWeight = cms.untracked.double(0.5),
59  maxVertexR = cms.untracked.double(2),
60  maxVertexZ = cms.untracked.double(10),
61  errorScale = cms.untracked.double(0.9),
62  nSigmaCut = cms.untracked.double(50.),
63  FitPerBunchCrossing = cms.untracked.bool(False),
64  useOnlyFirstPV = cms.untracked.bool(False),
65  minSumPt = cms.untracked.double(0.)
66  ),
67  dxBin = cms.int32(200),
68  dxMin = cms.double(-1.0),
69  dxMax = cms.double(1.0),
70 
71  vxBin = cms.int32(200),
72  vxMin = cms.double(-0.5),
73  vxMax = cms.double(0.5),
74 
75  dzBin = cms.int32(80),
76  dzMin = cms.double(-20),
77  dzMax = cms.double(20),
78 
79  phiBin = cms.int32(63),
80  phiMin = cms.double(-3.15),
81  phiMax = cms.double(3.15)
82  )