Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:32:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("MBUEandQCDTest")
0004 
0005 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 process.load("Validation.EventGenerator.MBUEandQCDValidation_cff")
0007 process.load('Configuration.EventContent.EventContent_cff')
0008 process.load('Configuration/StandardSequences/EndOfProcess_cff')
0009 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0010 
0011 process.maxEvents = cms.untracked.PSet(
0012 #    input = cms.untracked.int32(100)
0013     input = cms.untracked.int32(-1)    
0014 )
0015 
0016 process.source = cms.Source("PoolSource",
0017     fileNames = cms.untracked.vstring('file:gen.root') 
0018 )
0019 
0020 ANALYSISEventContent = cms.PSet(
0021         outputCommands = cms.untracked.vstring('drop *')
0022         )
0023 ANALYSISEventContent.outputCommands.extend(process.MEtoEDMConverterFEVT.outputCommands)
0024 
0025 process.out = cms.OutputModule("PoolOutputModule",
0026                                    verbose = cms.untracked.bool(False),
0027                                    fileName = cms.untracked.string('output.root'),
0028                                    outputCommands = ANALYSISEventContent.outputCommands
0029                                )
0030 
0031 # DQM Services
0032 
0033 from DQMServices.Components.DQMEnvironment_cfi import *
0034 
0035 DQMStore = cms.Service("DQMStore")
0036 
0037 dqmSaver.convention = 'Offline'
0038 dqmSaver.workflow = '/BasicHepMCValidation/Workflow/GEN'
0039 
0040 #Adding SimpleMemoryCheck service:
0041 process.SimpleMemoryCheck=cms.Service("SimpleMemoryCheck",
0042     ignoreTotal=cms.untracked.int32(1),
0043     oncePerEventMode=cms.untracked.bool(False))
0044 #Adding Timing service:
0045 process.Timing=cms.Service("Timing",
0046     summaryOnly = cms.untracked.bool(True)
0047 )
0048 
0049 #Add these 3 lines to put back the summary for timing information at the end of the logfile
0050 #(needed for TimeReport report)
0051 process.options = cms.untracked.PSet(
0052     wantSummary = cms.untracked.bool(True)
0053 )    
0054 
0055 process.p = cms.Path(process.mbueAndqcd_seq+process.endOfProcess+process.out)
0056 
0057 
0058 
0059