CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FakeBeamMonitor_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 dqmFakeBeamMonitor = DQMEDAnalyzer("FakeBeamMonitor",
5  monitorName = cms.untracked.string('FakeBeamMonitor'),
6  timeInterval = cms.untracked.int32(920),
7  fitEveryNLumi = cms.untracked.int32(1),
8  resetEveryNLumi = cms.untracked.int32(20),
9  fitPVEveryNLumi = cms.untracked.int32(1),
10  resetPVEveryNLumi = cms.untracked.int32(5),
11  Debug = cms.untracked.bool(False),
12  OnlineMode = cms.untracked.bool(True),
13  recordName = cms.untracked.string('BeamSpotOnlineHLTObjectsRcd'),
14  useLockRecords = cms.untracked.bool(False),
15  BeamFitter = cms.PSet(
16  Debug = cms.untracked.bool(False),
17  TrackCollection = cms.untracked.InputTag('pixelTracks'),
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(3),
33  MinimumPixelLayers = cms.untracked.int32(3),
34  MaximumNormChi2 = cms.untracked.double(30.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('pixelVertices'),
46  #WriteAscii = cms.untracked.bool(True),
47  #AsciiFileName = cms.untracked.string('PVFit.txt'),
48  maxNrStoredVertices = cms.untracked.uint32(1000000),
49  minNrVerticesForFit = cms.untracked.uint32(50),
50  minVertexNdf = cms.untracked.double(4.),
51  #--Not used
52  maxVertexNormChi2 = cms.untracked.double(30.),
53  minVertexNTracks = cms.untracked.uint32(0),
54  minVertexMeanWeight = cms.untracked.double(0.0),
55  maxVertexR = cms.untracked.double(2.),
56  maxVertexZ = cms.untracked.double(10.),
57  #---------------
58  errorScale = cms.untracked.double(1.23),
59  nSigmaCut = cms.untracked.double(50.0),
60  FitPerBunchCrossing = cms.untracked.bool(False),
61  useOnlyFirstPV = cms.untracked.bool(False),
62  minSumPt = cms.untracked.double(0.)
63  ),
64  dxBin = cms.int32(200),
65  dxMin = cms.double(-1.0),
66  dxMax = cms.double(1.0),
67 
68  vxBin = cms.int32(200),
69  vxMin = cms.double(-0.5),
70  vxMax = cms.double(0.5),
71 
72  dzBin = cms.int32(80),
73  dzMin = cms.double(-20),
74  dzMax = cms.double(20),
75 
76  phiBin = cms.int32(63),
77  phiMin = cms.double(-3.15),
78  phiMax = cms.double(3.15)
79  )