Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:41

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TESTRESOLUTION")
0004 
0005 process.load("Configuration.StandardSequences.MagneticField_cff")
0006 
0007 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0008 
0009 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0010 
0011 process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")
0012 
0013 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0014 
0015 process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
0016 
0017 # process.source = cms.Source("PoolSource",
0018 #     fileNames = cms.untracked.vstring()
0019 # )
0020 
0021 process.source = cms.Source(
0022     "PoolSource",
0023     inputCommands = cms.untracked.vstring(
0024     "keep *",
0025     "drop edmGenInfoProduct_*_*_*",
0026     "drop *_TriggerResults_*_*",
0027     ),
0028     fileNames = cms.untracked.vstring(
0029     "file:/data2/demattia/Data/Summer09/OctoberExercise/Z_OctX_1.root",
0030     )
0031 )
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(1)
0035 )
0036 process.TestResolutionModule = cms.EDAnalyzer(
0037     "TestResolution",
0038     process.MuonServiceProxy,
0039     # // standalone muons
0040     # InputTag MuonLabel = standAloneMuons:UpdatedAtVtx
0041     # int32 muonType = 2 
0042     # // tracker tracks
0043     # InputTag MuonLabel = generalTracks //ctfWithMaterialTracks
0044     # int32 muonType = 3 
0045     # The resonances are to be specified in this order:
0046     # Z0, Y(3S), Y(2S), Y(1S), Psi(2S), J/Psi
0047     # -------------------------------------------------
0048     OutputFileName = cms.untracked.string('TestResolution.root'),
0049     # Choose the kind of muons you want to run on
0050     # -------------------------------------------
0051     # global muons
0052     MuonType = cms.int32(1),
0053     MuonLabel = cms.InputTag("muons"),
0054 
0055     # Specify the resolutions to use
0056     ResolutionsIdentifier = cms.untracked.string('Resol_OctoberExercise_EWK_InnerTrack')
0057 )
0058 
0059 process.p1 = cms.Path(process.TestResolutionModule)
0060 
0061 # Timing information
0062 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0063 TimingLogFile = cms.untracked.string('timing.log')
0064 process.Timing = cms.Service("Timing")
0065