ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/baumgartel/CSC/CSCPlugins/test/readDBGains_cfg.py
Revision: 1.1
Committed: Wed Jun 15 10:17:54 2011 UTC (13 years, 10 months ago) by darinb
Content type: text/x-python
Branch: MAIN
Log Message:
Added a couple basic constucts

File Contents

# User Rev Content
1 darinb 1.1 # The following comments couldn't be translated into the new config version:
2    
3     # Configuration file for EventSetupTest_t
4    
5     import FWCore.ParameterSet.Config as cms
6    
7     process = cms.Process("TEST")
8     process.PoolDBESSource = cms.ESSource("PoolDBESSource",
9     loadAll = cms.bool(True),
10     timetype = cms.string('runnumber'),
11     toGet = cms.VPSet(cms.PSet(
12     record = cms.string('CSCDBGainsRcd'),
13     tag = cms.string('CSCDBGains_express')
14     )),
15     #read from sqlite_file
16     connect=cms.string("oracle://cms_orcon_prod/CMS_COND_31X_CSC"),
17     # read from database
18     #string connect="frontier://FrontierDev/CMS_COND_CSC"
19     DBParameters = cms.PSet(
20     authenticationPath = cms.untracked.string('/nfshome0/popcondev/conddb/'),
21     authenticationMethod = cms.untracked.uint32(1)
22     )
23     )
24    
25     process.maxEvents = cms.untracked.PSet(
26     input = cms.untracked.int32(1)
27     )
28     process.source = cms.Source("EmptySource")
29    
30     process.prod = cms.EDAnalyzer("CSCGainsDBReadAnalyzer")
31    
32     process.output = cms.OutputModule("AsciiOutputModule")
33    
34     process.p = cms.Path(process.prod)
35     process.ep = cms.EndPath(process.output)
36