Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:58

0001 import FWCore.ParameterSet.Config as cms
0002 process = cms.Process("TEST")
0003 
0004 # import of standard configurations
0005 process.load('Configuration/StandardSequences/Services_cff')
0006 process.load('FWCore/MessageService/MessageLogger_cfi')
0007 process.load('Configuration/StandardSequences/GeometryExtended_cff')
0008 process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
0009 process.load('Configuration/StandardSequences/RawToDigi_Data_cff')
0010 process.load('Configuration/StandardSequences/Reconstruction_cff')
0011 process.load('Configuration/StandardSequences/EndOfProcess_cff')
0012 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0013 process.load('Configuration/EventContent/EventContent_cff')
0014 process.GlobalTag.globaltag = 'GR10_E_V6::All'
0015 
0016 process.load("RecoMuon.MuonIdentification.links_cfi")
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(-1)
0019 )
0020 process.MessageLogger = cms.Service("MessageLogger",
0021     destinations = cms.untracked.vstring('cout'),
0022     # categories = cms.untracked.vstring('MuonIdentification','TrackAssociator'),
0023     cout = cms.untracked.PSet(
0024         threshold = cms.untracked.string('INFO'),
0025         # threshold = cms.untracked.string('DEBUG'),
0026     # noTimeStamps = cms.untracked.bool(True),
0027     # noLineBreaks = cms.untracked.bool(True)
0028     DEBUG = cms.untracked.PSet(
0029            limit = cms.untracked.int32(0)
0030        ),
0031     #MuonIdentification = cms.untracked.PSet(
0032     #   limit = cms.untracked.int32(-1)
0033     #),
0034     #TrackAssociator = cms.untracked.PSet(
0035     #   limit = cms.untracked.int32(-1)
0036     #),
0037     ),
0038     debugModules = cms.untracked.vstring("muons")
0039 )
0040 
0041 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0042 options = cms.untracked.PSet(
0043     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0044 )
0045 
0046 process.source = cms.Source("PoolSource",
0047     fileNames = cms.untracked.vstring(
0048         '/store/data/Commissioning10/MinimumBias/RECO/v9/000/134/704/F6771A49-8455-DF11-8FA7-00304879EDEA.root'
0049     )
0050 )
0051 
0052 process.out = cms.OutputModule("PoolOutputModule",
0053     fileName = cms.untracked.string('out2.root'),
0054 )
0055 
0056 process.load("RecoMuon.MuonIdentification.cosmics_id")
0057 process.p = cms.Path(process.globalMuonLinks*process.muons*process.cosmicsMuonIdSequence)
0058 
0059 process.muons.inputCollectionLabels = cms.VInputTag(cms.InputTag("generalTracks"),
0060                             cms.InputTag("globalMuonLinks"), 
0061                             cms.InputTag("standAloneMuons","UpdatedAtVtx"))
0062 process.muons.inputCollectionTypes = cms.vstring('inner tracks', 
0063                          'links', 
0064                          'outer tracks')
0065 
0066 process.muons.fillIsolation = False
0067 # process.muons.minPt = 0.
0068 # process.muons.minP = 0.
0069 
0070 process.e = cms.EndPath(process.out)