File indexing completed on 2024-04-06 12:27:39
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Eras.Modifier_ctpps_cff import ctpps
0004 process = cms.Process("CTPPSReconstructionChainTest", ctpps)
0005
0006
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
0016 process.source = cms.Source("PoolSource",
0017 fileNames = cms.untracked.vstring(
0018
0019 '/store/data/Run2016B/DoubleEG/RAW/v2/000/274/199/00000/04985451-9B26-E611-BEB9-02163E013859.root',
0020
0021
0022
0023 '/store/data/Run2016H/HLTPhysics/RAW/v1/000/283/877/00000/F28F8896-999B-E611-93D8-02163E013706.root',
0024
0025
0026 'root://eostotem.cern.ch//eos/totem/data/ctpps/run290874.root'
0027 ),
0028
0029 inputCommands = cms.untracked.vstring(
0030 'drop *',
0031 'keep FEDRawDataCollection_*_*_*'
0032 )
0033 )
0034
0035 process.maxEvents = cms.untracked.PSet(
0036 input = cms.untracked.int32(8000)
0037 )
0038
0039
0040 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0041
0042
0043 process.load("RecoPPS.Configuration.recoCTPPS_cff")
0044
0045 process.p = cms.Path(
0046 process.ctppsRawToDigi *
0047 process.recoCTPPS
0048 )
0049
0050
0051 from RecoPPS.Configuration.RecoPPS_EventContent_cff import RecoPPSAOD
0052 process.output = cms.OutputModule("PoolOutputModule",
0053 fileName = cms.untracked.string("file:./AOD.root"),
0054 outputCommands = RecoPPSAOD.outputCommands
0055 )
0056
0057 process.outpath = cms.EndPath(process.output)