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 import string
0003 
0004 process = cms.Process('RECODQM')
0005 
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1000) )
0007 process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0008 
0009 # minimum of logs
0010 process.MessageLogger = cms.Service("MessageLogger",
0011     statistics = cms.untracked.vstring(),
0012     destinations = cms.untracked.vstring('cerr'),
0013     cerr = cms.untracked.PSet(
0014         threshold = cms.untracked.string('WARNING')
0015     )
0016 )
0017 
0018 # import of standard configurations
0019 process.load('Configuration.StandardSequences.Services_cff')
0020 process.load('FWCore.MessageService.MessageLogger_cfi')
0021 process.load('Configuration.EventContent.EventContent_cff')
0022 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0023 
0024 # load DQM framework
0025 process.load("DQM.Integration.config.environment_cfi")
0026 process.dqmEnv.subSystemFolder = "CTPPS"
0027 process.dqmEnv.eventInfoFolder = "EventInfo"
0028 process.dqmSaver.path = ""
0029 process.dqmSaver.tag = "CTPPS"
0030 
0031 process.source = cms.Source("PoolSource",
0032   fileNames = cms.untracked.vstring( *(
0033     # '/store/data/Commissioning2018/ZeroBias/RAW/v1/000/314/816/00000/0062E91C-2245-E811-8DCB-FA163EE59A93.root',
0034     # '/store/data/Commissioning2018/ZeroBias/RAW/v1/000/314/816/00000/007EABA4-5745-E811-8573-FA163EB3E1C0.root',
0035 # '/store/data/Commissioning2018/MinimumBias/RAW/v1/000/314/276/00000/B45F5174-6040-E811-BCDA-FA163EB38F53.root',
0036 #'/store/data/Commissioning2018/ZeroBias1/RAW/v1/000/314/277/00000/04F64F14-A53F-E811-A60D-FA163ED486E3.root',
0037       #'root://cms-xrd-global.cern.ch//store/relval/CMSSW_10_2_0_pre4/DoubleEG/RAW-RECO/ZElectron-102X_dataRun2_PromptLike_v1_RelVal_doubEG2017B-v1/20000/2A91DAFF-9161-E811-93F5-0CC47A4D765E.root',
0038     #'root://cms-xrd-global.cern.ch//store/data/Run2018B/SingleMuon/RAW/v1/000/317/080/00000/08B75D73-B962-E811-BB99-FA163E07C94D.root',
0039      'root://cms-xrd-global.cern.ch//store/data/Run2018A/SingleMuon/RAW-RECO/ZMu-PromptReco-v3/000/316/569/00000/006F7ABE-4A64-E811-99E2-FA163E679A44.root',
0040     )
0041     )
0042 )
0043 
0044 from Configuration.AlCa.GlobalTag import GlobalTag
0045 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_hlt_relval', '')
0046 
0047 # raw-to-digi conversion
0048 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0049 
0050 # local RP reconstruction chain with standard settings
0051 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0052 
0053 # load local geometry to avoid GT
0054 process.load('Geometry.VeryForwardGeometry.geometryRPFromDD_2018_cfi')
0055 process.load('RecoPPS.Local.totemTimingLocalReconstruction_cff')
0056 
0057 # CTPPS DQM modules
0058 process.load("DQM.CTPPS.ctppsDQM_cff")
0059 
0060 process.path = cms.Path(
0061     process.ctppsRawToDigi *
0062     process.recoCTPPS *
0063     process.ctppsDQM
0064 )
0065 
0066 process.end_path = cms.EndPath(
0067     process.dqmEnv +
0068     process.dqmSaver
0069 )
0070 
0071 process.schedule = cms.Schedule(
0072     process.path,
0073     process.end_path
0074 )