File indexing completed on 2023-03-17 11:16:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("RecoMuon")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006
0007
0008 process.load("Configuration.StandardSequences.GeometryDB_cff")
0009 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0010 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0011
0012 process.GlobalTag.globaltag = cms.string( autoCond[ 'phase1_2022_realistic' ] )
0013 process.source = cms.Source("PoolSource",
0014 fileNames = cms.untracked.vstring('file:PATLayer1_Output.fromAOD_full.root')
0015 )
0016
0017 process.maxEvents = cms.untracked.PSet(
0018 input = cms.untracked.int32(-1)
0019 )
0020
0021 process.TFileService=cms.Service('TFileService',
0022 fileName=cms.string('MyMuonPlots.root')
0023 )
0024
0025
0026 process.muonAnalysis = cms.EDAnalyzer("ExampleMuonAnalyzer",
0027 MuonCollection = cms.untracked.InputTag('cleanLayer1Muons'),
0028 )
0029
0030
0031 process.p = cms.Path(process.muonAnalysis)
0032
0033
0034
0035