CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  cerr = cms.untracked.PSet(
14  enable = cms.untracked.bool(False)
15  ),
16  cout = cms.untracked.PSet(
17  enable = cms.untracked.bool(True)
18  ),
19  debugModules = cms.untracked.vstring('*')
20 )
21 
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)
27 )
28 
29 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
30  process.CondDB,
31  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
32  timetype = cms.untracked.string('runnumber'),
33  toPut = cms.VPSet(
34  cms.PSet(
35  record = cms.string('EcalTPGFineGrainStripEERcd'),
36  tag = cms.string('EcalTPGFineGrainStripEE_test_10GeV')
37  )
38  )
39 )
40 
41 process.Test1 = cms.EDAnalyzer("ExTestEcalTPGFineGrainStripfromFile",
42  record = cms.string('EcalTPGFineGrainStripEERcd'),
43  Source = cms.PSet(
44  FileName = cms.string('/afs/cern.ch/cms/CAF/CMSCOMM/COMM_ECAL/azabi/TPG_beamv6_trans_spikekill_FGEE_10GEV_LUT.txt')
45  )
46 )
47 
48 process.p = cms.Path(process.Test1)