Line Code
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
# The following comments couldn't be translated into the new config version:

# Configuration file for EventSetupTest_t

import FWCore.ParameterSet.Config as cms

process = cms.Process("TEST")
process.PoolDBESSource = cms.ESSource("PoolDBESSource",
    toGet = cms.VPSet(
    cms.PSet(
    record = cms.string('DTCCBConfigRcd'),
    tag = cms.string('conf_test')
    ),
    cms.PSet(
    record = cms.string('DTKeyedConfigListRcd'),
    tag = cms.string('DT_keyedConfListIOV_V01')
    ),
    cms.PSet(
    record = cms.string('DTKeyedConfigContainerRcd'),
    tag = cms.string('DT_keyedConfBricks_V01')
    )
    ),
    connect = cms.string('sqlite_file:testconf.db'),
    DBParameters = cms.PSet(
        messageLevel = cms.untracked.int32(0),
        authenticationPath = cms.untracked.string('.')
    )
)

process.source = cms.Source("EmptySource",
    numberEventsInRun = cms.untracked.uint32(1),
    firstRun = cms.untracked.uint32(54544)
)

process.maxEvents = cms.untracked.PSet(
    input = cms.untracked.int32(1)
)

process.conf = cms.EDAnalyzer("DTKeyedConfigDump",
    dumpCCBKeys = cms.bool(True),
#    dumpCCBKeys = cms.bool(False),
    dumpAllData = cms.bool(True)
#    dumpAllData = cms.bool(False)
)

process.p = cms.Path(process.conf)