Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:09:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("DataScoutingTest")
0004 process.load("DQMServices.Components.DQMEnvironment_cfi")
0005 process.load("DQMServices.Core.DQM_cfg")
0006 
0007 process.load('Configuration.StandardSequences.Services_cff')
0008 process.load('Configuration.EventContent.EventContent_cff')
0009 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0010 
0011 
0012 
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(100)
0016 )
0017 
0018 process.source = cms.Source("PoolSource",
0019     fileNames = cms.untracked.vstring()
0020 )
0021 
0022 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0023 process.DataScoutingTest = DQMEDAnalyzer('ScoutingTestAnalyzer',
0024   modulePath=cms.untracked.string("Test"),
0025   pfJetsCollectionName=cms.untracked.InputTag("hltCaloJetIDPassed")
0026   )
0027 
0028 process.DQMoutput = cms.OutputModule("PoolOutputModule",
0029     splitLevel = cms.untracked.int32(0),
0030     outputCommands = process.DQMEventContent.outputCommands,
0031     fileName = cms.untracked.string('DataScoutingTest_DQM.root'),
0032     dataset = cms.untracked.PSet(
0033         filterName = cms.untracked.string(''),
0034         dataTier = cms.untracked.string('DQM')
0035     )
0036 )
0037 
0038 process.dqmSaver.workflow = '/DataScouting/CMG/Test'
0039 process.dqmsave_step = cms.Path(process.dqmSaver)
0040 
0041 
0042 # Other statements
0043 process.GlobalTag.globaltag = 'GR_R_52_V7::All'
0044 
0045 # Path and EndPath definitions
0046 process.testmodule_step = cms.Path(process.DataScoutingTest)
0047 process.DQMoutput_step = cms.EndPath(process.DQMoutput)
0048 
0049 process.schedule = cms.Schedule(process.testmodule_step,process.dqmsave_step,process.DQMoutput_step)
0050 
0051 process.PoolSource.fileNames = ['/store/data/Run2012B/DataScouting/RAW/v1/000/194/535/16D13DD4-CBA2-E111-AE6F-001D09F24353.root']
0052 
0053 
0054