File indexing completed on 2024-04-06 12:19:55
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 import FWCore.ParameterSet.Config as cms
0012
0013
0014 process = cms.Process("TEST")
0015
0016 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0017
0018
0019 from Configuration.StandardSequences.MagneticField_cff import *
0020 from Configuration.StandardSequences.Geometry_cff import *
0021 from Configuration.StandardSequences.GeometryDB_cff import *
0022
0023
0024 from L1Trigger.Configuration.L1CaloEmulator_cff import *
0025
0026
0027 process.source = cms.Source("PoolSource",
0028 fileNames = cms.untracked.vstring("file:single_e_pt35.root")
0029 )
0030
0031 maxEvents = cms.untracked.PSet ( input = cms.untracked.int32(10) )
0032
0033 test = cms.EDAnalyzer("L1GctTestAnalyzer",
0034 rawInput = cms.untracked.InputTag("none"),
0035 emuInput = cms.untracked.InputTag("gctDigis"),
0036 outFile = cms.untracked.string("writeGctDigis.txt"),
0037 doHardware = cms.untracked.bool(False),
0038 doEmulated = cms.untracked.bool(True),
0039 doRctEm = cms.untracked.bool(False),
0040 doInternEm = cms.untracked.bool(False),
0041 doEm = cms.untracked.bool(True),
0042 doJets = cms.untracked.bool(False),
0043 rctEmMinRank = cms.untracked.uint32(0)
0044 )
0045
0046
0047 outputEvents = cms.OutputModule("PoolOutputModule",
0048 outputCommands = cms.untracked.vstring (
0049 "drop *",
0050 "keep *_ecalTriggerPrimitiveDigis_*_*",
0051 "keep *_hcalTriggerPrimitiveDigis_*_*",
0052 "keep *_rctDigis_*_*",
0053 "keep *_gctDigis_*_*"
0054 ),
0055 fileName = cms.untracked.string("writeGctDigis.root")
0056 )
0057
0058 process.p = cms.Path(L1CaloEmulator*test)
0059
0060 process.outpath = cms.EndPath(outputEvents)
0061
0062
0063