Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-04-14 02:22:32

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from Configuration.Eras.Modifier_ctpps_cff import ctpps
0004 process = cms.Process('ctppsDQMfromAOD', ctpps)
0005 
0006 # minimum of logs
0007 process.MessageLogger = cms.Service("MessageLogger",
0008   statistics = cms.untracked.vstring(),
0009   destinations = cms.untracked.vstring('cout'),
0010   cout = 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 # import of standard configurations for pixel
0023 process.load('Configuration.StandardSequences.Services_cff')
0024 process.load('FWCore.MessageService.MessageLogger_cfi')
0025 process.load('Configuration.EventContent.EventContent_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 
0028 from Configuration.AlCa.GlobalTag import GlobalTag
0029 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:run2_data', '')
0030 
0031 # raw data source
0032 process.source = cms.Source("PoolSource",
0033   fileNames = cms.untracked.vstring(
0034     # run 314255, alignment run April 2018
0035     '/store/data/Commissioning2018/ZeroBias1/AOD/PromptReco-v1/000/314/255/00000/0098845D-D642-E811-8E30-FA163EE31D2A.root'
0036   )
0037 )
0038 
0039 process.maxEvents = cms.untracked.PSet(
0040   input = cms.untracked.int32(-1)
0041 )
0042 
0043 # geometry definition and reco modules
0044 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0045 
0046 # CTPPS DQM modules
0047 process.load("DQM.CTPPS.ctppsDQM_cff")
0048 
0049 process.path = cms.Path(
0050   process.ctppsPixelLocalReconstruction
0051   * process.ctppsLocalTrackLiteProducer
0052   * process.ctppsProtons
0053 
0054   * process.ctppsDQMElastic
0055 )
0056 
0057 process.end_path = cms.EndPath(
0058   process.dqmEnv +
0059   process.dqmSaver
0060 )
0061 
0062 process.schedule = cms.Schedule(
0063   process.path,
0064   process.end_path
0065 )