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.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.stage2MP7BufferRaw_cfi')
0078 process.stage2Raw.nFramesOffset    = cms.untracked.int32(0)
0079 process.stage2Raw.nFramesLatency   = cms.untracked.int32(0)
0080 process.stage2Raw.rxFile = cms.untracked.string("stage2_rx_summary.txt")
0081 process.stage2Raw.txFile = cms.untracked.string("stage2_tx_summary.txt")
0082 
0083 # dump raw data
0084 process.dumpRaw = cms.EDAnalyzer( 
0085     "DumpFEDRawDataProduct",
0086     label = cms.untracked.string("stage2Raw"),
0087     feds = cms.untracked.vint32 ( 1300 ),
0088     dumpPayload = cms.untracked.bool ( True )
0089 )
0090 
0091 # raw to digi
0092 process.load('EventFilter.L1TRawToDigi.caloStage2Digis_cfi')
0093 process.caloStage2Digis.InputLabel = cms.InputTag('stage2Raw')
0094 
0095 
0096 process.load('L1Trigger.L1TCalorimeter.l1tStage2CaloAnalyzer_cfi')
0097 process.l1tStage2CaloAnalyzer.towerToken = cms.InputTag("caloStage2Digis","CaloTower")
0098 process.l1tStage2CaloAnalyzer.clusterToken = cms.InputTag("caloStage2Digis")
0099 process.l1tStage2CaloAnalyzer.egToken = cms.InputTag("caloStage2Digis","EGamma")
0100 process.l1tStage2CaloAnalyzer.tauToken = cms.InputTag("caloStage2Digis","Tau")
0101 process.l1tStage2CaloAnalyzer.jetToken = cms.InputTag("caloStage2Digis","Jet")
0102 process.l1tStage2CaloAnalyzer.etSumToken = cms.InputTag("caloStage2Digis","EtSum")
0103 
0104 # Path and EndPath definitions
0105 process.path = cms.Path(
0106     process.stage2Raw
0107     +process.dumpRaw
0108     +process.caloStage2Digis
0109     +process.l1tStage2CaloAnalyzer
0110 )
0111 
0112 process.out = cms.EndPath(
0113     process.output
0114 )