Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 d0_phi_analyzer = cms.EDAnalyzer("BeamSpotAnalyzer",
0004     BSAnalyzerParameters = cms.PSet(
0005         RunAllFitters = cms.bool(False), ## False: run only default fitter
0006         RunBeamWidthFit = cms.bool(False), 
0007         WriteToDB = cms.bool(False), ## do not write results to DB
0008         fitEveryNLumi = cms.untracked.int32( -1 ),
0009         resetEveryNLumi = cms.untracked.int32( -1 )
0010     ),
0011     BeamFitter = cms.PSet(
0012         Debug = cms.untracked.bool(False),
0013         TrackCollection = cms.untracked.InputTag('generalTracks'),
0014         IsMuonCollection = cms.untracked.bool(False),
0015         WriteAscii = cms.untracked.bool(True),
0016         AsciiFileName = cms.untracked.string('BeamFit.txt'), ## all results
0017         AppendRunToFileName = cms.untracked.bool(True), #runnumber will be inserted to the file name
0018         WriteDIPAscii = cms.untracked.bool(False),
0019         DIPFileName = cms.untracked.string('BeamFitDIP.txt'), ## only the last results, for DIP
0020         SaveNtuple = cms.untracked.bool(False),
0021         SavePVVertices = cms.untracked.bool(False),
0022         SaveFitResults = cms.untracked.bool(False),
0023         OutputFileName = cms.untracked.string('analyze_d0_phi.root'),
0024         MinimumPt = cms.untracked.double(1.2),
0025         MaximumEta = cms.untracked.double(2.4),
0026         MaximumImpactParameter = cms.untracked.double(5),
0027         MaximumZ = cms.untracked.double(60),
0028         MinimumTotalLayers = cms.untracked.int32(11),
0029         MinimumPixelLayers = cms.untracked.int32(3),
0030         MaximumNormChi2 = cms.untracked.double(2.0),
0031         TrackAlgorithm = cms.untracked.vstring('initialStep'), ## ctf,rs,cosmics,initialStep,lowPtTripletStep...; for all algos, leave it blank
0032         TrackQuality = cms.untracked.vstring(), ## loose, tight, highPurity...; for all qualities, leave it blank
0033         InputBeamWidth = cms.untracked.double(0.0060), ## beam width used for Trk fitter, used only when result from PV is not available
0034         FractionOfFittedTrks = cms.untracked.double(0.9),
0035         MinimumInputTracks = cms.untracked.int32(100)
0036      ),
0037      PVFitter = cms.PSet(
0038         Debug = cms.untracked.bool(False),
0039         Apply3DFit = cms.untracked.bool(False),
0040         VertexCollection = cms.untracked.InputTag('offlinePrimaryVertices'),
0041         #WriteAscii = cms.untracked.bool(True),
0042         #AsciiFileName = cms.untracked.string('PVFit.txt'),
0043         maxNrStoredVertices = cms.untracked.uint32(10000),
0044         minNrVerticesForFit = cms.untracked.uint32(100),
0045         minVertexNdf = cms.untracked.double(10.),
0046         maxVertexNormChi2 = cms.untracked.double(10.),
0047         minVertexNTracks = cms.untracked.uint32(0),
0048         minVertexMeanWeight = cms.untracked.double(0.5),
0049         maxVertexR = cms.untracked.double(2),
0050         maxVertexZ = cms.untracked.double(10),
0051         errorScale = cms.untracked.double(0.9),
0052         nSigmaCut = cms.untracked.double(5.),
0053         FitPerBunchCrossing = cms.untracked.bool(False),
0054         useOnlyFirstPV = cms.untracked.bool(False),
0055         minSumPt = cms.untracked.double(0.)
0056      )
0057 )
0058