Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:10:56

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("RawToDigi")
0005 
0006 process.load("FWCore.MessageService.MessageLogger_cfi")
0007 
0008 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
0009 
0010 # Input source
0011 process.source = cms.Source("NewEventStreamFileReader",
0012     fileNames = cms.untracked.vstring( 'file:'+sys.argv[-1])
0013 )
0014 
0015 #process.load('CalibTracker.SiStripESProducers.fake.Phase2TrackerConfigurableCablingESSource_cfi')
0016 process.load('TestbeamCabling_cfi')
0017 process.load('EventFilter.Phase2TrackerRawToDigi.Phase2TrackerDigiProducer_cfi')
0018 # process.load('EventFilter.Phase2TrackerRawToDigi.Phase2TrackerCommissioningDigiProducer_cfi')
0019 
0020 process.out = cms.OutputModule("PoolOutputModule",
0021     fileName = cms.untracked.string('myOutputFile.root')
0022 )
0023 
0024 # process.output = cms.OutputModule(
0025 #     "PoolOutputModule",
0026 #     fileName = cms.untracked.string('output.root'),
0027 #     outputCommands = cms.untracked.vstring(
0028 #       'drop *',
0029 #       'keep *_*_*_DigiToRawToDigi'
0030 #       )
0031 #     )
0032   
0033 process.p = cms.Path(process.Phase2TrackerDigitestproducer)
0034 # process.p = cms.Path(process.Phase2TrackerDigitestproducer*process.Phase2TrackerDigiCondDataproducer)
0035 
0036 process.e = cms.EndPath(process.out)