1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import FWCore.ParameterSet.Config as cms
process = cms.Process("TEST")
process.PoolDBESSource = cms.ESSource("PoolDBESSource",
DBParameters = cms.PSet(
authenticationPath = cms.untracked.string('/afs/cern.ch/cms/DB/conddb'),
),
#bool loadAll = true
toGet = cms.VPSet(cms.PSet(
record = cms.string('CSCChamberMapRcd'),
tag = cms.string('CSCChamberMap')
)),
#read constants from DB
connect = cms.string('frontier://FrontierDev/CMS_COND_CSC')
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(1)
)
process.source = cms.Source("EmptySource")
process.prod1 = cms.EDAnalyzer("CSCReadChamberMapValuesAnalyzer")
process.printEventNumber = cms.OutputModule("AsciiOutputModule")
process.p = cms.Path(process.prod1)
process.ep = cms.EndPath(process.printEventNumber)
|