import FWCore.ParameterSet.Config as cms

process = cms.Process("LIKELIHOODPDFDBREADER")
# process.load("MuonAnalysis.MomentumScaleCalibration.local_CSA08_Y_cff")

process.source = cms.Source("EmptySource",
    numberEventsInRun = cms.untracked.uint32(1),
    firstRun = cms.untracked.uint32(1)
)

process.load("Configuration.StandardSequences.MagneticField_cff")

process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")

process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")

process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")

process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")

process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")

# process.source = cms.Source("PoolSource",
#     fileNames = cms.untracked.vstring()
# )

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(1)
)

process.poolDBESSource = cms.ESSource("PoolDBESSource",
   BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
   DBParameters = cms.PSet(
        messageLevel = cms.untracked.int32(2),
        authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
    ),
    timetype = cms.untracked.string('runnumber'),
    connect = cms.string('sqlite_file:dummy2.db'),
    toGet = cms.VPSet(cms.PSet(
        record = cms.string('MuScleFitLikelihoodPdfRcd'),
        tag = cms.string('MuScleFitLikelihoodPdf_2_1_12')
    ))
)

process.LikelihoodPdfDBReaderModule = cms.EDAnalyzer(
    "LikelihoodPdfDBReader"
)

process.p1 = cms.Path(process.LikelihoodPdfDBReaderModule)


[((52, 88), 'FWCore.ParameterSet.Config.Process', 'cms.Process', (['"""LIKELIHOODPDFDBREADER"""'], {}), "('LIKELIHOODPDFDBREADER')\n", (63, 88), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1452, 1491), 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', (['"""LikelihoodPdfDBReader"""'], {}), "('LikelihoodPdfDBReader')\n", (1466, 1491), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1512, 1557), 'FWCore.ParameterSet.Config.Path', 'cms.Path', (['process.LikelihoodPdfDBReaderModule'], {}), '(process.LikelihoodPdfDBReaderModule)\n', (1520, 1557), True, 'import FWCore.ParameterSet.Config as cms\n'), ((231, 254), 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', (['(1)'], {}), '(1)\n', (251, 254), True, 'import FWCore.ParameterSet.Config as cms\n'), ((271, 294), 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', (['(1)'], {}), '(1)\n', (291, 294), True, 'import FWCore.ParameterSet.Config as cms\n'), ((836, 858), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(1)'], {}), '(1)\n', (855, 858), True, 'import FWCore.ParameterSet.Config as cms\n'), ((940, 991), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""TBufferBlobStreamingService"""'], {}), "('TBufferBlobStreamingService')\n", (960, 991), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1170, 1203), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""runnumber"""'], {}), "('runnumber')\n", (1190, 1203), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1219, 1254), 'FWCore.ParameterSet.Config.string', 'cms.string', (['"""sqlite_file:dummy2.db"""'], {}), "('sqlite_file:dummy2.db')\n", (1229, 1254), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1044, 1066), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', (['(2)'], {}), '(2)\n', (1063, 1066), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1097, 1147), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', (['"""/afs/cern.ch/cms/DB/conddb"""'], {}), "('/afs/cern.ch/cms/DB/conddb')\n", (1117, 1147), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1305, 1344), 'FWCore.ParameterSet.Config.string', 'cms.string', (['"""MuScleFitLikelihoodPdfRcd"""'], {}), "('MuScleFitLikelihoodPdfRcd')\n", (1315, 1344), True, 'import FWCore.ParameterSet.Config as cms\n'), ((1360, 1403), 'FWCore.ParameterSet.Config.string', 'cms.string', (['"""MuScleFitLikelihoodPdf_2_1_12"""'], {}), "('MuScleFitLikelihoodPdf_2_1_12')\n", (1370, 1403), True, 'import FWCore.ParameterSet.Config as cms\n')]