Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:41:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('DQM')
0004 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0005 process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0006 
0007 # minimum of logs
0008 process.MessageLogger = cms.Service("MessageLogger",
0009     statistics = cms.untracked.vstring(),
0010     destinations = cms.untracked.vstring('cerr'),
0011     cerr = cms.untracked.PSet(
0012         threshold = cms.untracked.string('WARNING')
0013     )
0014 )
0015 
0016 # import of standard configurations
0017 process.load('Configuration.StandardSequences.Services_cff')
0018 process.load('FWCore.MessageService.MessageLogger_cfi')
0019 process.load('Configuration.EventContent.EventContent_cff')
0020 
0021 # load DQM framework
0022 process.load("DQM.Integration.config.environment_cfi")
0023 process.dqmEnv.subSystemFolder = "CTPPS"
0024 process.dqmEnv.eventInfoFolder = "EventInfo"
0025 process.dqmSaver.path = ""
0026 process.dqmSaver.tag = "CTPPS"
0027 
0028 process.source = cms.Source('PoolSource',
0029     fileNames = cms.untracked.vstring(
0030         '/store/group/dpg_ctpps/comm_ctpps/TotemT2/RecoTest/emulated_digi_test.root',
0031     ),
0032 )
0033 
0034 process.load('Geometry.ForwardCommonData.totemT22021V2XML_cfi')
0035 process.load('Geometry.ForwardGeometry.totemGeometryESModule_cfi')
0036 process.load('RecoPPS.Local.totemT2RecHits_cfi')
0037 process.load('DQM.CTPPS.totemT2DQMSource_cfi')
0038 
0039 process.path = cms.Path(
0040     process.totemT2RecHits *
0041     process.totemT2DQMSource
0042 )
0043 
0044 process.end_path = cms.EndPath(
0045     process.dqmEnv +
0046     process.dqmSaver
0047 )
0048 
0049 process.schedule = cms.Schedule(
0050     process.path,
0051     process.end_path
0052 )