예제 #1
0

options.parseArguments()

process = cms.Process("TESTFU")

# load DQM
process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")

#b = booking.BookingParams(sys.argv)
#b = booking.BookingParams(["CTOR","BJ","BR"])
#b.doCheck(testOnly=False)

elements = c.createElements()
readRunElements = c.createReadRunElements()
readLumiElements = c.createReadLumiElements()




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

process.options = cms.untracked.PSet(
    numberOfThreads = cms.untracked.uint32(options.numThreads),
    numberOfStreams = cms.untracked.uint32(options.numFwkStreams),
    multiProcesses = cms.untracked.PSet(
    maxChildProcesses = cms.untracked.int32(0)
    )
process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')

# Input source
process.source = cms.Source("PoolSource",
                            secondaryFileNames = cms.untracked.vstring(),
                            fileNames = cms.untracked.vstring('file:dqm_merged_file1_file3_oldf.root'),
                            processingMode = cms.untracked.string('RunsAndLumis')
)

process.options = cms.untracked.PSet(
    Rethrow = cms.untracked.vstring('ProductNotFound'),
    fileMode = cms.untracked.string('FULLMERGE')
)

readRunElements1 = c.createReadRunElements()
readLumiElements1 = c.createReadLumiElements()
process.reader1 = cms.EDAnalyzer("DummyTestReadDQMStore",
                                folder = cms.untracked.string("TestFolder/"),
                                runElements = cms.untracked.VPSet(*readRunElements1),
                                lumiElements = cms.untracked.VPSet(*readLumiElements1),
                                runToCheck = cms.untracked.int32(1)
    )
readRunElements2 = c.createReadRunElements()
readLumiElements2 = c.createReadLumiElements()
process.reader2 = cms.EDAnalyzer("DummyTestReadDQMStore",
                                folder = cms.untracked.string("TestFolder/"),
                                runElements = cms.untracked.VPSet(*readRunElements2),
                                lumiElements = cms.untracked.VPSet(*readLumiElements2),
                                runToCheck = cms.untracked.int32(2)
    )
예제 #3
0
    "Number of CMSSW streams")

options.parseArguments()

process = cms.Process("TESTFU")

# load DQM
process.load("DQMServices.Core.DQM_cfg")
process.load("DQMServices.Components.DQMEnvironment_cfi")

#b = booking.BookingParams(sys.argv)
#b = booking.BookingParams(["CTOR","BJ","BR"])
#b.doCheck(testOnly=False)

elements = c.createElements()
readRunElements = c.createReadRunElements()
readLumiElements = c.createReadLumiElements()

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

process.options = cms.untracked.PSet(
    numberOfThreads=cms.untracked.uint32(options.numThreads),
    numberOfStreams=cms.untracked.uint32(options.numFwkStreams),
    multiProcesses=cms.untracked.PSet(
        maxChildProcesses=cms.untracked.int32(0)))

process.MessageLogger = cms.Service(
    "MessageLogger",
    destinations=cms.untracked.vstring('cout'),
    cout=cms.untracked.PSet(
        FwkReport=cms.untracked.PSet(
예제 #4
0
process = cms.Process("TEST")

process.load('Configuration.StandardSequences.EDMtoMEAtRunEnd_cff')

# Input source
process.source = cms.Source(
    "PoolSource",
    secondaryFileNames=cms.untracked.vstring(),
    fileNames=cms.untracked.vstring('file:dqm_merged_file1_file3_oldf.root'),
    processingMode=cms.untracked.string('RunsAndLumis'))

process.options = cms.untracked.PSet(
    Rethrow=cms.untracked.vstring('ProductNotFound'),
    fileMode=cms.untracked.string('FULLMERGE'))

readRunElements1 = c.createReadRunElements()
readLumiElements1 = c.createReadLumiElements()
process.reader1 = cms.EDAnalyzer(
    "DummyTestReadDQMStore",
    folder=cms.untracked.string("TestFolder/"),
    runElements=cms.untracked.VPSet(*readRunElements1),
    lumiElements=cms.untracked.VPSet(*readLumiElements1),
    runToCheck=cms.untracked.int32(1))
readRunElements2 = c.createReadRunElements()
readLumiElements2 = c.createReadLumiElements()
process.reader2 = cms.EDAnalyzer(
    "DummyTestReadDQMStore",
    folder=cms.untracked.string("TestFolder/"),
    runElements=cms.untracked.VPSet(*readRunElements2),
    lumiElements=cms.untracked.VPSet(*readLumiElements2),
    runToCheck=cms.untracked.int32(2))