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 process = cms.Process("TEST")
0003 
0004 process.load("Configuration.StandardSequences.MagneticField_cff")
0005 process.load("Configuration.GlobalRuns.ForceZeroTeslaField_cff")
0006 process.load("Configuration.StandardSequences.GeometryDB_cff")
0007 process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
0008 process.GlobalTag.globaltag = 'CRZT210_V1::All' 
0009 process.prefer("GlobalTag")
0010 process.load("Configuration.StandardSequences.ReconstructionCosmics_cff")
0011 process.load("RecoMuon.MuonIdentification.muonIdProducerSequence_cff")
0012 process.load("RecoMuon.MuonIdentification.links_cfi")
0013 process.maxEvents = cms.untracked.PSet(
0014     input = cms.untracked.int32(-1)
0015 )
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     destinations = cms.untracked.vstring('cout'),
0018     categories = cms.untracked.vstring('MuonIdentification','TrackAssociator'),
0019     cout = cms.untracked.PSet(
0020         # threshold = cms.untracked.string('INFO')
0021         threshold = cms.untracked.string('DEBUG'),
0022     # noTimeStamps = cms.untracked.bool(True),
0023     # noLineBreaks = cms.untracked.bool(True)
0024     DEBUG = cms.untracked.PSet(
0025            limit = cms.untracked.int32(0)
0026        ),
0027     MuonIdentification = cms.untracked.PSet(
0028        limit = cms.untracked.int32(-1)
0029     ),
0030     TrackAssociator = cms.untracked.PSet(
0031        limit = cms.untracked.int32(-1)
0032     ),
0033     ),
0034     debugModules = cms.untracked.vstring("muons")
0035 )
0036 
0037 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0038 options = cms.untracked.PSet(
0039     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0040 )
0041 
0042 process.source = cms.Source("PoolSource",
0043     fileNames =
0044 cms.untracked.vstring(
0045          '/store/data/Commissioning08/Cosmics/RECO/CRUZET4_V4P_TrackerPointing_v1/0000/04470A48-2081-DD11-8ECA-001A92810AC8.root'
0046      
0047 )
0048 )
0049 
0050 process.out = cms.OutputModule("PoolOutputModule",
0051     fileName = cms.untracked.string('/tmp/muonid_1.24.root'),
0052     outputCommands = cms.untracked.vstring("drop *",
0053         "keep *_genParticleCandidates_*_*",
0054     "keep recoTracks_*_*_*",
0055     "keep recoTrackExtras_*_*_*",
0056     "keep recoMuons_*_*_*",
0057     "keep *_cscSegments_*_*",
0058     "keep *_dt4DSegments_*_*",
0059     "keep *_towerMaker_*_*",
0060     "keep *_*_*_TEST")
0061 )
0062 
0063 process.p = cms.Path(process.dtlocalreco*process.globalMuonLinks*process.muons)
0064 
0065 process.muons.inputCollectionLabels = cms.VInputTag(cms.InputTag("ctfWithMaterialTracksP5"), 
0066                             cms.InputTag("globalMuonLinks"), 
0067                             cms.InputTag("cosmicMuons"))
0068 process.muons.inputCollectionTypes = cms.vstring('inner tracks', 
0069                          'links', 
0070                          'outer tracks')
0071 
0072 process.muons.fillIsolation = False
0073 process.muons.minPt = 0.
0074 process.muons.minP = 0.
0075 
0076 process.e = cms.EndPath(process.out)