Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:33

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process('FibreAnalyser')
0004 
0005 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 3564 ) )
0006 
0007 #Input file
0008 process.source = cms.Source ( "EmptySource" )
0009 
0010 #Logger
0011 #process.MessageLogger = cms.Service (
0012 #    destinations = cms.untracked.vstring ( "detailedInfo.txt" ),
0013 #    detailedInfo.txt = cms.untracked.PSet ( threshold = cms.untracked.string("INFO") ),
0014 #    #debugModules = cms.untracked.vstring ( "l1GctHwDigis", "FibreAnalysis" ),
0015 #    debugModules = cms.untracked.vstring ( "*" ),
0016 #    #suppressWarning = cms.untracked.vstring ( "source", "l1GctHwDigis" )
0017 
0018 process.gctRaw = cms.OutputModule( "TextToRaw",
0019  #Only select one of these at a time
0020  #filename = cms.untracked.string ( "counter_2008_03_04.dat" )
0021  #filename = cms.untracked.string ( "logical_id_2008_03_04.dat" )
0022  #filename = cms.untracked.string ( "jet_counter_2008_05_14.dat" )
0023  #filename = cms.untracked.string ( "logicalid.dat" )
0024 )
0025 
0026 process.l1GctHwDigis = cms.OutputModule( "GctRawToDigi",
0027   inputLabel = cms.InputTag("gctRaw"),
0028   gctFedId = cms.int32(745),
0029   verbose = cms.untracked.bool(False),
0030   hltMode = cms.bool(False),
0031   grenCompatibilityMode = cms.bool(False),
0032   unpackEm = cms.untracked.bool(True),
0033   unpackJets = cms.untracked.bool(True),
0034   unpackEtSums = cms.untracked.bool(True),
0035   unpackInternEm = cms.untracked.bool(True),
0036   unpackRct = cms.untracked.bool(True),
0037   unpackFibres = cms.untracked.bool(True)
0038 )
0039 
0040 #Fibre Analyzer
0041 process.FibreAnalysis = cms.OutputModule( "GctFibreAnalyzer",
0042   FibreSource = cms.untracked.InputTag("l1GctHwDigis"),
0043   #Make sure only one of these are set to True
0044   doLogicalID = cms.untracked.bool(True),
0045   doCounter = cms.untracked.bool(False)
0046 )
0047 
0048 process.p = cms.Path ( process.gctRaw * process.l1GctHwDigis * process.FibreAnalysis )