示例#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)
示例#2
0
    VarParsing.VarParsing.varType.int,  # string, int, or float
    "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(