test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
BeamMonitorBx_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 dqmBeamMonitorBx = cms.EDAnalyzer("BeamMonitorBx",
4  monitorName = cms.untracked.string('BeamMonitor'),
5  beamSpot = cms.untracked.InputTag('offlineBeamSpot'), ## hltOfflineBeamSpot for HLTMON
6  primaryVertex = cms.untracked.InputTag('offlinePrimaryVertices'),
7  timeInterval = cms.untracked.int32(920),
8  fitEveryNLumi = cms.untracked.int32(50),
9  resetEveryNLumi = cms.untracked.int32(50),
10  fitPVEveryNLumi = cms.untracked.int32(50),
11  resetPVEveryNLumi = cms.untracked.int32(50),
12  Debug = cms.untracked.bool(False),
13  OnlineMode = cms.untracked.bool(True),
14  BeamFitter = cms.PSet(
15  Debug = cms.untracked.bool(False),
16  TrackCollection = cms.untracked.InputTag('generalTracks'),
17  IsMuonCollection = cms.untracked.bool(False),
18  WriteAscii = cms.untracked.bool(False),
19  AsciiFileName = cms.untracked.string('BeamFitBx.txt'), ## all results
20  AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
21  WriteDIPAscii = cms.untracked.bool(False),
22  DIPFileName = cms.untracked.string('BeamFitDIPBx.txt'),
23  SaveNtuple = cms.untracked.bool(False),
24  SavePVVertices = cms.untracked.bool(False),
25  SaveFitResults = cms.untracked.bool(False),
26  OutputFileName = cms.untracked.string('BeamFitBx.root'), ## ntuple filename
27  MinimumPt = cms.untracked.double(1.0),
28  MaximumEta = cms.untracked.double(2.4),
29  MaximumImpactParameter = cms.untracked.double(1.0),
30  MaximumZ = cms.untracked.double(60),
31  MinimumTotalLayers = cms.untracked.int32(6),
32  MinimumPixelLayers = cms.untracked.int32(0),
33  MaximumNormChi2 = cms.untracked.double(10.0),
34  TrackAlgorithm = cms.untracked.vstring(), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
35  TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
36  InputBeamWidth = cms.untracked.double(0.0060), ## beam width used for Trk fitter, used only when result from PV is not available
37  FractionOfFittedTrks = cms.untracked.double(0.9),
38  MinimumInputTracks = cms.untracked.int32(150),
39  deltaSignificanceCut = cms.untracked.double(10)
40  ),
41  PVFitter = cms.PSet(
42  Debug = cms.untracked.bool(False),
43  Apply3DFit = cms.untracked.bool(True),
44  VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
45  #WriteAscii = cms.untracked.bool(True),
46  #AsciiFileName = cms.untracked.string('PVFit.txt'),
47  maxNrStoredVertices = cms.untracked.uint32(10000),
48  minNrVerticesForFit = cms.untracked.uint32(50),
49  minVertexNdf = cms.untracked.double(10.),
50  maxVertexNormChi2 = cms.untracked.double(10.),
51  minVertexNTracks = cms.untracked.uint32(0),
52  minVertexMeanWeight = cms.untracked.double(0.5),
53  maxVertexR = cms.untracked.double(2),
54  maxVertexZ = cms.untracked.double(10),
55  errorScale = cms.untracked.double(0.9),
56  nSigmaCut = cms.untracked.double(5.),
57  FitPerBunchCrossing = cms.untracked.bool(True)
58  ),
59  dxBin = cms.int32(200),
60  dxMin = cms.double(-1.0),
61  dxMax = cms.double(1.0),
62 
63  vxBin = cms.int32(200),
64  vxMin = cms.double(-0.5),
65  vxMax = cms.double(0.5),
66 
67  dzBin = cms.int32(80),
68  dzMin = cms.double(-20),
69  dzMax = cms.double(20),
70 
71  phiBin = cms.int32(63),
72  phiMin = cms.double(-3.15),
73  phiMax = cms.double(3.15)
74  )