Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process( "RctRawToDigi" )
0004 
0005 
0006 process.MessageLogger = cms.Service("MessageLogger",
0007                                     destinations = cms.untracked.vstring('cout'),
0008                                     cout = cms.untracked.PSet(threshold = cms.untracked.string('INFO'))
0009                                     )
0010 #process.load("FWCore.MessageLogger.MessageLogger_cfi")
0011 #process.MessageLogger.cerr.threshold = cms.untracked.string('DEBUG')
0012 #process.MessageLogger.cerr.INFO.limit = cms.untracked.int32(100)
0013 
0014 
0015 
0016 #process.dumpRaw = cms.EDAnalyzer( 
0017 #    "DumpFEDRawDataProduct",
0018 #    label = cms.untracked.string("rawDataCollector"),
0019 #    feds = cms.untracked.vint32 ( 1350 ),
0020 #    dumpPayload = cms.untracked.bool ( True )
0021 #)
0022 
0023 # unpacker
0024 process.load( "EventFilter.RctRawToDigi.l1RctHwDigis_cfi" )
0025 process.l1RctHwDigis.inputLabel = cms.InputTag( "rawDataCollector" )
0026 process.l1RctHwDigis.verbose = cms.untracked.bool( True )
0027 process.l1RctHwDigis.rctFedId = cms.untracked.int32( 1350 )
0028 
0029 # Other statements
0030 #from Configuration.AlCa.GlobalTag import GlobalTag
0031 #process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0032 
0033 process.output = cms.OutputModule( "PoolOutputModule",
0034   outputCommands = cms.untracked.vstring ( 
0035     "keep *",
0036 #    "keep *_l1RctHwDigis_*_*",
0037 #    "keep *_rctDigiToRaw_*_*"
0038   ),
0039   
0040   fileName = cms.untracked.string( "rctDigis.root" )
0041 
0042 )
0043 
0044 process.p = cms.Path( 
0045     process.l1RctHwDigis 
0046     #+process.dumpRaw
0047  )
0048 
0049 process.out = cms.EndPath( process.output )
0050 
0051 # input
0052 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32( 1000 ) )
0053 
0054 process.source = cms.Source ( "PoolSource",
0055    fileNames = cms.untracked.vstring(
0056         #'file:/hdfs/store/mc/RunIISpring15Digi74/WJetsToLNu_TuneCUETP8M1_13TeV-amcatnloFXFX-pythia8/GEN-SIM-RAW/AVE_30_BX_50ns_tsg_MCRUN2_74_V6-v1/00000/048543B8-4FEF-E411-96E5-C4346BC7AAE0.root'
0057     'file:082DB4A9-D21C-E511-AAA8-02163E011AA5.root'
0058   )
0059 )
0060