File indexing completed on 2024-04-06 12:07:01
0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Era_Run3_cff import Run3
0003
0004 process = cms.Process('RECODQM', Run3)
0005
0006 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0007 process.verbosity = cms.untracked.PSet( input = cms.untracked.int32(10) )
0008
0009
0010 process.MessageLogger = cms.Service("MessageLogger",
0011 cerr = cms.untracked.PSet(
0012 threshold = cms.untracked.string('INFO')
0013 )
0014 )
0015
0016
0017 process.load('Configuration.StandardSequences.Services_cff')
0018 process.load('FWCore.MessageService.MessageLogger_cfi')
0019 process.load('Configuration.EventContent.EventContent_cff')
0020 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0021
0022
0023 process.load("DQM.Integration.config.environment_cfi")
0024 process.dqmEnv.subSystemFolder = "CTPPS"
0025 process.dqmEnv.eventInfoFolder = "EventInfo"
0026 process.dqmSaver.path = ""
0027 process.dqmSaver.tag = "CTPPS"
0028
0029
0030
0031
0032 process.source = cms.Source("PoolSource",
0033 fileNames = cms.untracked.vstring(
0034
0035
0036
0037 'file:/eos/cms/store/express/Run2022D/StreamALCAPPSExpress/ALCARECO/PPSCalMaxTracks-Express-v2/000/357/900/00000/4e3126cd-3dae-48b2-a2e5-b14542500030.root'
0038 ),
0039 )
0040
0041
0042
0043 from Configuration.AlCa.GlobalTag import GlobalTag
0044 from Configuration.AlCa.autoCond import autoCond
0045 process.GlobalTag = GlobalTag(process.GlobalTag, autoCond['run3_data_prompt'], '')
0046 process.GlobalTag.toGet = cms.VPSet()
0047 process.GlobalTag.toGet.append(
0048 cms.PSet(record = cms.string("PPSTimingCalibrationRcd"),
0049 tag = cms.string("PPSDiamondTimingCalibration_Run3_recovered_v1"),
0050 label = cms.untracked.string('PPSTestCalibration'),
0051 connect = cms.string("frontier://FrontierPrep/CMS_CONDITIONS")
0052 )
0053 )
0054
0055
0056
0057 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0058
0059 process.ctppsPixelDigis.inputLabel = "hltPPSCalibrationRaw"
0060 process.ctppsDiamondRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0061 process.totemRPRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0062 process.totemTimingRawToDigi.rawDataTag = "hltPPSCalibrationRaw"
0063
0064
0065
0066 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0067 process.ctppsDiamondRecHits.digiTag='ctppsDiamondRawToDigiAlCaRecoProducer:TimingDiamond'
0068 process.ctppsDiamondRecHits.timingCalibrationTag="GlobalTag:PPSTestCalibration"
0069
0070
0071
0072
0073
0074
0075
0076
0077
0078
0079
0080
0081
0082
0083
0084
0085 process.load("DQM.CTPPS.ctppsDQM_cff")
0086 process.ctppsDiamondDQMSource.tagDigi='ctppsDiamondRawToDigiAlCaRecoProducer:TimingDiamond'
0087 process.ctppsDiamondDQMSource.tagFEDInfo='ctppsDiamondRawToDigiAlCaRecoProducer:TimingDiamond'
0088 process.ctppsDiamondDQMSource.tagStatus='ctppsDiamondRawToDigiAlCaRecoProducer:TimingDiamond'
0089 process.ctppsDiamondDQMSource.tagPixelLocalTracks='ctppsPixelLocalTracksAlCaRecoProducer'
0090
0091 process.ctppsDiamondDQMSource.plotOnline = True
0092 process.ctppsDiamondDQMSource.plotOffline = False
0093
0094 process.content = cms.EDAnalyzer("EventContentAnalyzer")
0095
0096 process.path = cms.Path(
0097
0098
0099 process.ctppsDiamondRecHits *
0100 process.ctppsDiamondLocalTracks *
0101
0102
0103 process.ctppsDiamondDQMSource*
0104 process.ctppsDQMOnlineHarvest
0105 )
0106
0107 process.output = cms.OutputModule("PoolOutputModule",
0108 fileName = cms.untracked.string("file:test.root"),
0109 outputCommands = cms.untracked.vstring(
0110 'drop *',
0111 'keep *_ctpps*_*_*',
0112 ),
0113 )
0114
0115
0116 process.end_path = cms.EndPath(
0117
0118 process.dqmEnv +
0119 process.dqmSaver
0120 )
0121
0122 process.schedule = cms.Schedule(
0123 process.path,
0124 process.end_path
0125 )
0126
0127
0128
0129
0130
0131
0132
0133
0134