Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #process = cms.Process('RECODQM')
0004 process = cms.Process('CTPPSDQM')
0005 
0006 # minimum of logs
0007 process.MessageLogger = cms.Service("MessageLogger",
0008     statistics = cms.untracked.vstring(),
0009     destinations = cms.untracked.vstring('cerr'),
0010     cerr = cms.untracked.PSet(
0011         threshold = cms.untracked.string('WARNING')
0012     )
0013 )
0014 
0015 # load DQM framework
0016 process.load("DQM.Integration.config.environment_cfi")
0017 process.dqmEnv.subSystemFolder = "CTPPS"
0018 process.dqmEnv.eventInfoFolder = "EventInfo"
0019 process.dqmSaver.path = ""
0020 process.dqmSaver.tag = "CTPPS"
0021 
0022 # raw data source
0023 process.source = cms.Source("PoolSource",
0024 #fileNames=cms.untracked.vstring('file:/afs/cern.ch/user/j/jkaspar/public/run273062_ls0001-2_stream.root')
0025 labelRawDataLikeMC = cms.untracked.bool(False),
0026 fileNames = 
0027 #cms.untracked.vstring('file:/afs/cern.ch/user/p/popov/scratch_bk/data/simevent_CTPPS_DIG_CLU_2_TEST_5000.root')
0028 #cms.untracked.vstring('file:/afs/cern.ch/user/p/popov/public/CTPPS/data/digis_PixelAlive_1294_151_RAW_v2_900p1.root')
0029 #cms.untracked.vstring('file:/afs/cern.ch/user/p/popov/public/CTPPS/data/digis_PixelAlive_P5_2_RAW.root')
0030 cms.untracked.vstring('root://eoscms//eos/cms/store/group/dpg_ctpps/comm_ctpps/digis_PixelAlive_P5_2_RAW.root')
0031 
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(-1)
0036 )
0037 
0038 # raw-to-digi conversion
0039 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0040 #process.load("EventFilter.TotemRawToDigi.totemRawToDigi_cff")
0041 
0042 # local RP reconstruction chain with standard settings
0043 process.load('Geometry.VeryForwardGeometry.geometryRP_cfi')
0044 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0045 
0046 # CTPPS DQM modules
0047 process.load("DQM.CTPPS.totemDQM_cff")
0048 process.load("DQM.CTPPS.ctppsDQM_cff")
0049 
0050 process.options = cms.untracked.PSet(
0051 #    Rethrow = cms.untracked.vstring('ProductNotFound',
0052     SkipEvent = cms.untracked.vstring('ProductNotFound',
0053         'TooManyProducts',
0054         'TooFewProducts')
0055 )
0056 
0057 process.path = cms.Path(
0058   process.ctppsRawToDigi *
0059   process.recoCTPPS +
0060   process.ctppsDQM
0061 )
0062 
0063 process.end_path = cms.EndPath(
0064   process.dqmEnv +
0065   process.dqmSaver
0066 )
0067 
0068 process.schedule = cms.Schedule(
0069   process.path,
0070   process.end_path
0071 )