Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:31:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("LIKELIHOODPDFDBWRITER")
0004 
0005 process.source = cms.Source("EmptySource",
0006     numberEventsInRun = cms.untracked.uint32(1),
0007     firstRun = cms.untracked.uint32(1)
0008 )
0009 
0010 process.load("Configuration.StandardSequences.MagneticField_cff")
0011 
0012 process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
0013 
0014 process.load("Geometry.CommonTopologies.globalTrackingGeometry_cfi")
0015 
0016 process.load("RecoMuon.DetLayers.muonDetLayerGeometry_cfi")
0017 
0018 process.load("Geometry.MuonNumbering.muonNumberingInitialization_cfi")
0019 
0020 process.load("RecoMuon.TrackingTools.MuonServiceProxy_cff")
0021 
0022 # process.source = cms.Source("PoolSource",
0023 #     fileNames = cms.untracked.vstring()
0024 # )
0025 
0026 process.maxEvents = cms.untracked.PSet(
0027     input = cms.untracked.int32(1)
0028 )
0029 
0030 process.PoolDBOutputService = cms.Service(
0031     "PoolDBOutputService",
0032     BlobStreamerName = cms.untracked.string('TBufferBlobStreamingService'),
0033     DBParameters = cms.PSet(
0034         messageLevel = cms.untracked.int32(2),
0035         authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb')
0036     ),
0037     timetype = cms.untracked.string('runnumber'),
0038     connect = cms.string('sqlite_file:dummy2.db'),
0039     toPut = cms.VPSet(cms.PSet(
0040         record = cms.string('MuScleFitLikelihoodPdfRcd'),
0041         tag = cms.string('MuScleFitLikelihoodPdf_2_1_12')
0042     ))
0043 )
0044 
0045 process.LikelihoodPdfDBWriterModule = cms.EDAnalyzer(
0046     "LikelihoodPdfDBWriter",
0047 
0048     inputFileName = cms.string('Probs_new_1000_CTEQ.root'),
0049 )
0050 
0051 process.p1 = cms.Path(process.LikelihoodPdfDBWriterModule)
0052