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('CSCBadStripsRcd'),
|
13 |
tag = cms.string('CSCBadStrips_new_popcon')
|
14 |
)),
|
15 |
#read from sqlite_file
|
16 |
connect = cms.string('sqlite_file:BadStrips.db'),
|
17 |
# read from database
|
18 |
#string connect="frontier://FrontierDev/CMS_COND_CSC"
|
19 |
#string connect = "oracle://cms_orcoff_int2r/CMS_COND_CSC"
|
20 |
DBParameters = cms.PSet(
|
21 |
authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/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("CSCReadBadStripsAnalyzer")
|
32 |
|
33 |
process.output = cms.OutputModule("AsciiOutputModule")
|
34 |
|
35 |
process.p = cms.Path(process.prod)
|
36 |
process.ep = cms.EndPath(process.output)
|
37 |
|