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(1)
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("MessageLogger",
0055     debugModules = cms.untracked.vstring('*'),
0056     threshold = cms.untracked.string('DEBUG')
0057 )
0058 
0059 # TTree output file
0060 process.load("CommonTools.UtilAlgos.TFileService_cfi")
0061 process.TFileService.fileName = cms.string('l1t.root')
0062 
0063 
0064 # user stuff
0065 
0066 # raw data from MP card
0067 process.load('EventFilter.L1TRawToDigi.amcDumpToRaw_cfi')
0068 
0069 # dump raw data
0070 process.dumpRaw = cms.EDAnalyzer( 
0071     "DumpFEDRawDataProduct",
0072     label = cms.untracked.string("amcDumpToRaw"),
0073     feds = cms.untracked.vint32 ( 1352 ),
0074     dumpPayload = cms.untracked.bool ( True )
0075 )
0076 
0077 # raw to digi
0078 process.load('EventFilter.L1TRawToDigi.caloStage1Digis_cfi')
0079 process.caloStage1Digis.InputLabel = cms.InputTag('amcDumpToRaw')
0080 
0081 # Path and EndPath definitions
0082 process.path = cms.Path(
0083     process.amcDumpToRaw
0084     +process.dumpRaw
0085     +process.caloStage1Digis
0086 )
0087 
0088 process.out = cms.EndPath(
0089     process.output
0090 )