Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("ProcessOne")
0004 #process.load("CondCore.DBCommon.CondDB_cfi")
0005 process.load("CondCore.CondDB.CondDB_cfi")
0006 process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
0007 #
0008 # Choose the output database
0009 #
0010 process.CondDB.connect = 'sqlite_file:EcalTPGFineGrainStrip.db'
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     cerr = cms.untracked.PSet(
0014         enable = cms.untracked.bool(False)
0015     ),
0016     cout = cms.untracked.PSet(
0017         enable = cms.untracked.bool(True)
0018     ),
0019     debugModules = cms.untracked.vstring('*')
0020 )
0021 
0022 process.source = cms.Source("EmptyIOVSource",
0023   firstValue = cms.uint64(1),
0024   lastValue = cms.uint64(1),
0025   timetype = cms.string('runnumber'),
0026   interval = cms.uint64(1)
0027 )
0028 
0029 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
0030   process.CondDB,
0031   logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
0032   timetype = cms.untracked.string('runnumber'),
0033   toPut = cms.VPSet(
0034     cms.PSet(
0035       record = cms.string('EcalTPGFineGrainStripEERcd'),
0036       tag = cms.string('EcalTPGFineGrainStripEE_test_10GeV')
0037     )
0038   )
0039 )
0040 
0041 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGFineGrainStripfromFile",
0042   record = cms.string('EcalTPGFineGrainStripEERcd'),
0043   Source = cms.PSet(
0044     FileName = cms.string('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_ECAL/azabi/TPG_beamv6_trans_spikekill_FGEE_10GEV_LUT.txt')
0045   )
0046 )
0047 
0048 process.p = cms.Path(process.Test1)