Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:26:09

0001 # Auto generated configuration file
0002 # using: 
0003 # Revision: 1.19 
0004 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v 
0005 # with command line options: SingleElectronPt10_cfi.py -s GEN,SIM,DIGI,L1 --pileup=NoPileUp --geometry DB --conditions=auto:startup -n 1 --no_exec
0006 import FWCore.ParameterSet.Config as cms
0007 
0008 process = cms.Process('L1')
0009 
0010 # import of standard configurations
0011 process.load('Configuration.StandardSequences.Services_cff')
0012 process.load('FWCore.MessageService.MessageLogger_cfi')
0013 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0014 process.load('Configuration.Geometry.GeometryDB_cff')
0015 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0016 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0017 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0018 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0019 
0020 process.maxEvents = cms.untracked.PSet(
0021     input = cms.untracked.int32(10)
0022 )
0023 
0024 # Input source
0025 process.source = cms.Source("EmptySource")
0026 
0027 process.options = cms.untracked.PSet(
0028     SkipEvent = cms.untracked.vstring('ProductNotFound')
0029 )
0030 
0031 
0032 # Output definition
0033 
0034 process.output = cms.OutputModule(
0035     "PoolOutputModule",
0036     splitLevel = cms.untracked.int32(0),
0037     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0038     outputCommands = cms.untracked.vstring("keep *",
0039                        "drop *_mix_*_*"),
0040     fileName = cms.untracked.string('L1T_EDM_RCT.root'),
0041     dataset = cms.untracked.PSet(
0042         filterName = cms.untracked.string(''),
0043         dataTier = cms.untracked.string('')
0044     )
0045 )
0046 
0047 # Additional output definition
0048 
0049 # Other statements
0050 from Configuration.AlCa.GlobalTag import GlobalTag
0051 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0052 
0053 # enable debug message logging for our modules
0054 process.MessageLogger = cms.Service(
0055     "MessageLogger",
0056     threshold  = cms.untracked.string('DEBUG'),
0057     categories = cms.untracked.vstring('L1T'),
0058 #    l1t   = cms.untracked.PSet(
0059 #   threshold  = cms.untracked.string('DEBUG')
0060 #    ),
0061     debugModules = cms.untracked.vstring('*'),
0062 #        'stage1Raw',
0063 #        'caloStage1Digis'
0064 #    ),
0065 #    cout = cms.untracked.PSet(
0066 #    )
0067 )
0068 
0069 # TTree output file
0070 process.load("CommonTools.UtilAlgos.TFileService_cfi")
0071 process.TFileService.fileName = cms.string('l1t.root')
0072 
0073 
0074 # user stuff
0075 
0076 # raw data from MP card
0077 process.load('EventFilter.L1TRawToDigi.stage1MP7BufferRaw_cfi')
0078 process.stage1Raw.fedId = cms.untracked.int32(1300)
0079 process.stage1Raw.boardId = cms.untracked.vint32(0x100D)
0080 process.stage1Raw.nFramesOffset    = cms.untracked.vuint32(0)
0081 process.stage1Raw.nFramesLatency   = cms.untracked.vuint32(90)
0082 process.stage1Raw.rxFile = cms.untracked.string("stage1_rx_summary.txt")
0083 process.stage1Raw.txFile = cms.untracked.string("stage1_tx_summary.txt")
0084 
0085 process.stage1RawDelayed = process.stage1Raw.clone()
0086 process.stage1RawDelayed.boardId = cms.untracked.vint32(0x100E)
0087 process.stage1RawDelayed.fedId = cms.untracked.int32(1301)
0088 process.stage1RawDelayed.nFramesOffset = cms.untracked.vuint32(0)
0089 
0090 process.load("EventFilter.RawDataCollector.rawDataCollector_cfi")
0091 process.rawDataCollector.RawCollectionList = cms.VInputTag(
0092         cms.InputTag("stage1Raw"),
0093         cms.InputTag("stage1RawDelayed"))
0094 
0095 
0096 # dump raw data
0097 process.dumpRaw = cms.EDAnalyzer( 
0098     "DumpFEDRawDataProduct",
0099     label = cms.untracked.string("rawDataCollector"),
0100     feds = cms.untracked.vint32 ( 1300, 1301 ),
0101     dumpPayload = cms.untracked.bool ( True )
0102 )
0103 
0104 # raw to digi
0105 process.load('EventFilter.L1TRawToDigi.caloStage1Digis_cfi')
0106 del process.caloStage1Digis.FedId
0107 process.caloStage1Digis.FedIds = cms.vint32(1300, 1301)
0108 
0109 
0110 process.load('L1Trigger.L1TCalorimeter.l1tStage2CaloAnalyzer_cfi')
0111 process.l1tStage2CaloAnalyzer.towerToken = cms.InputTag("None")
0112 process.l1tStage2CaloAnalyzer.clusterToken = cms.InputTag("None")
0113 process.l1tStage2CaloAnalyzer.egToken = cms.InputTag("caloStage1Digis")
0114 process.l1tStage2CaloAnalyzer.tauToken = cms.InputTag("caloStage1Digis:rlxTaus")
0115 process.l1tStage2CaloAnalyzer.jetToken = cms.InputTag("caloStage1Digis")
0116 process.l1tStage2CaloAnalyzer.etSumToken = cms.InputTag("caloStage1Digis")
0117 
0118 # Path and EndPath definitions
0119 process.path = cms.Path(
0120     process.stage1Raw
0121     +process.stage1RawDelayed
0122     +process.rawDataCollector
0123     +process.dumpRaw
0124     +process.caloStage1Digis
0125     +process.l1tStage2CaloAnalyzer
0126 )
0127 
0128 process.out = cms.EndPath(
0129     process.output
0130 )