test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalO2O_pedestals_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.CondDBCommon_cfi")
5 #process.CondDBCommon.connect = 'oracle://cms_orcoff_prep/CMS_COND_ECAL'
6 #process.CondDBCommon.DBParameters.authenticationPath = '/afs/cern.ch/cms/DB/conddb/'
7 process.CondDBCommon.connect = 'sqlite_file:DB.db'
8 
9 
10 
11 process.MessageLogger = cms.Service("MessageLogger",
12  debugModules = cms.untracked.vstring('*'),
13  destinations = cms.untracked.vstring('cout')
14  )
15 
16 process.source = cms.Source("EmptyIOVSource",
17  firstValue = cms.uint64(1),
18  lastValue = cms.uint64(1),
19  timetype = cms.string('runnumber'),
20  interval = cms.uint64(1)
21  )
22 
23 process.PoolDBESSource = cms.ESSource("PoolDBESSource",
24  process.CondDBCommon,
25  timetype = cms.untracked.string('runnumber'),
26  toGet = cms.VPSet(cms.PSet(
27  record = cms.string('EcalPedestalsRcd'),
28  tag = cms.string('EcalPedestals_hlt')
29  ))
30 )
31 
32 process.PoolDBOutputService = cms.Service("PoolDBOutputService",
33  process.CondDBCommon,
34  logconnect = cms.untracked.string('sqlite_file:DBLog.db'),
35  timetype = cms.untracked.string('runnumber'),
36  toPut = cms.VPSet(cms.PSet(
37  record = cms.string('EcalPedestalsRcd'),
38  tag = cms.string('EcalPedestals_hlt')
39  ))
40 )
41 
42 # logconnect = cms.untracked.string('oracle://cms_orcon_prod/CMS_COND_21X_POPCONLOG'),
43 
44 
45 
46 process.Test1 = cms.EDAnalyzer("ExTestEcalPedestalsAnalyzer",
47  SinceAppendMode = cms.bool(True),
48  record = cms.string('EcalPedestalsRcd'),
49  loggingOn = cms.untracked.bool(True),
50  Source = cms.PSet(
51  GenTag = cms.string('LOCAL'),
52  firstRun = cms.string('119000'),
53  lastRun = cms.string('100000000'),
54  LocationSource = cms.string('P5'),
55  OnlineDBUser = cms.string('cms_ecal_r'),
56  debug = cms.bool(True),
57  Location = cms.string('P5_Co'),
58  OnlineDBPassword = cms.string('xxxxxxxxxxx'),
59  OnlineDBSID = cms.string('cms_testbeam')
60  )
61 )
62 
63 process.p = cms.Path(process.Test1)
64 
65