Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:11:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 # Include the RandomNumberGeneratorService definition
0005 process.load("IOMC.RandomEngine.IOMC_cff")
0006 
0007 process.load("Configuration.Generator.QCD_Pt_50_80_cfi")
0008 
0009 #  include "FastSimulation/Configuration/data/QCDpt600-800.cfi"
0010 # Generate Minimum Bias Events
0011 #  include "FastSimulation/Configuration/data/MinBiasEvents.cfi"
0012 # Generate muons with a flat pT particle gun, and with pT=10.
0013 # include "FastSimulation/Configuration/data/FlatPtMuonGun.cfi"
0014 # replace FlatRandomPtGunProducer.PGunParameters.PartID={130}
0015 # Generate di-electrons with pT=35 GeV
0016 # include "FastSimulation/Configuration/data/DiElectrons.cfi"
0017 # Famos sequences (no HLT here)
0018 process.load("FastSimulation.Configuration.CommonInputsFake_cff")
0019 
0020 #  
0021 # module o1 = PoolOutputModule { 
0022 # untracked string fileName = "MyFirstFamosFile.root" 
0023 # untracked vstring outputCommands = {
0024 # "keep *",
0025 # "drop *_mix_*_*"
0026 # }
0027 # }
0028 # endpath outpath = { o1 }
0029 # 
0030 # Keep the logging output to a nice level #
0031 process.load("FWCore.MessageService.MessageLogger_cfi")
0032 
0033 process.maxEvents = cms.untracked.PSet(
0034     input = cms.untracked.int32(1000)
0035 )
0036 process.jetComp = cms.EDAnalyzer("JetComparison",
0037     MinEnergy = cms.double(50.0),
0038 )
0039 
0040 process.TFileService = cms.Service("TFileService",
0041     fileName = cms.string('fastjet50-120_fast.root')
0042 )
0043 
0044 process.Timing = cms.Service("Timing")
0045 
0046 process.p1 = cms.Path(process.famosWithEverything*process.jetComp)
0047 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
0048 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0049 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0050 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
0051 process.fastSimProducer.SimulateCalorimetry = True
0052 for layer in process.fastSimProducer.detectorDefinition.BarrelLayers: 
0053     layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0054 for layer in process.fastSimProducer.detectorDefinition.ForwardLayers: 
0055     layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0056 process.MessageLogger.cerr.enable = False
0057 process.MessageLogger.files.detailedInfo = dict(extension = '.txt')
0058 
0059