Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:26:12

0001 import FWCore.ParameterSet.Config as cms
0002 #process = cms.Process("RecoSTAMuon")
0003 process = cms.Process("STARECO")
0004 process.load("RecoMuon.Configuration.RecoMuon_cff")
0005 process.load('Configuration.StandardSequences.Services_cff')
0006 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0007 process.load('FWCore.MessageService.MessageLogger_cfi')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0010 process.load('Configuration.Geometry.GeometryExtended2023D1Reco_cff')
0011 process.load('Configuration.Geometry.GeometryExtended2023D1_cff')
0012 process.load('Configuration.StandardSequences.MagneticField_cff')
0013 process.load('Configuration.StandardSequences.Reconstruction_cff') #!!!!!!!!!!!!!!!!!!!!!!!!!!
0014 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0015 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0016 
0017 from Configuration.AlCa.GlobalTag import GlobalTag
0018 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:upgradePLS3', '')
0019 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_design', '')
0020 
0021 # Fix DT and CSC Alignment #
0022 ############################
0023 #from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixDTAlignmentConditions
0024 #process = fixDTAlignmentConditions(process)
0025 #from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixCSCAlignmentConditions
0026 #process = fixCSCAlignmentConditions(process)
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029 input = cms.untracked.int32(-1)
0030 )
0031 
0032  # Seed generator
0033 from RecoMuon.MuonSeedGenerator.standAloneMuonSeeds_cff import *
0034 
0035 # Stand alone muon track producer
0036 from RecoMuon.StandAloneMuonProducer.standAloneMuons_cff import *
0037 
0038 # Beam Spot 
0039 from RecoVertex.BeamSpotProducer.BeamSpot_cff import *
0040 
0041 process.source = cms.Source("PoolSource",
0042 fileNames = cms.untracked.vstring(
0043 
0044                  )
0045            )
0046 
0047 process.output = cms.OutputModule("PoolOutputModule",
0048     fileName = cms.untracked.string(
0049         'file:/tmp/archie/out_STA_reco_Pt200_withGems_new.root'
0050     ),
0051     outputCommands = cms.untracked.vstring(
0052         'keep  *_*_*_*',
0053     ),
0054     SelectEvents = cms.untracked.PSet(
0055         SelectEvents = cms.vstring('stareco_step')
0056     )
0057 
0058  )
0059 
0060 
0061 process.stareco_step = cms.Path(offlineBeamSpot*standAloneMuonSeeds*process.standAloneMuons)
0062 process.endjob_step  = cms.Path(process.endOfProcess)
0063 process.out_step     = cms.EndPath(process.output)
0064 
0065 process.schedule = cms.Schedule(
0066     process.stareco_step,
0067     process.endjob_step,
0068     process.out_step
0069 )
0070