Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:15:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('GctVmeToDigi')
0004 
0005 #process.load("FWCore.MessageLogger.MessageLogger_cfi")
0006 #process.MessageLogger = cms.Service ( "MessageLogger",
0007 #  destinations = cms.untracked.vstring ( "debug.log" ),
0008 #  debug = cms.untracked.PSet ( threshold = cms.untracked.string ( "DEBUG" ) ),
0009 #  debugModules = cms.untracked.vstring ( "TextToRaw", "GctRawToDigi" )
0010 #)
0011 
0012 process.source = cms.Source ( "EmptySource" )
0013   
0014 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 3564 ) )
0015   
0016 process.gctRaw = cms.OutputModule( "TextToRaw",
0017 #  filename = cms.untracked.string ( "eventsForEmyr2.txt" ),
0018   filename = cms.untracked.string("/home/jbrooke/patternCaptureOrbit_ts__2008_08_15__18h57m24s.txt"),
0019   GctFedId = cms.untracked.int32 ( 745 )
0020 )
0021   
0022 process.load('EventFilter/GctRawToDigi/l1GctHwDigis_cfi')
0023 process.l1GctHwDigis.inputLabel = cms.InputTag( "gctRaw" )
0024 process.l1GctHwDigis.verbose = cms.untracked.bool ( True )
0025 
0026 process.dumpRaw = cms.OutputModule ( "DumpFEDRawDataProduct",
0027   feds = cms.untracked.vint32 ( 745 ),
0028   dumpPayload = cms.untracked.bool ( True )
0029 )
0030 
0031 process.load('L1Trigger/L1GctAnalyzer/dumpGctDigis_cfi')
0032 process.dumpGctDigis.rawInput = cms.untracked.InputTag( "l1GctHwDigis" )
0033 process.dumpGctDigis.emuRctInput = cms.untracked.InputTag( "rctDigis" )
0034 process.dumpGctDigis.emuGctInput = cms.untracked.InputTag( "gctDigis" )
0035 process.dumpGctDigis.doHardware = cms.untracked.bool ( True )
0036 process.dumpGctDigis.doEmulated = cms.untracked.bool ( False )
0037 process.dumpGctDigis.doRctEm = cms.untracked.bool ( True )
0038 process.dumpGctDigis.doInternEm = cms.untracked.bool ( False )
0039 process.dumpGctDigis.doEm = cms.untracked.bool ( True )
0040 process.dumpGctDigis.doJets = cms.untracked.bool ( True )
0041 process.dumpGctDigis.doEnergySums = cms.untracked.bool ( True )
0042 
0043 process.p = cms.Path ( process.gctRaw * process.dumpRaw * process.l1GctHwDigis * process.dumpGctDigis )
0044 
0045 process.output = cms.OutputModule ( "PoolOutputModule",
0046   outputCommands = cms.untracked.vstring ( 
0047     "drop *",
0048     "keep *_l1GctHwDigis_*_*",
0049     "keep *_gctRaw_*_*"
0050   ),
0051 
0052   fileName = cms.untracked.string ( "gctDigis.root" )
0053 
0054 )
0055 process.out = cms.EndPath(process.output)
0056 
0057