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'), ## hltOfflineBeamSpot for HLTMON
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  BeamFitter = cms.PSet(
16  Debug = cms.untracked.bool(False),
17  TrackCollection = cms.untracked.InputTag('generalTracks'),
18  IsMuonCollection = cms.untracked.bool(False),
19  WriteAscii = cms.untracked.bool(False),
20  AsciiFileName = cms.untracked.string('BeamFit.txt'), ## all results
21  AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
22  WriteDIPAscii = cms.untracked.bool(False),
23  DIPFileName = cms.untracked.string('BeamFitDIP.txt'),
24  SaveNtuple = cms.untracked.bool(False),
25  SavePVVertices = cms.untracked.bool(False),
26  SaveFitResults = cms.untracked.bool(False),
27  OutputFileName = cms.untracked.string('BeamFit.root'), ## ntuple filename
28  MinimumPt = cms.untracked.double(1.0),
29  MaximumEta = cms.untracked.double(2.4),
30  MaximumImpactParameter = cms.untracked.double(1.0),
31  MaximumZ = cms.untracked.double(60),
32  MinimumTotalLayers = cms.untracked.int32(6),
33  MinimumPixelLayers = cms.untracked.int32(0),
34  MaximumNormChi2 = cms.untracked.double(10.0),
35  TrackAlgorithm = cms.untracked.vstring(), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
36  TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
37  InputBeamWidth = cms.untracked.double(0.0060), ## beam width used for Trk fitter, used only when result from PV is not available
38  FractionOfFittedTrks = cms.untracked.double(0.9),
39  MinimumInputTracks = cms.untracked.int32(150),
40  deltaSignificanceCut = cms.untracked.double(10)
41  ),
42  PVFitter = cms.PSet(
43  Debug = cms.untracked.bool(False),
44  Apply3DFit = cms.untracked.bool(True),
45  VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
46  #WriteAscii = cms.untracked.bool(True),
47  #AsciiFileName = cms.untracked.string('PVFit.txt'),
48  maxNrStoredVertices = cms.untracked.uint32(100000),
49  minNrVerticesForFit = cms.untracked.uint32(50),
50  minVertexNdf = cms.untracked.double(10.),
51  maxVertexNormChi2 = cms.untracked.double(10.),
52  minVertexNTracks = cms.untracked.uint32(0),
53  minVertexMeanWeight = cms.untracked.double(0.5),
54  maxVertexR = cms.untracked.double(2),
55  maxVertexZ = cms.untracked.double(10),
56  errorScale = cms.untracked.double(0.9),
57  nSigmaCut = cms.untracked.double(50.),
58  FitPerBunchCrossing = cms.untracked.bool(False),
59  useOnlyFirstPV = cms.untracked.bool(False),
60  minSumPt = cms.untracked.double(0.)
61  ),
62  dxBin = cms.int32(200),
63  dxMin = cms.double(-1.0),
64  dxMax = cms.double(1.0),
65 
66  vxBin = cms.int32(200),
67  vxMin = cms.double(-0.5),
68  vxMax = cms.double(0.5),
69 
70  dzBin = cms.int32(80),
71  dzMin = cms.double(-20),
72  dzMax = cms.double(20),
73 
74  phiBin = cms.int32(63),
75  phiMin = cms.double(-3.15),
76  phiMax = cms.double(3.15)
77  )