CMS 3D CMS Logo

AlcaBeamSpotProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 alcaBeamSpotProducer = cms.EDProducer("AlcaBeamSpotProducer",
4  AlcaBeamSpotProducerParameters = cms.PSet(
5  RunAllFitters = cms.bool(False), ## False: run only default fitter
6  RunBeamWidthFit = cms.bool(False),
7  WriteToDB = cms.bool(False), ## do not write results to DB
8  fitEveryNLumi = cms.untracked.int32( -1 ),
9  resetEveryNLumi = cms.untracked.int32( -1 )
10  ),
11  BeamFitter = cms.PSet(
12  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'), ## all results
17  AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
18  WriteDIPAscii = cms.untracked.bool(False),
19  DIPFileName = cms.untracked.string('BeamFitDIP.txt'), ## only the last results, for DIP
20  SaveNtuple = cms.untracked.bool(False),
21  SaveFitResults = cms.untracked.bool(False),
22  SavePVVertices = cms.untracked.bool(False),
23  OutputFileName = cms.untracked.string('analyze_d0_phi.root'),
24  MinimumPt = cms.untracked.double(1.2),
25  MaximumEta = cms.untracked.double(2.4),
26  MaximumImpactParameter = cms.untracked.double(5),
27  MaximumZ = cms.untracked.double(60),
28  MinimumTotalLayers = cms.untracked.int32(11),
29  MinimumPixelLayers = cms.untracked.int32(3),
30  MaximumNormChi2 = cms.untracked.double(2.0),
31  TrackAlgorithm = cms.untracked.vstring('initialStep'), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
32  TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
33  InputBeamWidth = cms.untracked.double(-1.0), ## if -1 use the value calculated by the analyzer
34  FractionOfFittedTrks = cms.untracked.double(0.9),
35  MinimumInputTracks = cms.untracked.int32(100)
36  ),
37  PVFitter = cms.PSet(
38  Debug = cms.untracked.bool(False),
39  Apply3DFit = cms.untracked.bool(False),
40  VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
41  #WriteAscii = cms.untracked.bool(True),
42  #AsciiFileName = cms.untracked.string('PVFit.txt'),
43  maxNrStoredVertices = cms.untracked.uint32(10000),
44  minNrVerticesForFit = cms.untracked.uint32(100),
45  minVertexNdf = cms.untracked.double(10.),
46  maxVertexNormChi2 = cms.untracked.double(10.),
47  minVertexNTracks = cms.untracked.uint32(0),
48  minVertexMeanWeight = cms.untracked.double(0.5),
49  maxVertexR = cms.untracked.double(2),
50  maxVertexZ = cms.untracked.double(10),
51  errorScale = cms.untracked.double(0.9),
52  nSigmaCut = cms.untracked.double(50.),
53  FitPerBunchCrossing = cms.untracked.bool(False),
54  useOnlyFirstPV = cms.untracked.bool(False),
55  minSumPt = cms.untracked.double(0.)
56  )
57 )
58