Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:22:46

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TESTCORRECTION")
0004 process.load("MuonAnalysis.MomentumScaleCalibration.local_CSA08_Y_cff")
0005 
0006 process.load("Configuration.StandardSequences.MagneticField_cff")
0007 
0008 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0009 
0010 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0011 
0012 process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")
0013 
0014 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0015 
0016 process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
0017 
0018 # process.source = cms.Source("PoolSource",
0019 #     fileNames = cms.untracked.vstring()
0020 # )
0021 
0022 process.maxEvents = cms.untracked.PSet(
0023     input = cms.untracked.int32(1)
0024 )
0025 process.TestCorrectionModule = cms.EDAnalyzer(
0026     "TestCorrection",
0027     process.MuonServiceProxy,
0028     # // standalone muons
0029     # InputTag MuonLabel = standAloneMuons:UpdatedAtVtx
0030     # int32 muonType = 2 
0031     # // tracker tracks
0032     # InputTag MuonLabel = generalTracks //ctfWithMaterialTracks
0033     # int32 muonType = 3 
0034     # The resonances are to be specified in this order:
0035     # Z0, Y(3S), Y(2S), Y(1S), Psi(2S), J/Psi
0036     # -------------------------------------------------
0037     OutputFileName = cms.untracked.string('TestCorrection.root'),
0038     # Choose the kind of muons you want to run on
0039     # -------------------------------------------
0040     # global muons
0041     MuonType = cms.int32(1),
0042     MuonLabel = cms.InputTag("muons"),
0043 
0044     # Specify the corrections to use
0045     CorrectionsIdentifier = cms.untracked.string('MCcorrDerivedFromY_globalMuons_test')
0046 )
0047 
0048 process.p1 = cms.Path(process.TestCorrectionModule)
0049 
0050 # Timing information
0051 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0052 TimingLogFile = cms.untracked.string('timing.log')
0053 process.Timing = cms.Service("Timing")
0054