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)


[((3, 10, 3, 46), 'FWCore.ParameterSet.Config.Process', 'cms.Process', ({(3, 22, 3, 45): '"""LIKELIHOODPDFDBREADER"""'}, {}), "('LIKELIHOODPDFDBREADER')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((45, 38, 47, 1), 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', ({(46, 4, 46, 27): '"""LikelihoodPdfDBReader"""'}, {}), "('LikelihoodPdfDBReader')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((49, 13, 49, 58), 'FWCore.ParameterSet.Config.Path', 'cms.Path', ({(49, 22, 49, 57): 'process.LikelihoodPdfDBReaderModule'}, {}), '(process.LikelihoodPdfDBReaderModule)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((7, 24, 7, 47), 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', ({(7, 45, 7, 46): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((8, 15, 8, 38), 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', ({(8, 36, 8, 37): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((28, 12, 28, 34), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', ({(28, 32, 28, 33): '1'}, {}), '(1)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((32, 22, 32, 73), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(32, 43, 32, 72): '"""TBufferBlobStreamingService"""'}, {}), "('TBufferBlobStreamingService')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((37, 15, 37, 48), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(37, 36, 37, 47): '"""runnumber"""'}, {}), "('runnumber')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((38, 14, 38, 49), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(38, 25, 38, 48): '"""sqlite_file:dummy2.db"""'}, {}), "('sqlite_file:dummy2.db')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((34, 23, 34, 45), 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', ({(34, 43, 34, 44): '2'}, {}), '(2)', True, 'import FWCore.ParameterSet.Config as cms\n'), ((35, 29, 35, 79), 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', ({(35, 50, 35, 78): '"""/afs/cern.ch/cms/DB/conddb"""'}, {}), "('/afs/cern.ch/cms/DB/conddb')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((40, 17, 40, 56), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(40, 28, 40, 55): '"""MuScleFitLikelihoodPdfRcd"""'}, {}), "('MuScleFitLikelihoodPdfRcd')", True, 'import FWCore.ParameterSet.Config as cms\n'), ((41, 14, 41, 57), 'FWCore.ParameterSet.Config.string', 'cms.string', ({(41, 25, 41, 56): '"""MuScleFitLikelihoodPdf_2_1_12"""'}, {}), "('MuScleFitLikelihoodPdf_2_1_12')", True, 'import FWCore.ParameterSet.Config as cms\n')]