File indexing completed on 2024-04-06 12:22:46
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("RESOLUTIONANALYZER")
0005 process.load("MuonAnalysis.MomentumScaleCalibration.local_CSA08_JPsi_cff")
0006
0007 process.load("Configuration.StandardSequences.MagneticField_cff")
0008
0009 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0010
0011 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0012
0013 process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")
0014
0015 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0016
0017 process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
0018
0019
0020
0021
0022
0023 process.maxEvents = cms.untracked.PSet(
0024 input = cms.untracked.int32(-1)
0025 )
0026 process.ResolutionAnalyzerModule = cms.EDAnalyzer(
0027 "ResolutionAnalyzer",
0028 process.MuonServiceProxy,
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040
0041
0042
0043
0044
0045
0046
0047
0048
0049
0050 ResolFitType = cms.int32(8),
0051 parResol = cms.vdouble(-0.007, 0.0001, 1.0,
0052 0.00043, 0.0041, 0.0000028, 0.000077,
0053 0.00011, 0.0018, -0.00000094, 0.000022),
0054 parResolFix = cms.vint32(0, 0, 0,
0055 0, 0, 0, 0,
0056 0, 0, 0, 0),
0057 parResolOrder = cms.vint32(0, 0, 0,
0058 1, 1, 1, 1,
0059 2, 2, 2, 2),
0060
0061
0062
0063
0064
0065 ResFind = cms.vint32(0, 0, 0, 0, 0, 1),
0066
0067
0068 MaxEvents = cms.uint32(-1),
0069 InputTreeName = cms.string("tree.root"),
0070
0071
0072
0073 OutputFileName = cms.untracked.string('ResolutionAnalyzer_JPsi.root'),
0074 Debug = cms.untracked.bool(False),
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084 MuonType = cms.int32(3),
0085 MuonLabel = cms.InputTag("generalTracks"),
0086 Resonance = cms.untracked.bool(True),
0087 ReadCovariances = cms.untracked.bool(False),
0088
0089 InputFileName = cms.untracked.string('ResolutionAnalyzer_JPsi.root')
0090 )
0091
0092 process.p1 = cms.Path(process.ResolutionAnalyzerModule)
0093