File indexing completed on 2024-04-06 12:20:37
0001
0002 import sys
0003
0004
0005 import FWCore.ParameterSet.Config as cms
0006
0007 process = cms.Process('L1')
0008
0009
0010 process.load('Configuration.StandardSequences.Services_cff')
0011 process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0012 process.load('FWCore.MessageService.MessageLogger_cfi')
0013 process.load('Configuration.EventContent.EventContent_cff')
0014 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0015 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0016 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0017 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0018 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0019 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0020
0021 process.maxEvents = cms.untracked.PSet(
0022 input = cms.untracked.int32(10)
0023 )
0024
0025
0026 process.source = cms.Source("PoolSource",
0027 secondaryFileNames = cms.untracked.vstring(),
0028 fileNames = cms.untracked.vstring("/store/relval/CMSSW_7_1_0/RelValTTbar_13/GEN-SIM-DIGI-RAW-HLTDEBUG/PU50ns_POSTLS171_V16-v1/00000/0EF13A80-F2FE-E311-9565-003048FFD7D4.root")
0029 )
0030
0031 process.options = cms.untracked.PSet(
0032
0033 )
0034
0035
0036 process.configurationMetadata = cms.untracked.PSet(
0037 version = cms.untracked.string('$Revision: 1.19 $'),
0038 annotation = cms.untracked.string('l1 nevts:1'),
0039 name = cms.untracked.string('Applications')
0040 )
0041
0042
0043
0044 process.RECOSIMoutput = cms.OutputModule("PoolOutputModule",
0045 splitLevel = cms.untracked.int32(0),
0046 eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0047 outputCommands = cms.untracked.vstring("keep *"),
0048 fileName = cms.untracked.string('L1.root'),
0049 dataset = cms.untracked.PSet(
0050 filterName = cms.untracked.string(''),
0051 dataTier = cms.untracked.string('')
0052 )
0053 )
0054
0055
0056
0057
0058 from Configuration.AlCa.GlobalTag import GlobalTag
0059 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0060
0061
0062 process.MessageLogger = cms.Service(
0063 "MessageLogger",
0064 destinations = cms.untracked.vstring(
0065 'detailedInfo',
0066 'critical'
0067 ),
0068 detailedInfo = cms.untracked.PSet(
0069 threshold = cms.untracked.string('DEBUG')
0070 ),
0071 debugModules = cms.untracked.vstring(
0072 'l1tCaloStage2Layer1Digis',
0073 'l1tCaloStage2Digis'
0074 )
0075 )
0076
0077
0078 process.load('L1Trigger.L1TGlobal.StableParametersConfig_cff')
0079 process.load('L1Trigger.L1TGlobal.TriggerMenuXml_cfi')
0080 process.TriggerMenuXml.TriggerMenuLuminosity = 'startup'
0081 process.TriggerMenuXml.DefXmlFile = 'L1Menu_Reference_2014.xml'
0082
0083 process.load('L1Trigger.L1TGlobal.TriggerMenuConfig_cff')
0084 process.es_prefer_l1GtParameters = cms.ESPrefer('l1t::TriggerMenuXmlProducer','TriggerMenuXml')
0085
0086 process.simL1uGtDigis = cms.EDProducer("L1TGlobalProducer",
0087 ProduceL1GtObjectMapRecord = cms.bool(True),
0088 AlgorithmTriggersUnmasked = cms.bool(False),
0089 EmulateBxInEvent = cms.int32(1),
0090 L1DataBxInEvent = cms.int32(1),
0091 AlgorithmTriggersUnprescaled = cms.bool(False),
0092 ProduceL1GtDaqRecord = cms.bool(True),
0093 GmtInputTag = cms.InputTag(""),
0094 caloInputTag = cms.InputTag("caloStage2Digis"),
0095 AlternativeNrBxBoardDaq = cms.uint32(0),
0096 BstLengthBytes = cms.int32(-1),
0097 Verbosity = cms.untracked.int32(0)
0098 )
0099
0100 process.dumpGTRecord = cms.EDAnalyzer("l1t::GtRecordDump",
0101 egInputTag = cms.InputTag("caloStage2Digis"),
0102 muInputTag = cms.InputTag(""),
0103 tauInputTag = cms.InputTag("caloStage2Digis"),
0104 jetInputTag = cms.InputTag("caloStage2Digis"),
0105 etsumInputTag = cms.InputTag("caloStage2Digis"),
0106 uGtRecInputTag = cms.InputTag("simL1uGtDigis"),
0107 uGtAlgInputTag = cms.InputTag("simL1uGtDigis"),
0108 uGtExtInputTag = cms.InputTag("simL1uGtDigis"),
0109 bxOffset = cms.int32(0),
0110 minBx = cms.int32(0),
0111 maxBx = cms.int32(0),
0112 minBxVec = cms.int32(0),
0113 maxBxVec = cms.int32(0),
0114 dumpGTRecord = cms.bool(True),
0115 dumpVectors = cms.bool(False),
0116 tvFileName = cms.string( "uGT_TestVector.txt")
0117 )
0118
0119
0120
0121
0122 process.load('Configuration.StandardSequences.RawToDigi_cff')
0123
0124
0125 process.load('L1Trigger.L1TCalorimeter.L1TCaloStage2_PPFromRaw_cff')
0126 process.load('L1Trigger.L1TCalorimeter.l1tStage2CaloAnalyzer_cfi')
0127
0128
0129 process.load("CommonTools.UtilAlgos.TFileService_cfi")
0130 process.TFileService.fileName = cms.string('l1t.root')
0131
0132
0133 process.L1simulation_step = cms.Path(
0134 process.ecalDigis
0135 +process.hcalDigis
0136 +process.L1TCaloStage2_PPFromRaw
0137 +process.simL1uGtDigis
0138 +process.dumpGTRecord
0139 )
0140
0141 process.RECOSIMoutput_step = cms.EndPath(process.RECOSIMoutput)
0142
0143
0144 process.schedule = cms.Schedule(process.L1simulation_step,
0145 process.RECOSIMoutput_step)
0146