File indexing completed on 2024-04-06 12:29:06
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("BSworkflow")
0004
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006
0007 process.load("RecoVertex.BeamSpotProducer.d0_phi_analyzer_cff")
0008
0009 process.source = cms.Source("PoolSource",
0010 fileNames = cms.untracked.vstring(
0011 )
0012 )
0013
0014 process.maxEvents = cms.untracked.PSet(
0015 input = cms.untracked.int32(-1)
0016 )
0017
0018
0019 process.load('L1TriggerConfig.L1GtConfigProducers.L1GtTriggerMaskTechTrigConfig_cff')
0020 process.load('HLTrigger/HLTfilters/hltLevel1GTSeed_cfi')
0021 process.hltLevel1GTSeed.L1TechTriggerSeeding = cms.bool(True)
0022 process.hltLevel1GTSeed.L1SeedsLogicalExpression = cms.string('0 AND ( 40 OR 41 )')
0023
0024
0025 process.p = cms.Path(process.hltLevel1GTSeed + process.d0_phi_analyzer)
0026
0027 process.MessageLogger.debugModules = ['BeamSpotAnalyzer']
0028
0029
0030 process.d0_phi_analyzer.BeamFitter.MinimumTotalLayers = 6
0031 process.d0_phi_analyzer.BeamFitter.MinimumPixelLayers = -1
0032 process.d0_phi_analyzer.BeamFitter.MaximumNormChi2 = 10
0033 process.d0_phi_analyzer.BeamFitter.MinimumInputTracks = 2
0034 process.d0_phi_analyzer.BeamFitter.MinimumPt = 1.0
0035 process.d0_phi_analyzer.BeamFitter.MaximumImpactParameter = 1.0
0036 process.d0_phi_analyzer.BeamFitter.TrackAlgorithm = cms.untracked.vstring()
0037 process.d0_phi_analyzer.BeamFitter.InputBeamWidth = 0.0400
0038 process.d0_phi_analyzer.BeamFitter.Debug = True
0039
0040
0041 process.d0_phi_analyzer.BeamFitter.AsciiFileName = 'BeamFit_ShortWorkflow.txt'
0042 process.d0_phi_analyzer.BeamFitter.OutputFileName = 'BeamSpot_ShortWorkflow.root'
0043 process.d0_phi_analyzer.BeamFitter.SaveNtuple = True
0044
0045
0046 process.d0_phi_analyzer.BSAnalyzerParameters.fitEveryNLumi = 2
0047 process.d0_phi_analyzer.BSAnalyzerParameters.resetEveryNLumi = 2