File indexing completed on 2024-04-06 12:10:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("CTPPSRawToDigiTestPixelsOnly")
0004
0005
0006 process.MessageLogger = cms.Service("MessageLogger",
0007 statistics = cms.untracked.vstring(),
0008 destinations = cms.untracked.vstring('cerr'),
0009 cerr = cms.untracked.PSet( threshold = cms.untracked.string('DEBUG') )
0010 )
0011
0012
0013 process.source = cms.Source("PoolSource",
0014 fileNames = cms.untracked.vstring(
0015
0016
0017
0018
0019 'root://eoscms//eos/cms/store/user/jjhollar/012017_PixelDAQTests/PixelAlive_1462_2_RAW.root',
0020 'root://eoscms//eos/cms/store/user/jjhollar/012017_PixelDAQTests/PixelAlive_1463_2_RAW.root'
0021 ),
0022 labelRawDataLikeMC = cms.untracked.bool(False),
0023 duplicateCheckMode = cms.untracked.string("checkEachFile")
0024 )
0025
0026 process.maxEvents = cms.untracked.PSet(
0027 input = cms.untracked.int32(-1)
0028 )
0029
0030
0031 process.load("EventFilter.CTPPSRawToDigi.ctppsRawToDigi_cff")
0032
0033 process.ctppsPixelDAQMappingESSourceXML.configuration = cms.VPSet(
0034
0035 cms.PSet(
0036 validityRange = cms.EventRange("1:min - 999999999:max"),
0037 mappingFileNames = cms.vstring("CondFormats/PPSObjects/xml/rpix_mapping_220_far.xml"),
0038 maskFileNames = cms.vstring("CondFormats/PPSObjects/xml/rpix_channel_mask_220_far.xml")
0039 )
0040
0041 )
0042
0043 process.p = cms.Path(
0044 process.ctppsPixelDigis
0045 )
0046
0047
0048 process.output = cms.OutputModule("PoolOutputModule",
0049 fileName = cms.untracked.string("file:./ctpps_pixel_digi.root"),
0050 outputCommands = cms.untracked.vstring(
0051 'keep *'
0052 )
0053 )
0054
0055 process.outpath = cms.EndPath(process.output)