Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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("FastSimulation.Configuration.QCDpt50_120_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     outputFile = cms.untracked.string('fastjet50-120_fast.root')
0039 )
0040 
0041 process.Timing = cms.Service("Timing")
0042 
0043 process.p1 = cms.Path(process.famosWithEverything*process.jetComp)
0044 process.famosPileUp.PileUpSimulator.averageNumber = 0.0
0045 process.load("Configuration.StandardSequences.MagneticField_40T_cff")
0046 #process.load("Configuration.StandardSequences.MagneticField_38T_cff")
0047 process.VolumeBasedMagneticFieldESProducer.useParametrizedTrackerField = True
0048 process.fastSimProducer.SimulateCalorimetry = True
0049 for layer in process.fastSimProducer.detectorDefinition.BarrelLayers: 
0050     layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0051 for layer in process.fastSimProducer.detectorDefinition.ForwardLayers: 
0052     layer.interactionModels = cms.untracked.vstring("pairProduction", "nuclearInteraction", "bremsstrahlung", "energyLoss", "multipleScattering", "trackerSimHits")
0053 process.MessageLogger.cerr.enable = False
0054 process.MessageLogger.files.detailedInfo = dict(extension = '.txt')
0055 
0056