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 
0005 # minimum of logs
0006 process.MessageLogger = cms.Service("MessageLogger",
0007     cerr = cms.untracked.PSet(
0008         enable = cms.untracked.bool(False)
0009     ),
0010     cout = cms.untracked.PSet(
0011         enable = cms.untracked.bool(True),
0012         threshold = cms.untracked.string('WARNING')
0013     )
0014 )
0015 
0016 # load DQM framework
0017 process.load("DQM.Integration.config.environment_cfi")
0018 process.dqmEnv.subSystemFolder = "CTPPS"
0019 process.dqmEnv.eventInfoFolder = "EventInfo"
0020 process.dqmSaver.path = ""
0021 process.dqmSaver.tag = "CTPPS"
0022 
0023 # raw data source
0024 process.source = cms.Source("PoolSource",
0025   fileNames = cms.untracked.vstring(
0026     # CTPPS alignment run, 2017, July
0027     #'/store/data/Run2017B/ZeroBias1/AOD/PromptReco-v2/000/298/570/00000/122D69DA-6A65-E711-BDA8-02163E01375A.root'
0028     '/store/data/Run2017B/ZeroBias1/AOD/PromptReco-v2/000/298/593/00000/02A251B3-AD65-E711-B189-02163E011E18.root'
0029 
0030     # CTPPS alignment run, 2017, September
0031     #'/store/data/Run2017E/ZeroBias1/AOD/PromptReco-v1/000/303/649/00000/1270894D-0DA1-E711-BC08-02163E019CBB.root'
0032   )
0033 )
0034 
0035 process.maxEvents = cms.untracked.PSet(
0036   input = cms.untracked.int32(-1)
0037 )
0038 
0039 # needed for geometry declaration
0040 process.load("Geometry.VeryForwardGeometry.geometryRPFromDD_2017_cfi")
0041 
0042 # CTPPS DQM modules
0043 process.load("DQM.CTPPS.elasticPlotDQMSource_cfi")
0044 
0045 process.path = cms.Path(
0046   process.elasticPlotDQMSource
0047 )
0048 
0049 process.end_path = cms.EndPath(
0050   process.dqmEnv +
0051   process.dqmSaver
0052 )
0053 
0054 process.schedule = cms.Schedule(
0055   process.path,
0056   process.end_path
0057 )