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 |
darinb |
1.3 |
connect = cms.string('frontier://PromptProd/CMS_COND_31X_CSC'),
|
17 |
darinb |
1.2 |
#connect=cms.string("oracle://cms_orcon_prod/CMS_COND_31X_CSC"),
|
18 |
darinb |
1.1 |
# read from database
|
19 |
darinb |
1.2 |
#connect="frontier://FrontierDev/CMS_COND_CSC"
|
20 |
darinb |
1.1 |
DBParameters = cms.PSet(
|
21 |
|
|
authenticationPath = cms.untracked.string('/nfshome0/popcondev/conddb/'),
|
22 |
|
|
authenticationMethod = cms.untracked.uint32(1)
|
23 |
|
|
)
|
24 |
|
|
)
|
25 |
|
|
|
26 |
|
|
process.maxEvents = cms.untracked.PSet(
|
27 |
|
|
input = cms.untracked.int32(1)
|
28 |
|
|
)
|
29 |
|
|
process.source = cms.Source("EmptySource")
|
30 |
|
|
|
31 |
|
|
process.prod = cms.EDAnalyzer("CSCGainsDBReadAnalyzer")
|
32 |
|
|
|
33 |
|
|
process.output = cms.OutputModule("AsciiOutputModule")
|
34 |
|
|
|
35 |
|
|
process.p = cms.Path(process.prod)
|
36 |
|
|
process.ep = cms.EndPath(process.output)
|
37 |
|
|
|