CMS 3D CMS Logo

EcalTPGFineGrainStripfromFile_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("ProcessOne")
4 #process.load("CondCore.DBCommon.CondDB_cfi")
5 process.load("CondCore.CondDB.CondDB_cfi")
6 process.CondDB.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
7 #
8 # Choose the output database
9 #
10 process.CondDB.connect = 'sqlite_file:EcalTPGFineGrainStrip.db'
11 
12 process.MessageLogger = cms.Service("MessageLogger",
13  debugModules = cms.untracked.vstring('*'),
14  destinations = cms.untracked.vstring('cout')
15 )
16 
17 process.source = cms.Source("EmptyIOVSource",
18  firstValue = cms.uint64(1),
19  lastValue = cms.uint64(1),
20  timetype = cms.string('runnumber'),
21  interval = cms.uint64(1)
22 )
23 
24 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
25  process.CondDB,
26  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
27  timetype = cms.untracked.string('runnumber'),
28  toPut = cms.VPSet(
29  cms.PSet(
30  record = cms.string('EcalTPGFineGrainStripEERcd'),
31  tag = cms.string('EcalTPGFineGrainStripEE_test_10GeV')
32  )
33  )
34 )
35 
36 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGFineGrainStripfromFile",
37  record = cms.string('EcalTPGFineGrainStripEERcd'),
38  Source = cms.PSet(
39  FileName = cms.string('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_ECAL/azabi/TPG_beamv6_trans_spikekill_FGEE_10GEV_LUT.txt')
40  )
41 )
42 
43 process.p = cms.Path(process.Test1)