Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-22 01:41:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("RecoMuon")
0004 
0005 # Messages
0006 #process.load("RecoMuon.Configuration.MessageLogger_cfi")
0007 #process.load("FWCore.MessageService.MessageLogger_cfi")
0008 
0009 # Muon Reco
0010 process.load("RecoLocalMuon.Configuration.RecoLocalMuon_cff")
0011 
0012 process.load("RecoMuon.Configuration.RecoMuon_cff")
0013 
0014 process.load("Configuration.StandardSequences.Services_cff")
0015 
0016 process.load("Configuration.StandardSequences.GeometryDB_cff")
0017 
0018 process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0019 
0020 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0021 
0022 process.load("Configuration.StandardSequences.RawToDigi_cff")
0023 
0024 process.load("Configuration.StandardSequences.Reconstruction_cff")
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027         input = cms.untracked.int32(1000)
0028             )
0029 process.source = cms.Source("PoolSource",
0030                                     fileNames = cms.untracked.vstring(
0031 
0032     #'/store/relval/CMSSW_3_0_0_pre7/RelValSingleMuPt100/GEN-SIM-DIGI-RECO/IDEAL_30X_FastSim_v1/0006/50187155-5EE8-DD11-BF56-000423D9517C.root'
0033     '/store/relval/CMSSW_3_0_0_pre7/RelValSingleMuPt100/GEN-SIM-RECO/IDEAL_30X_v1/0006/4C2DF180-6AE8-DD11-B789-000423D99AA2.root'
0034     #"dcache:/pnfs/cms/WAX/resilient/ibloch/CRAB_output/MuID_samples_3_0/3_0_0_pre3/mumin_e_60_300_probev2__1.root"
0035     ),
0036                                     skipEvents = cms.untracked.uint32(0)
0037                             )
0038 
0039 
0040 
0041 process.out = cms.OutputModule("PoolOutputModule",
0042                                                                 fileName = cms.untracked.string('RecoMuons.root')
0043                                                                 )
0044 
0045   ## SET algorithm of STA muon
0046   #from RecoMuon.SeedGenerator.selectorSET_cff import *
0047 process.STAMuonAnalyzer = cms.EDAnalyzer("STAMuonAnalyzer",
0048                                          #    DataType = cms.untracked.string('SimData'),
0049                                              DataType = cms.untracked.string('RealData'),
0050                                              StandAloneTrackCollectionLabel = cms.untracked.string('standAloneSETMuons'),
0051                                          #    MuonSeedCollectionLabel = cms.untracked.string('MuonSeedTester'),
0052                                              MuonSeedCollectionLabel = cms.untracked.string('SETMuonSeed'),
0053 
0054                                              rootFileName = cms.untracked.string('STAMuonAnalyzer.root'),
0055                                          )
0056 
0057 
0058 process.p = cms.Path(process.SETMuonSeed*process.standAloneSETMuons*process.STAMuonAnalyzer)
0059   #process.this_is_the_end = cms.EndPath(process.out)
0060 
0061 process.GlobalTag.globaltag = 'IDEAL_30X::All'
0062   #process.GlobalTag.globaltag = 'STARTUP_30X::All'
0063   
0064 
0065