Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:22:46

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('SimGeneral.HepPDTESSource.pythiapdt_cfi')
0013 process.load('FWCore.MessageService.MessageLogger_cfi')
0014 process.load('Configuration.EventContent.EventContent_cff')
0015 process.load('SimGeneral.MixingModule.mixNoPU_cfi')
0016 process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
0017 process.load('Configuration.Geometry.GeometryDB_cff')
0018 process.load('Configuration.StandardSequences.MagneticField_38T_cff')
0019 process.load('Configuration.StandardSequences.Generator_cff')
0020 process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi')
0021 process.load('GeneratorInterface.Core.genFilterSummary_cff')
0022 process.load('Configuration.StandardSequences.SimIdeal_cff')
0023 process.load('Configuration.StandardSequences.Digi_cff')
0024 process.load('Configuration.StandardSequences.SimL1Emulator_cff')
0025 process.load('Configuration.StandardSequences.EndOfProcess_cff')
0026 process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
0027 
0028 process.maxEvents = cms.untracked.PSet(
0029     input = cms.untracked.int32(22)
0030 )
0031 
0032 # Input source
0033 process.source = cms.Source("EmptySource")
0034 
0035 process.options = cms.untracked.PSet(
0036 
0037 )
0038 
0039 # Production Info
0040 process.configurationMetadata = cms.untracked.PSet(
0041     version = cms.untracked.string('$Revision: 1.19 $'),
0042     annotation = cms.untracked.string('SingleElectronPt10_cfi.py nevts:1'),
0043     name = cms.untracked.string('Applications')
0044 )
0045 
0046 # Output definition
0047 
0048 process.output = cms.OutputModule("PoolOutputModule",
0049     splitLevel = cms.untracked.int32(0),
0050     eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
0051     outputCommands = cms.untracked.vstring("keep *",
0052                        "drop *_mix_*_*"),
0053     fileName = cms.untracked.string('SingleElectronPt10_cfi_py_GEN_SIM_DIGI_L1.root'),
0054     dataset = cms.untracked.PSet(
0055         filterName = cms.untracked.string(''),
0056         dataTier = cms.untracked.string('')
0057     ),
0058     SelectEvents = cms.untracked.PSet(
0059         SelectEvents = cms.vstring('generation_step')
0060     )
0061 )
0062 
0063 # Additional output definition
0064 
0065 # Other statements
0066 process.genstepfilter.triggerConditions=cms.vstring("generation_step")
0067 from Configuration.AlCa.GlobalTag import GlobalTag
0068 process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:startup', '')
0069 
0070 process.generator = cms.EDProducer("FlatRandomPtGunProducer",
0071     PGunParameters = cms.PSet(
0072         MaxPt = cms.double(100.),
0073         MinPt = cms.double(20.),
0074         PartID = cms.vint32(11),
0075         MaxEta = cms.double(2.5),
0076         MaxPhi = cms.double(3.14159265359),
0077         MinEta = cms.double(-2.5),
0078         MinPhi = cms.double(-3.14159265359)
0079     ),
0080     Verbosity = cms.untracked.int32(0),
0081     psethack = cms.string('single electron pt 25'),
0082     AddAntiParticle = cms.bool(True),
0083     firstRun = cms.untracked.uint32(1)
0084 )
0085 
0086 # enable debug message logging for our modules
0087 process.MessageLogger = cms.Service(
0088     "MessageLogger",
0089     destinations   = cms.untracked.vstring(
0090     'detailedInfo',
0091     'critical'
0092     ),
0093     detailedInfo   = cms.untracked.PSet(
0094     threshold  = cms.untracked.string('DEBUG') 
0095     ),
0096     debugModules = cms.untracked.vstring(
0097     'caloStage2TowerDigis',
0098     'caloStage2Digis'
0099     )
0100 )
0101 
0102 # TTree output file
0103 process.load("CommonTools.UtilAlgos.TFileService_cfi")
0104 process.TFileService.fileName = cms.string('l1t.root')
0105 
0106 # upgrade calo stage 2
0107 process.load('L1Trigger.L1TCalorimeter.caloStage2Params_cfi')
0108 process.load('L1Trigger.L1TCalorimeter.L1TCaloStage2_cff')
0109 process.caloStage2Layer1Digis.ecalToken = cms.InputTag("simEcalTriggerPrimitiveDigis")
0110 process.caloStage2Layer1Digis.hcalToken = cms.InputTag("simHcalTriggerPrimitiveDigis")
0111 
0112 process.load('L1Trigger.L1TCalorimeter.l1tStage2InputPatternWriter_cfi')
0113 process.l1tStage2InputPatternWriter.filename = cms.untracked.string("pattern-SingleE25.txt")
0114 
0115 # Path and EndPath definitions
0116 process.generation_step = cms.Path(process.pgen)
0117 process.simulation_step = cms.Path(process.psim)
0118 process.digitisation_step = cms.Path(process.pdigi)
0119 process.L1simulation_step = cms.Path(process.SimL1Emulator
0120                      +process.L1TCaloStage2
0121                      +process.l1tStage2InputPatternWriter)
0122 process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
0123 process.endjob_step = cms.EndPath(process.endOfProcess)
0124 process.output_step = cms.EndPath(process.output)
0125 
0126 # Schedule definition
0127 process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.simulation_step,process.digitisation_step,process.L1simulation_step,process.endjob_step,process.output_step)