File indexing completed on 2024-04-06 12:10:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process('testAnalysis')
0004
0005
0006 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0007 process.MessageLogger = cms.Service ("MessageLogger",
0008 destinations = cms.untracked.vstring( "detailedInfo.txt" ),
0009 threshold = cms.untracked.string ( 'WARNING' )
0010 )
0011
0012 process.source = cms.Source ( "PoolSource",
0013 fileNames = cms.untracked.vstring('/store/data/Commissioning08/Calo/RAW/v1/000/066/279/000B8879-AB9A-DD11-80EE-001617C3B778.root')
0014 )
0015
0016
0017 process.maxEvents = cms.untracked.PSet ( input = cms.untracked.int32 ( 5 ) )
0018
0019
0020 process.load('EventFilter.GctRawToDigi.l1GctHwDigis_cfi')
0021 process.l1GctHwDigis.inputLabel = cms.InputTag( "rawDataCollector" )
0022 process.l1GctHwDigis.verbose = cms.untracked.bool ( False )
0023 process.l1GctHwDigis.unpackFibres = cms.untracked.bool ( True )
0024 process.l1GctHwDigis.unpackInternEm = cms.untracked.bool ( True )
0025 process.l1GctHwDigis.unpackInternJets = cms.untracked.bool ( True )
0026
0027
0028 process.load('L1Trigger.Configuration.L1StartupConfig_cff')
0029 import L1Trigger.GlobalCaloTrigger.gctDigis_cfi
0030 process.valGctDigis = L1Trigger.GlobalCaloTrigger.gctDigis_cfi.gctDigis.clone()
0031 process.valGctDigis.inputLabel = cms.InputTag( "l1GctHwDigis" )
0032 process.valGctDigis.preSamples = cms.uint32(0)
0033 process.valGctDigis.postSamples = cms.uint32(0)
0034
0035
0036 process.load('L1Trigger.HardwareValidation.L1Comparator_cfi')
0037 process.l1compare.GCTsourceData = cms.InputTag( "l1GctHwDigis" )
0038 process.l1compare.GCTsourceEmul = cms.InputTag( "valGctDigis" )
0039
0040
0041 process.l1compare.VerboseFlag = cms.untracked.int32(0)
0042 process.l1compare.DumpMode = cms.untracked.int32(0)
0043 process.l1compare.DumpFile = cms.untracked.string( "l1compare_dump.txt" )
0044 process.l1compare.COMPARE_COLLS = cms.untracked.vuint32(
0045
0046 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0
0047 )
0048
0049
0050 process.load('DQMServices.Core.DQM_cfg')
0051 process.load('DQM.L1TMonitor.L1TGCT_cfi')
0052 process.l1tgct.disableROOToutput = cms.untracked.bool(False)
0053 process.l1tgct.outputFile = cms.untracked.string('gctDqm_testAnalysis.root')
0054 process.l1tgct.gctCentralJetsSource = cms.InputTag("l1GctHwDigis","cenJets")
0055 process.l1tgct.gctNonIsoEmSource = cms.InputTag("l1GctHwDigis","nonIsoEm")
0056 process.l1tgct.gctForwardJetsSource = cms.InputTag("l1GctHwDigis","forJets")
0057 process.l1tgct.gctIsoEmSource = cms.InputTag("l1GctHwDigis","isoEm")
0058 process.l1tgct.gctEnergySumsSource = cms.InputTag("l1GctHwDigis","")
0059 process.l1tgct.gctTauJetsSource = cms.InputTag("l1GctHwDigis","tauJets")
0060
0061
0062 process.load('DQM.L1TMonitor.L1TRCT_cfi')
0063 process.l1trct.disableROOToutput = cms.untracked.bool(False)
0064 process.l1trct.outputFile = cms.untracked.string('gctDqm_testAnalysis.root')
0065 process.l1trct.rctSource = cms.InputTag("l1GctHwDigis","")
0066
0067
0068
0069 process.load('DQM.L1TMonitor.L1TdeGCT_cfi')
0070 process.l1demongct.VerboseFlag = cms.untracked.int32(0)
0071 process.l1demongct.DataEmulCompareSource = cms.InputTag("l1compare")
0072 process.l1demongct.HistFile = cms.untracked.string('gctDqm_testAnalysis.root')
0073 process.l1demongct.disableROOToutput = cms.untracked.bool( False )
0074
0075 process.defaultPath = cms.Sequence (
0076 process.l1GctHwDigis *
0077 process.valGctDigis *
0078 process.l1compare *
0079 process.l1trct *
0080 process.l1tgct *
0081 process.l1demongct)
0082
0083 process.p = cms.Path(process.defaultPath)
0084
0085 process.output = cms.OutputModule( "PoolOutputModule",
0086 outputCommands = cms.untracked.vstring (
0087 "drop *",
0088 "keep *_*_*_testAnalysis"
0089 ),
0090 fileName = cms.untracked.string( "run68288_10M_V01-15-16.root" )
0091 )
0092
0093