Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #InputFile = "file:/afs/cern.ch/user/z/zhangj/private/CaloLayer2Emulatior/CMSSW_7_6_0_pre4/src/L1Trigger/L1TCalorimeter/test/l1tCalo_2016_simEDM.root"
0004 InputFile = "file:/afs/cern.ch/user/z/zhangj/private/DQM/CMSSW_7_6_0_pre7/src/L1Trigger/L1TCalorimeter/test/l1tCalo_2016_simEDM_260627.root"
0005 
0006 OutputFile="comparared.root"
0007 nevts=-1
0008 
0009 process = cms.Process("DQM")
0010 
0011 process.load("Configuration.StandardSequences.RawToDigi_cff")
0012 
0013 process.load("L1Trigger.HardwareValidation.L1ComparatorRun2_cfi")
0014 
0015 process.load("FWCore.MessageService.MessageLogger_cfi")
0016 process.MessageLogger.cerr.FwkReport.reportEvery = 1
0017 
0018 process.options = cms.untracked.PSet(
0019     wantSummary = cms.untracked.bool(True)
0020 )
0021 
0022 process.source = cms.Source("PoolSource",
0023     fileNames = cms.untracked.vstring(InputFile )
0024 )
0025 process.maxEvents = cms.untracked.PSet(
0026     input = cms.untracked.int32( nevts )
0027 )
0028 
0029 process.out = cms.OutputModule("PoolOutputModule",
0030     outputCommands = cms.untracked.vstring(
0031         'keep *',
0032     ),
0033     fileName = cms.untracked.string(OutputFile)
0034 )
0035 
0036 process.o = cms.EndPath( process.out )
0037 
0038 #process.unpacker = cms.Path( process.caloStage1Digis +  process.l1GctHwDigis)
0039 process.comparator = cms.Path( process.caloStage2Digis + process.l1comparatorResultDigis)
0040 process.schedule = cms.Schedule(process.comparator,
0041                                 process.o)