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, 'FWCore.ParameterSet.Config.Process', 'cms.Process', True, 'import FWCore.ParameterSet.Config as cms\n'), (45, 'FWCore.ParameterSet.Config.EDAnalyzer', 'cms.EDAnalyzer', True, 'import FWCore.ParameterSet.Config as cms\n'), (49, 'FWCore.ParameterSet.Config.Path', 'cms.Path', True, 'import FWCore.ParameterSet.Config as cms\n'), (7, 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', True, 'import FWCore.ParameterSet.Config as cms\n'), (8, 'FWCore.ParameterSet.Config.untracked.uint32', 'cms.untracked.uint32', True, 'import FWCore.ParameterSet.Config as cms\n'), (28, 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', True, 'import FWCore.ParameterSet.Config as cms\n'), (32, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', True, 'import FWCore.ParameterSet.Config as cms\n'), (37, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', True, 'import FWCore.ParameterSet.Config as cms\n'), (38, 'FWCore.ParameterSet.Config.string', 'cms.string', True, 'import FWCore.ParameterSet.Config as cms\n'), (34, 'FWCore.ParameterSet.Config.untracked.int32', 'cms.untracked.int32', True, 'import FWCore.ParameterSet.Config as cms\n'), (35, 'FWCore.ParameterSet.Config.untracked.string', 'cms.untracked.string', True, 'import FWCore.ParameterSet.Config as cms\n'), (40, 'FWCore.ParameterSet.Config.string', 'cms.string', True, 'import FWCore.ParameterSet.Config as cms\n'), (41, 'FWCore.ParameterSet.Config.string', 'cms.string', True, 'import FWCore.ParameterSet.Config as cms\n')]