File indexing completed on 2023-03-17 11:14:09
0001
0002
0003
0004
0005
0006
0007
0008
0009 import FWCore.ParameterSet.Config as cms
0010 process = cms.Process('L1')
0011
0012 process.maxEvents = cms.untracked.PSet(input=cms.untracked.int32(50))
0013
0014 readFiles = cms.untracked.vstring('file:Raw.root')
0015 secFiles = cms.untracked.vstring()
0016 process.source = cms.Source('PoolSource',
0017 fileNames=readFiles,
0018 secondaryFileNames=secFiles
0019 )
0020
0021
0022 process.load('Configuration/StandardSequences/Services_cff')
0023 process.load('Configuration/StandardSequences/GeometryIdeal_cff')
0024 process.load('Configuration/StandardSequences/MagneticField_38T_cff')
0025 process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
0026 process.load('Configuration/EventContent/EventContent_cff')
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039 process.GlobalTag.globaltag = 'GR10_H_V4::All'
0040
0041
0042
0043
0044
0045
0046
0047 from CondCore.DBCommon.CondDBSetup_cfi import CondDBSetup
0048
0049 process.l1conddb = cms.ESSource("PoolDBESSource",
0050 CondDBSetup,
0051 connect = cms.string("sqlite_file:csctf.db"),
0052 toGet = cms.VPSet(cms.PSet(record = cms.string('L1MuCSCTFConfigurationRcd'),
0053 tag = cms.string('L1MuCSCTFConfiguration_IDEAL')
0054 )
0055 )
0056
0057
0058
0059
0060
0061 )
0062
0063
0064 process.es_prefer_l1conddb = cms.ESPrefer("PoolDBESSource","l1conddb")
0065
0066
0067 process.load('FWCore.MessageService.MessageLogger_cfi')
0068 process.MessageLogger.debugModules = ['*']
0069
0070 process.MessageLogger.cerr.enable = False
0071 process.MessageLogger.cout = cms.untracked.PSet(
0072 enable = cms.untracked.bool(True),
0073 threshold = cms.untracked.string('INFO'),
0074 DEBUG=cms.untracked.PSet(
0075 limit=cms.untracked.int32(-1)
0076 ),
0077 INFO=cms.untracked.PSet(
0078 limit=cms.untracked.int32(-1)
0079 ),
0080 WARNING=cms.untracked.PSet(
0081 limit=cms.untracked.int32(-1)
0082 ),
0083 ERROR=cms.untracked.PSet(
0084 limit=cms.untracked.int32(-1)
0085 )
0086 )
0087
0088
0089 process.output = cms.OutputModule("PoolOutputModule",
0090 outputCommands = process.FEVTDEBUGHLTEventContent.outputCommands,
0091 fileName = cms.untracked.string('L1EmulatorFromRaw.root'),
0092 dataset = cms.untracked.PSet(dataTier = cms.untracked.string("\'GEN-SIM-DIGI-RAW-HLTDEBUG\'"),
0093 filterName = cms.untracked.string('')
0094 )
0095 )
0096
0097 process.out_step = cms.EndPath(process.output)
0098
0099
0100
0101
0102
0103 process.load("EventFilter.CSCTFRawToDigi.csctfunpacker_cfi")
0104 process.load("EventFilter.DTTFRawToDigi.dttfunpacker_cfi")
0105
0106
0107
0108
0109
0110
0111
0112
0113
0114 import L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi
0115 process.simCsctfTrackDigis = L1Trigger.CSCTrackFinder.csctfTrackDigis_cfi.csctfTrackDigis.clone()
0116 process.simCsctfTrackDigis.SectorReceiverInput = cms.untracked.InputTag("csctfunpacker")
0117 process.simCsctfTrackDigis.DTproducer = cms.untracked.InputTag("dttfunpacker")
0118 process.simCsctfTrackDigis.SectorProcessor.initializeFromPSet = cms.bool(False)
0119
0120
0121
0122
0123
0124
0125 process.p = cms.Path( process.csctfunpacker
0126 *process.dttfunpacker
0127 *process.simCsctfTrackDigis)