Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:13:11

0001 # test file for particle flow DQM Offline.
0002 # creates a root file with histograms filled with PFCandidate data,
0003 # present in the Candidate, and in the PFCandidate classes. 
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 process.load("DQMServices.Core.DQM_cfg")
0009 process.load("DQMServices.Components.DQMEnvironment_cfi")
0010 
0011 fa = 'RelValQCD'
0012 fb = 'FlatPt_15_3000_Fast'
0013 fc = 'ParticleFlow'
0014 
0015 process.load("RecoParticleFlow.Configuration.DBS_Samples.%s_%s_cfi" % (fa, fb) )
0016 
0017 process.maxEvents = cms.untracked.PSet(
0018     input = cms.untracked.int32(200)
0019 )
0020 
0021 process.load("DQMOffline.PFTau.DQMOfflineParticleFlow_cff")
0022 
0023 process.dqmSaver.convention = 'Offline'
0024 process.dqmSaver.workflow = '/%s/%s/%s' % (fa, fb, fc)
0025 process.dqmEnv.subSystemFolder = 'ParticleFlow'
0026 
0027 process.p =cms.Path(
0028     process.DQMOfflineParticleFlowSequence +
0029     process.dqmEnv +
0030     process.dqmSaver
0031     )
0032 
0033 
0034 process.schedule = cms.Schedule(process.p)
0035 
0036 
0037 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0038 process.MessageLogger.cerr.FwkReport.reportEvery = 50