1 import FWCore.ParameterSet.Config
as cms
3 process = cms.Process(
"ProcessOne")
5 process.load(
"CondCore.CondDB.CondDB_cfi")
6 process.CondDB.DBParameters.authenticationPath =
'/afs/cern.ch/cms/DB/conddb/'
10 process.CondDB.connect =
'sqlite_file:EcalTPGFineGrainTower.db'
12 process.MessageLogger = cms.Service(
"MessageLogger",
13 cerr = cms.untracked.PSet(
14 enable = cms.untracked.bool(
False)
16 cout = cms.untracked.PSet(
17 enable = cms.untracked.bool(
True)
19 debugModules = cms.untracked.vstring(
'*')
22 process.source = cms.Source(
"EmptyIOVSource",
23 firstValue = cms.uint64(1),
24 lastValue = cms.uint64(1),
25 timetype = cms.string(
'runnumber'),
26 interval = cms.uint64(1)
40 process.PoolDBOutputService = cms.Service(
"PoolDBOutputService",
42 logconnect = cms.untracked.string(
'sqlite_file:DBLog.db'),
43 timetype = cms.untracked.string(
'runnumber'),
46 record = cms.string(
'EcalTPGFineGrainTowerEERcd'),
47 tag = cms.string(
'EcalTPGFineGrainTower_test')
52 process.Test1 = cms.EDAnalyzer(
"ExTestEcalTPGFineGrainTowerfromFile",
53 record = cms.string(
'EcalTPGFineGrainTowerEERcd'),
56 FileName = cms.string(
'/afs/cern.ch/cms/CAF/CMSCOMM/COMM_ECAL/azabi/TPG_beamv6_trans_spikekill_FGEE_2GEV_LUT.txt')
60 process.p = cms.Path(process.Test1)