Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:14

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("RecoSTAMuon")
0004 process.load("RecoMuon.Configuration.RecoMuon_cff")
0005 
0006 process.load("Configuration.StandardSequences.MagneticField_cff")
0007 process.load("Configuration.StandardSequences.GeometryDB_cff")
0008 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0009 process.GlobalTag.globaltag = 'IDEAL_V9::All'
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012     input = cms.untracked.int32(10)
0013 )
0014 process.source = cms.Source("PoolSource",
0015     fileNames = cms.untracked.vstring('/store/relval/CMSSW_2_1_10/RelValSingleMuPt10/GEN-SIM-DIGI-RAW-HLTDEBUG-RECO/IDEAL_V9_v1/0000/A8EB0765-BC9A-DD11-AB0B-001A92971B64.root')
0016 )
0017 
0018 process.MessageLogger = cms.Service("MessageLogger",
0019     cout = cms.untracked.PSet(
0020         threshold = cms.untracked.string('INFO'),
0021         noLineBreaks = cms.untracked.bool(True)
0022     ),
0023     destinations = cms.untracked.vstring('cout')
0024 )
0025 
0026 process.out = cms.OutputModule("PoolOutputModule",
0027     fileName = cms.untracked.string('/tmp/RecoSTAMuons.root')
0028 )
0029 
0030 ## Analyzer to produce pT and 1/pT resolution plots
0031 #process.STAMuonAnalyzer = cms.EDAnalyzer("STAMuonAnalyzer",
0032 #                                         DataType = cms.untracked.string('SimData'),
0033 #                                         StandAloneTrackCollectionLabel = cms.untracked.string('standAloneMuons'),
0034 #                                         MuonSeedCollectionLabel = cms.untracked.string('MuonSeed'),
0035 #                                         rootFileName = cms.untracked.string('STAMuonAnalyzer.root')
0036 #                                         )
0037 
0038 process.p = cms.Path(process.MuonSeed * process.standAloneMuons)                             ## default path (no analyzer)
0039 #process.p = cms.Path(process.MuonSeed * process.standAloneMuons * process.STAMuonAnalyzer)  ## path with analyzer
0040 process.this_is_the_end = cms.EndPath(process.out)