Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("BSworkflow")
0004 # initialize MessageLogger
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) #1500
0016 )
0017 
0018 # this is for filtering on L1 technical trigger bit
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 
0028 process.MessageLogger.debugModules = ['BeamSpotAnalyzer']
0029 
0030 #######################
0031 process.d0_phi_analyzer.BeamFitter.MinimumTotalLayers = 6
0032 process.d0_phi_analyzer.BeamFitter.MinimumPixelLayers = -1
0033 process.d0_phi_analyzer.BeamFitter.MaximumNormChi2 = 10
0034 process.d0_phi_analyzer.BeamFitter.MinimumInputTracks = 2
0035 process.d0_phi_analyzer.BeamFitter.MinimumPt = 1.0
0036 process.d0_phi_analyzer.BeamFitter.MaximumImpactParameter = 1.0 #5.0
0037 process.d0_phi_analyzer.BeamFitter.TrackAlgorithm =  cms.untracked.vstring()
0038 #process.d0_phi_analyzer.BeamFitter.TrackQuality = cms.untracked.vstring("highPurity")
0039 process.d0_phi_analyzer.BeamFitter.InputBeamWidth = 0.0400
0040 process.d0_phi_analyzer.BeamFitter.Debug = True
0041 #########################
0042 
0043 process.d0_phi_analyzer.BeamFitter.AsciiFileName = 'BeamFit_LongWorkflow.txt'
0044 process.d0_phi_analyzer.BeamFitter.OutputFileName = 'BeamSpot_LongWorkflow.root' 
0045 process.d0_phi_analyzer.BeamFitter.SaveNtuple = True
0046 
0047 # fit as function of lumi sections
0048 process.d0_phi_analyzer.BSAnalyzerParameters.fitEveryNLumi = 2
0049 process.d0_phi_analyzer.BSAnalyzerParameters.resetEveryNLumi = -1